[LLVMbugs] [Bug 24097] New: clang produces hidden symbol when gcc produces a default one
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jul 12 07:50:29 PDT 2015
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: unassignedclangbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150712/489dec52/attachment.html>
More information about the llvm-bugs
mailing list