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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs