[all-commits] [llvm/llvm-project] 927092: [Runtimes][CMake] Add CMake option to enable execu...

Csanád Hajdú via All-commits all-commits at lists.llvm.org
Fri Nov 7 00:36:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 927092b262e58a7f3d79fea615daecc60e61bdcb
      https://github.com/llvm/llvm-project/commit/927092b262e58a7f3d79fea615daecc60e61bdcb
  Author: Csanád Hajdú <csanad.hajdu at arm.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  [Runtimes][CMake] Add CMake option to enable execute-only code generation on AArch64 (#143698)

Based on the discussion in
https://discourse.llvm.org/t/rfc-execute-only-code-support-for-runtime-libraries-on-aarch64/86180
a single, global configuration option should be used to enable
execute-only code generation for the runtime libraries. The new option
`RUNTIMES_EXECUTE_ONLY_CODE` adds the `-mexecute-only` flag to
`CMAKE_C_FLAGS` and `CMAKE_CXX_FLAGS`, which simplifies the
library-level configuration needed for the runtime libraries.

Project-specific changes are still needed to handle assembly sources,
e.g. in compiler-rt and libunwind.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list