aprantl added a comment.

In https://reviews.llvm.org/D40283#972622, @clayborg wrote:

> Added Adrian Prantl as a reviewer in case he has any input. Adrian: is there 
> any way that a DIE is marked up with an extra attribute when the asm name is 
> explicitly set? It would be great to know this from the DWARF so we don't 
> have to end up setting the ASM name for every single possibly affected DIE...


I'm afraid DW_AT_linkage *is* that attribute. If you don't want to explicitly 
set the mangled name for each entity with a DW_AT_linkage_name, the way to do 
this is to add a DWARF extension like DW_AT_GNU_abi_tag or something. How does 
GDB/gcc handle this? Maybe they already invented an encoding for the attribute?


https://reviews.llvm.org/D40283



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to