================
@@ -1798,6 +1805,13 @@ DWARFASTParserClang::ParseStructureLikeDIE(const
SymbolContext &sc,
}
if (def_die) {
+ if (auto [it, inserted] = dwarf->GetDIEToType().try_emplace(
----------------
labath wrote:
For uniqueness, yes the unique map should already catch that (though, like
we've seen, it can easily have bugs). However, it's still useful for preventing
(infinite) recursion.
https://github.com/llvm/llvm-project/pull/96751
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits