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.


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