[Lldb-commits] [lldb] Improve performance of .debug_names lookups when DW_IDX_parent attributes are used (PR #91808)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri May 10 15:17:39 PDT 2024


clayborg wrote:

> The change/explanation looks intuitive, but I remember having seen DIE entry with `DW_AT_declaration (true)` but is not a forward declaration (it is a definition and has other attributes) . Will we cause regression in that case?

No, it is ok for `DW_AT_declaration(true)` DIEs to be in the DWARF and contain children. They just won't declare the type itself. In the example above, you can see that "ios_base" contains typedefs.

https://github.com/llvm/llvm-project/pull/91808


More information about the lldb-commits mailing list