New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protected visibility not supported #1735
Comments
Lauro, what's the semantics of protected visibility? How it should be |
I don't know what is its semantics, but the codegen must emit ".protected bar". |
Mine. Should be trivial. |
LLVM-side patch Testcase: @X = protected global i32 1234 |
The patch looks fine, please apply it. The critical missing pieces are LangRef.html and linker support. -Chris |
Implemented in: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070423/048685.html LangRef.html was also updated, so the only missed part is Linker. |
As for linker: ld doesn't allow multiple definitions of the same variable with |
Yes, we should emulate ld |
Linking was done in |
LLVM-GCC-side patch |
Patch applied, should this be closed? |
Yes. Definitely. |
Extended Description
LLVM doesn't support
int bar attribute ((visibility ("protected"))) = 1;
This is needed to compile the glibc.
The text was updated successfully, but these errors were encountered: