[Lldb-commits] [PATCH] [IRForTarget] Strenghten handling of alternate mangling.

Zachary Turner zturner at google.com
Thu Apr 9 03:03:22 PDT 2015


By the way, seems this only fixes the case of std::string even though it
will continue to exist for any type with an unnamed template parameter..
Certainly std::string is the most important example, but I just want to
mention that the issue isn't that gcc produces alternate manglings, it's
that we build a clang AST out of incomplete DWARF (since gcc doesn't
produce complete debug info for unnamed template parameters) and the clang
AST resolves to a different mangling.

The hack seems ok to get the important case of std::string working, but
eventually maybe we should look for a real fix (perhaps asking clang to
parse the expression in the DW_AT_name)


http://reviews.llvm.org/D8846

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list