https://bugs.llvm.org/show_bug.cgi?id=46709
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: unassignedb...@nondot.org
Reporter: rprich...@google.com
CC: llvm-bugs@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
_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS to disable explicit visibility
attributes on individual functions.
The flag doesn't apply to unw_getcontext, though, which is declared in assembly
(UnwindRegistersSave.S).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs