[Lldb-commits] [lldb] Reapply [lldb][DWARF] Delay struct/class/union definition DIE searching when parsing declaration DIEs. (PR #92328)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 6 09:18:51 PDT 2024


================
@@ -2345,11 +2345,6 @@ bool DWARFASTParserClang::CompleteTypeFromDWARF(const DWARFDIE &die,
 
   if (!die)
     return false;
-  ParsedDWARFTypeAttributes attrs(die);
----------------
labath wrote:

In case anyone's wondering, Putting this check back in would prevent the crash from 7fdbc30b445286f03203e16d0be067c25c6f0df0, but it would not actually make the code correct -- lldb would now just say the class has no definition instead of crashing.

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


More information about the lldb-commits mailing list