[llvm-bugs] [Bug 33576] New: Libunwind needs a way to disable visibility annotations [PATCH INCLUDED]

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 23 13:42:09 PDT 2017


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

            Bug ID: 33576
           Summary: Libunwind needs a way to disable visibility
                    annotations [PATCH INCLUDED]
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: thomasanderson at google.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Created attachment 18700
  --> https://bugs.llvm.org/attachment.cgi?id=18700&action=edit
patch

libc++ and libc++abi both have _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS and
_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS respectively.

The same feature is needed for libunwind.  This way, apps that statically link
libunwind can hide its symbols (otherwise libgcc will use the libunwind symbols
and crash).

-- 
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/20170623/a606c2bf/attachment.html>


More information about the llvm-bugs mailing list