[Lldb-commits] [lldb] Improve performance of .debug_names lookups when DW_IDX_parent attributes are used (PR #91808)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue May 21 03:25:06 PDT 2024
================
@@ -83,6 +83,10 @@ bool DebugNamesDWARFIndex::ProcessEntry(
DWARFDIE die = dwarf.GetDIE(*ref);
if (!die)
return true;
+ // Watch out for forward declarations that appear in the .debug_names tables
+ // only due to being there for a DW_IDX_parent.
----------------
labath wrote:
```suggestion
// Clang erroneously emits index entries for declaration DIEs in case when the
// definition is in a type unit (llvm.org/pr77696). Weed those out.
```
https://github.com/llvm/llvm-project/pull/91808
More information about the lldb-commits
mailing list