Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26247

LLVM-MinGW's lldb ABI detected as MSVC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 5.0.0
    • Debugger
    • None
    • Windows

      By using the Release 20210816 with LLVM 13.0.0 RC1 · mstorsjo/llvm-mingw (github.com) I created a LLVM MinGW Qt 5.15.2 kit which I used to build and debug Qt Creator.

      At first glance it looked like the Kit was usable in Qt Creator to debug Qt Creator itself, but then I've encountered an issue where the debugged Qt Creator disappears, due to a lldb.exe crash.

      In the Debuggers settings lldb.exe has a "x86-windows-msvc2015-pe-64bit" entry for ABIs, and in the crash of the debugger log I can see:

       eERROR: Lldb stderr:  #0 0x00007ffab4913933 clang::CreateMicrosoftCXXABI(clang::ASTContext&) (C:\llvm-mingw\bin\libclang-cpp.dll+0x563933)
      e #1 0x00007ffab45e0e95 clang::ASTContext::getTypeInfoImpl(clang::Type const*) const (C:\llvm-mingw\bin\libclang-cpp.dll+0x230e95)
      e #2 0x00007ffab45e225b clang::ASTContext::getTypeInfo(clang::Type const*) const (C:\llvm-mingw\bin\libclang-cpp.dll+0x23225b)
      e #3 0x00007ffadae4e17a PyInit__lldb (C:\llvm-mingw\bin\liblldb.dll+0x6be17a)
      

        For Gerrit Dashboard: QTCREATORBUG-26247
        # Subject Branch Project Status CR V

            hjk hjk
            cadam Cristian Adam
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes