[libc-commits] [libc] [libc][docs] add note on gcc overlay release build (PR #89314)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Thu Apr 18 15:08:35 PDT 2024
nickdesaulniers wrote:
```diff
diff --git a/libc/src/__support/common.h b/libc/src/__support/common.h
index 53951dc131c2..69268567bb2e 100644
--- a/libc/src/__support/common.h
+++ b/libc/src/__support/common.h
@@ -25,7 +25,7 @@
#define LLVM_LIBC_FUNCTION_IMPL(type, name, arglist) \
LLVM_LIBC_FUNCTION_ATTR decltype(LIBC_NAMESPACE::name) \
__##name##_impl__ __asm__(#name); \
- decltype(LIBC_NAMESPACE::name) name [[gnu::alias(#name)]]; \
+ decltype(LIBC_NAMESPACE::name) name asm(#name); \
type __##name##_impl__ arglist
#else
#define LLVM_LIBC_FUNCTION_IMPL(type, name, arglist) type name arglist
```
https://github.com/llvm/llvm-project/pull/89314
More information about the libc-commits
mailing list