https://llvm.org/bugs/show_bug.cgi?id=24097
Bug ID: 24097
Summary: clang produces hidden symbol when gcc produces a
default one
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 14578
--> https://llvm.org/bugs/attachment.cgi?id=14578&action=edit
testcase
Compiling the attached testcase with gcc -fvisibility=hidden produces
72: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND
_ZThn16_N17SyncMessageFilter4SendEP7Message
and with clang -O0 too, but use -O1 and you get
define available_externally hidden zeroext i1
@_ZThn16_N17SyncMessageFilter4SendEP7Message(
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs