[compiler-rt] d9c3066 - [Sanitizers][ABI] Build ASAN shim for arm64_32 arch (#81066)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 12 10:46:20 PST 2024
Author: Mariusz Borsa
Date: 2024-02-12T10:46:17-08:00
New Revision: d9c3066a587fa81bc0086aa1cf6afa1e04581e77
URL: https://github.com/llvm/llvm-project/commit/d9c3066a587fa81bc0086aa1cf6afa1e04581e77
DIFF: https://github.com/llvm/llvm-project/commit/d9c3066a587fa81bc0086aa1cf6afa1e04581e77.diff
LOG: [Sanitizers][ABI] Build ASAN shim for arm64_32 arch (#81066)
Turns out this arch is needed by the ABI impls
rdar://121963634
Co-authored-by: Mariusz Borsa <m_borsa at apple.com>
Added:
Modified:
compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
Removed:
################################################################################
diff --git a/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake b/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
index 416777171d2ca7..423171532c2028 100644
--- a/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
+++ b/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
@@ -20,6 +20,7 @@ set(VE ve)
if(APPLE)
set(ARM64 arm64)
set(ARM32 armv7 armv7s armv7k)
+ set(ARM64_32 arm64_32)
set(X86_64 x86_64 x86_64h)
endif()
@@ -29,7 +30,7 @@ set(ALL_SANITIZER_COMMON_SUPPORTED_ARCH ${X86} ${X86_64} ${PPC64} ${RISCV64}
set(ALL_ASAN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${RISCV64}
${MIPS32} ${MIPS64} ${PPC64} ${S390X} ${SPARC} ${SPARCV9} ${HEXAGON}
${LOONGARCH64})
-set(ALL_ASAN_ABI_SUPPORTED_ARCH ${X86_64} ${ARM64})
+set(ALL_ASAN_ABI_SUPPORTED_ARCH ${X86_64} ${ARM64} ${ARM64_32})
set(ALL_DFSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64} ${LOONGARCH64})
if(ANDROID)
More information about the llvm-commits
mailing list