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: unassignedb...@nondot.org
          Reporter: christopher.halse.rog...@canonical.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to