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.<br><br>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)<br><div class="gmail_quote">On Thu, Apr 9, 2015 at 2:35 AM Tamas Berghammer <<a href="mailto:tberghammer@google.com">tberghammer@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D8846" target="_blank">http://reviews.llvm.org/D8846</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/<u></u>settings/panel/<u></u>emailpreferences/</a><br>
<br>
<br>
</blockquote></div>