[compiler-rt] 3b68fd5 - [compiler-rt] Add supported Arm arches for the baremetal profile lib (#172984)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 8 02:34:19 PST 2026
Author: Volodymyr Turanskyy
Date: 2026-01-08T10:34:15Z
New Revision: 3b68fd58b01b84ba0f8335a55eeba9faeca98d67
URL: https://github.com/llvm/llvm-project/commit/3b68fd58b01b84ba0f8335a55eeba9faeca98d67
DIFF: https://github.com/llvm/llvm-project/commit/3b68fd58b01b84ba0f8335a55eeba9faeca98d67.diff
LOG: [compiler-rt] Add supported Arm arches for the baremetal profile lib (#172984)
Following https://github.com/llvm/llvm-project/pull/167998 add the list
of supported baremetal Arm architectures to be able to build compiler_rt
profile library for all variants in Arm Toolchain for Embedded, the list
comes from architectures used in multilib configuration files in
https://github.com/arm/arm-toolchain/tree/arm-software/arm-software/embedded/arm-multilib/json/variants
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 9065bb2de4943..0cae5da26c3e7 100644
--- a/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
+++ b/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
@@ -17,6 +17,16 @@ set(WASM32 wasm32)
set(WASM64 wasm64)
set(VE ve)
+if (COMPILER_RT_PROFILE_BAREMETAL)
+ set(ARM32
+ arm
+ armhf
+ armv4t
+ armv5te
+ armv6m
+ )
+endif()
+
if(APPLE)
set(ARM64 arm64)
set(ARM32 armv7 armv7s armv7k)
More information about the llvm-commits
mailing list