[all-commits] [llvm/llvm-project] 9d18e9: [compiler-rt] Add CMake option to enable execute-o...

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


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

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/builtins/assembly.h
    M compiler-rt/lib/fuzzer/CMakeLists.txt
    M compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S
    M compiler-rt/lib/hwasan/hwasan_tag_mismatch_aarch64.S
    M compiler-rt/lib/msan/tests/CMakeLists.txt
    M compiler-rt/lib/orc/elfnix_tls.aarch64.S
    M compiler-rt/lib/orc/sysv_reenter.arm64.S
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_vfork_aarch64.inc.S
    M compiler-rt/lib/tsan/CMakeLists.txt
    M compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S
    M compiler-rt/lib/xray/xray_trampoline_AArch64.S

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

For a full toolchain supporting execute-only code generation the runtime
libraries also need to be pre-compiled with it enabled. The generic
`RUNTIMES_EXECUTE_ONLY_CODE` CMake option can now be used during build
configuration to enable execute-only code generation in compiler-rt.

The build option can only be enabled for a runtimes build of
compiler-rt, because a recent version of Clang is needed to correctly
compile assembly files with execute-only code support.

Related RFC:
https://discourse.llvm.org/t/rfc-execute-only-code-support-for-runtime-libraries-on-aarch64/86180



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