https://bugs.llvm.org/show_bug.cgi?id=35066
Bug ID: 35066
Summary: Clang never gives hidden visibility to fundamental
types, even with -fvisibility=hidden
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: thomasander...@google.com
CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
__cxxabiv1::__fundamental_type_info is a special class that causes the compiler
to generate type info for fundamental types (void, bool, char, ..). When
building with -fvisibility=hidden, the __fundamental_type_info class itself is
given hidden visibility, but the generated types do not.
Relevant code:
http://llvm-cs.pcc.me.uk/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp#1537
--
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