[llvm-bugs] [Bug 38609] [codeview] Clang needs to generate unique mangled names for types in anonymous namespaces

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 17 14:03:05 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38609

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |r340079
             Status|NEW                         |RESOLVED

--- Comment #2 from Reid Kleckner <rnk at google.com> ---
r340079. I'll merge it to 7.0, since I can easily imagine people will start
trying out ThinLTO sooner than later if we finish it in Chromium.

(In reply to David Majnemer from comment #1)
> What mangled names does MSVC generate in these cases?

We used to emit "?A@" for these, MSVC emits "?A0x1234ABCD@" for them, and now
we do the same. Undname ignores whatever is between the 'A' and the '@'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180817/0600d031/attachment.html>


More information about the llvm-bugs mailing list