Skip to content

Commit 23638cf

Browse files
committed
[libc] Set default visibility for LLVM functions
This is a follow up to 5ff3ff3 addressing the issue reported in #74881.
1 parent 39b2979 commit 23638cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "src/__support/macros/properties/architectures.h"
1919

2020
#ifndef LLVM_LIBC_FUNCTION_ATTR
21-
#define LLVM_LIBC_FUNCTION_ATTR
21+
#define LLVM_LIBC_FUNCTION_ATTR [[gnu::visibility("default")]]
2222
#endif
2323

2424
// MacOS needs to be excluded because it does not support aliasing.

0 commit comments

Comments
 (0)