[compiler-rt] [Sanitizers][ABI] Build ASAN shim for arm64_32 arch (PR #81066)
Mariusz Borsa via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 16:46:29 PST 2024
https://github.com/wrotki created https://github.com/llvm/llvm-project/pull/81066
Turns out this arch is needed by the ABI impls
rdar://121963634
>From 02df48bdb138d4c3f31778fe25f28f05de169885 Mon Sep 17 00:00:00 2001
From: Mariusz Borsa <m_borsa at apple.com>
Date: Wed, 7 Feb 2024 16:05:42 -0800
Subject: [PATCH] [Sanitizers][ABI] Build ASAN shim for arm64_32 arch
Turns out this arch is needed by the ABI impls
rdar://121963634
---
compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake b/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
index 416777171d2ca..423171532c202 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