[clang] [clang][ARM][AArch64] Define intrinsics guarded by __has_builtin on all platforms (PR #128222)
Nick Sarnie via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 18 07:53:04 PDT 2025
================
@@ -36,6 +36,28 @@ typedef __SIZE_TYPE__ size_t;
#include <intrin.h>
+#ifdef __ARM_ACLE
+// arm_acle.h needs some stdint types, but -ffreestanding prevents us from
----------------
sarnex wrote:
`arm_acle.h` already includes the correct header, `stdint.h`, the problem here is this test uses a custom `stdint.h` in the `Inputs/include` directory that doesn't have the required types, a better fix is to just add this code to that custom `stdint.h`, I'll do that in the next commit, thanks.
https://github.com/llvm/llvm-project/pull/128222
More information about the cfe-commits
mailing list