[lld] r275258 - Reverted r275257 "[ELF] - Implement extern "c++" version script tag"

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 08:18:06 PDT 2016


There is D20083, but it on hold over the desire to get a better demangler first.

Cheers,
Rafael


On 14 July 2016 at 11:16, Ed Maste <emaste at freebsd.org> wrote:
> On 13 July 2016 at 19:50, Rui Ueyama <ruiu at google.com> wrote:
>> I don't know. I think you can do it by defining a property and refer it
>> using REQUIRES, but I'm not sure if that's the right thing to do.
>>
>> Instead, you can avoid a mangled C++ name that triggers the FreeBSD's bug,
>> can't you? It seems that if you use a symbol name foo(int) instead of foo()
>> (or foo(void)), it works on FreeBSD.
>
> This should work fine. For reference I found the elftoolchain bug:
> https://sourceforge.net/p/elftoolchain/tickets/491/
>
> Note that we do have a demangler in libcxxabi and in lldb; it hasn't
> yet been moved into a convenient location for sharing with other llvm
> consumers. Moving lld to that one would solve the Windows problem as
> well.


More information about the llvm-commits mailing list