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

Nelson Elhage via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 10 14:20:19 PST 2018

nelhage added a comment.

Compiling my test program with g++ and looking at `llvm-dwarfdump -all`, I can see no reference to the ABI tag other than in the `DW_AT_linkage_name`. Skimming the gdb source, I see references to it knowing how to *demangle* ABI tags, but no references in the DWARF code or otherwise in the expression-handler. I strongly suspect that GDB implements essentially this solution, using `DW_AT_linkage_name` to populate linkage names in its symbol table, and uses its C++ demangler to find ABI tags for display purposes.


More information about the lldb-commits mailing list