================
@@ -2306,6 +2345,11 @@ bool DWARFASTParserClang::CompleteTypeFromDWARF(const
DWARFDIE &die,
if (!die)
return false;
+ ParsedDWARFTypeAttributes attrs(die);
----------------
ZequanWu wrote:
This extra check was added in https://github.com/llvm/llvm-project/pull/91799
to ensure we don't accidentally parse declaration DIE, which was reported at
https://github.com/llvm/llvm-project/pull/90663#issuecomment-2105164917.
By checking `ParsedDWARFTypeAttributes`'s constructor, looks like it just
parses the DIE's attributes, iterates through them, and updates its fields
accordingly.
https://github.com/llvm/llvm-project/pull/92328
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits