[llvm-bugs] [Bug 36777] New: Fails to emit symbols when extern "C++" used in version script for symbols with [abi:cxx11] tag
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 16 20:37:34 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=36777
Bug ID: 36777
Summary: Fails to emit symbols when extern "C++" used in
version script for symbols with [abi:cxx11] tag
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: christopher.halse.rogers at canonical.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20082
--> https://bugs.llvm.org/attachment.cgi?id=20082&action=edit
lld test case exhibiting the bug; dump it in tests/ELF/linkerscript
LLD fails to match symbols with the [abi:cxx11] tag to extern C++ wildcards
(see attached test case).
On inspection, this appears to be because the LLVM Itanium demangler does not
have support for the ABI tag, thus the tagged symbols don't get demangled and
so the (demangled) extern "C++" symbol directives cannot match.
--
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/20180317/13152f34/attachment.html>
More information about the llvm-bugs
mailing list