[Lldb-commits] [lldb] Improve performance of .debug_names lookups when DW_IDX_parent attributes are used (PR #91808)
Alexander Yermolovich via lldb-commits
lldb-commits at lists.llvm.org
Tue May 28 18:03:43 PDT 2024
ayermolo wrote:
I have a follow up question.
For case talked about here earlier:
"namespace A { namespace B { struct State { class InnerState{}; }; } }
A::B::State::InnerState get_state() { return A::B::State::InnerState(); }"
After David fix clang generates:
```
Name 3 {
Hash: 0xE0CDC6A2
String: 0x00000018 "InnerState"
Entry @ 0x10b {
Abbrev: 0x3
Tag: DW_TAG_class_type
DW_IDX_type_unit: 0x01
DW_IDX_die_offset: 0x00000030
}
}
```
Would it affect LLDB negatively if BOLT generates:
```
Name 3 {
Hash: 0xE0CDC6A2
String: 0x00000018 "InnerState"
Entry @ 0x109 {
Abbrev: 0x3
Tag: DW_TAG_class_type
DW_IDX_type_unit: 0x01
DW_IDX_die_offset: 0x00000030
DW_IDX_parent: <parent not indexed>
}
}
```
So with DW_IDX_parent: <parent not indexed>
https://github.com/llvm/llvm-project/pull/91808
More information about the lldb-commits
mailing list