[compiler-rt] [compiler-rt] Add CMake option to enable execute-only code generation on AArch64 (PR #140555)

Csanád Hajdú via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 06:16:02 PDT 2025


================
@@ -307,6 +307,11 @@ option(COMPILER_RT_USE_BUILTINS_LIBRARY
 
 option(COMPILER_RT_USE_ATOMIC_LIBRARY "Use compiler-rt atomic instead of libatomic" OFF)
 
+if (LLVM_EXECUTE_ONLY_CODE AND NOT LLVM_RUNTIMES_BUILD)
+  message(SEND_ERROR "LLVM_EXECUTE_ONLY_CODE is only supported "
+                     "for runtimes build of compiler-rt.")
----------------
Il-Capitano wrote:

I'm wondering if I should remove this check, as a non-runtimes build of compiler-rt is deprecated and will supposedly be removed in the next release.

https://github.com/llvm/llvm-project/pull/140555


More information about the llvm-commits mailing list