[libc-commits] [libc] [libc] Add LIBC_NAMESPACE_HIDDEN_DECL macro	(PR #97109)
    Joseph Huber via libc-commits 
    libc-commits at lists.llvm.org
       
    Wed Jul  3 16:03:08 PDT 2024
    
    
  
jhuber6 wrote:
Okay, so I think the solution here is to land https://github.com/llvm/llvm-project/pull/97123 to make all the entrypoints have visibility set correctly, and to allow the user to configure the visibility on the entrypoints. (default is default). Then we can modify this one to basically just do
```
$ find . -type f -exec sed -i -e 's/namespace LIBC_NAMESPACE/namespace [[gnu::visibility("hidden")]] LIBC_NAMESPACE' {} \;
```
https://github.com/llvm/llvm-project/pull/97109
    
    
More information about the libc-commits
mailing list