[Lldb-commits] [lldb] [lldb/DWARF] Unique enums parsed from declarations (PR #96751)

Zequan Wu via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 26 10:51:47 PDT 2024


================
@@ -1798,6 +1805,13 @@ DWARFASTParserClang::ParseStructureLikeDIE(const SymbolContext &sc,
   }
 
   if (def_die) {
+    if (auto [it, inserted] = dwarf->GetDIEToType().try_emplace(
----------------
ZequanWu wrote:

This part seems unnecessary as `UniqueDWARFASTType` map already handles it, right?

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


More information about the lldb-commits mailing list