[Lldb-commits] [lldb] [lldb][DWARF] Delay struct/class/union definition DIE searching when parsing declaration DIEs. (PR #90663)

Zequan Wu via lldb-commits lldb-commits at lists.llvm.org
Wed May 1 11:03:37 PDT 2024


ZequanWu wrote:

> Hmm - but the byte size wouldn't be known from only a declaration, right? so how'd that key work between a declaration and a definition?

For declaration and definition DIEs, we just look at the name. Byte size and declaration locations are only used as extra info to differentiate two definition DIEs. See the comment in: https://github.com/llvm/llvm-project/pull/90663/files#diff-82e596d532f38e5212da4007f8ffda731ac8c948ab98eaac21f30fc96ca62d30R24-R32

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


More information about the lldb-commits mailing list