[PATCH] D21930: [ELF] - Implement extern "c++" version script tag

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 4 06:47:17 PDT 2016


grimar added a comment.

In http://reviews.llvm.org/D21930#473665, @emaste wrote:

> >   if (!Name.startswith("_Z"))
>
> >       return Name;
>
>
> This one is needed, otherwise a symbol f would be demangled to float. We want only mangled symbol names (which start with `_Z`), not types etc.


Ah, oh. I was misunderstanding meaning of "_Z" then.


http://reviews.llvm.org/D21930





More information about the llvm-commits mailing list