[Lldb-commits] [PATCH] D40283: lldb: Use the DWARF linkage name when importing C++ methods

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 10 14:51:30 PST 2018


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 <reviews at 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
> 
> 
> 



More information about the lldb-commits mailing list