[compiler-rt] [compiler-rt] allow building with uefi (PR #131499)
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 18 09:06:36 PDT 2025
================
@@ -49,7 +49,7 @@
#define SYMBOL_NAME(name) XSTR(__USER_LABEL_PREFIX__) #name
#if defined(__ELF__) || defined(__MINGW32__) || defined(__wasm__) || \
- defined(_AIX) || defined(__CYGWIN__)
+ defined(_AIX) || defined(__CYGWIN__) || defined(__UEFI__)
----------------
compnerd wrote:
I'm not sure that this is the right branch to target UEFI. UEFI doesn't use ELF and doesn't guarantee the GNU syntax. What if you completely disable aliasing as per the Windows path on L67?
https://github.com/llvm/llvm-project/pull/131499
More information about the llvm-commits
mailing list