================
@@ -183,27 +181,22 @@ void DebugNamesDWARFIndex::GetCompleteObjCClass(
     llvm::function_ref<bool(DWARFDIE die)> callback) {
   // Keep a list of incomplete types as fallback for when we don't find the
   // complete type.
-  DIEArray incomplete_types;
+  std::vector<DWARFDIE> incomplete_types;
----------------
labath wrote:

This can force the parsing early parsing of some units (e.g., if we run into 
many incomplete types, followed by a complete definition). I don't know how 
often this happens, but if you think that's an issue, we can fix it by storing 
the incomplete types as a (DWARFUnit *, die_offset) pair here.

https://github.com/llvm/llvm-project/pull/93296
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to