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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to