[Lldb-commits] [lldb] [lldb] Fix crash missing MSInheritanceAttr on CXXRecordDecl with DWARF on Windows (PR #112928)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 22 02:51:58 PDT 2024


Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/112928 at github.com>


https://github.com/Michael137 commented:

`TypeSystemClang.cpp` change LGTM. Though It'd be nice if we added the same test-coverage also for non-MSVC (only found shell tests for PDB, and 1 API test that didn't enumerate all the cases).

I guess a follow-up question is how to set the `MSInheritanceAttr`. Infer it from the class DIE? Or add a new DWARF attribute? Also, whether we still want to issue a warning when debugging using DWARF and the MS ABI (like suggested in https://reviews.llvm.org/D130942).

https://github.com/llvm/llvm-project/pull/112928


More information about the lldb-commits mailing list