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

Zachary Turner zturner at google.com
Thu Apr 9 03:03:14 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)
On Thu, Apr 9, 2015 at 2:35 AM Tamas Berghammer <tberghammer at google.com>
wrote:

> Can you check that this change fix TestCallStdStringFunction with g++ on
> Linux x86_64? I think it is failing with this or with a closely related
> issue.
>
>
> http://reviews.llvm.org/D8846
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150409/c5eac245/attachment.html>


More information about the lldb-commits mailing list