-fvisibility=internal not implemented #9555
Labels
bugzilla
Issues migrated from bugzilla
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Extended Description
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.
The text was updated successfully, but these errors were encountered: