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

Reply via email to