[libc-commits] [libc] [libc] Move from alias(X) to asm(X) for aliasing (PR #89333)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Fri Apr 19 14:45:59 PDT 2024
nickdesaulniers wrote:
I'm not sure yet that this would fix the specific issue, but we can kind of reverse which declaration is the alias and which is the aliasee, which ends up being fewer lines of code in the macro:
https://godbolt.org/z/GxacEG7Yh
Though that would mean replacing the declaration in `libc/src/<hname>/<fname>.h` from being within `LIBC_NAMESPACE` to being `extern "C"`, and same for the defintion in `libc/src/<hname>/<fname>.h`, en masse.
https://github.com/llvm/llvm-project/pull/89333
More information about the libc-commits
mailing list