[Lldb-commits] [lldb] [lldb/DWARF] Bypass the compres^Wconstruction of DIERefs in debug_names (PR #93296)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri May 24 04:28:21 PDT 2024
================
@@ -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
More information about the lldb-commits
mailing list