[LLVMbugs] [Bug 9183] New: -fvisibility=internal not implemented
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 9 15:48:04 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9183
Summary: -fvisibility=internal not implemented
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: reid.kleckner at gmail.com
CC: llvmbugs at cs.uiuc.edu
I ran into this while compiling DynamoRIO with clang.
Does anyone even know what the heck it means? So far as I can tell, it's
identical to hidden visibility, except that you also promise that no one
outside the DSO you going to link can get a function pointer to functions with
internal visibility. That interpretation is based on this Intel doc:
http://software.intel.com/sites/products/documentation/studio/composer/en-us/2009/compiler_c/copts/common_options/option_fvisibility.htm
To aim for bug-for-bug compatibility with the gcc driver, I'd just interpret
internal as hidden. Alternatively, someone can go look at the gcc source and
see how they interpret internal.
If calling it hidden works, I can write a patch.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list