The right solution seems to be adding some sort of custom GNU ABI tag to the 
DWARF. I know that won't help with existing binaries, but it sounds too 
expensive to set the ASM name for everything.


> On Jan 10, 2018, at 2:23 PM, Nelson Elhage via Phabricator 
> <revi...@reviews.llvm.org> wrote:
> 
> nelhage added a comment.
> 
> Further evidence that the ABI tag is never stored separately:
> 
>  $ strings -a -n4 test_abi_tag | grep cxx11
>  helloWorld_cxx11
>  _ZN1A16helloWorld_cxx11B5cxx11Ev
>  _ZN1A16helloWorld_cxx11B5cxx11Ev
> 
> Those three instances are, I presume, the `DW_AT_name`, and the 
> `DW_AT_linkage_name`, and the ELF symbol table.
> 
> 
> 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