[llvm-bugs] [Bug 46709] New: LIBUNWIND_HERMETIC_STATIC_LIBRARY: unw_getcontext isn't hidden

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 13 21:56:07 PDT 2020


            Bug ID: 46709
           Summary: LIBUNWIND_HERMETIC_STATIC_LIBRARY: unw_getcontext
                    isn't hidden
           Product: Runtime Libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libunwind
          Assignee: unassignedbugs at nondot.org
          Reporter: rprichard at google.com
                CC: llvm-bugs at lists.llvm.org

The LIBUNWIND_HERMETIC_STATIC_LIBRARY flag marks the libunwind APIs as hidden,
so they aren't exported from an executable or shared object. CMake passes
-fvisibility=hidden to the compiler and defines
attributes on individual functions.

The flag doesn't apply to unw_getcontext, though, which is declared in assembly

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/20200714/4f4bf259/attachment.html>

More information about the llvm-bugs mailing list