[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
Thu Jun 12 01:03:22 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'll remove it then, thanks.

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


More information about the llvm-commits mailing list