[all-commits] [llvm/llvm-project] de3158: Reapply "compiler-rt: Introduce runtime functions ...

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Mon Jul 14 13:13:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de31584001478d37f6dd645a864d160528979efe
      https://github.com/llvm/llvm-project/commit/de31584001478d37f6dd645a864d160528979efe
  Author: Peter Collingbourne <pcc at google.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake
    M compiler-rt/cmake/builtin-config-ix.cmake
    M compiler-rt/lib/builtins/CMakeLists.txt
    A compiler-rt/lib/builtins/aarch64/emupac.cpp
    M compiler-rt/lib/builtins/int_types.h
    A compiler-rt/test/builtins/Unit/aarch64/emupac.c
    M llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/lib/builtins/sources.gni
    M llvm/utils/gn/secondary/compiler-rt/test/builtins/BUILD.gn

  Log Message:
  -----------
  Reapply "compiler-rt: Introduce runtime functions for emulated PAC."

This reverts commit 0c0aa56cdcf1fe3970a5f3875db412530512fc07.

This time with the following fixes for buildbot failures:
- Add underscore prefixes to symbol names on Apple platforms.
- Modify the test so that it skips the crash tests on platforms where
  they are not expected to pass:
  - Platforms that implement FEAT_PAuth but not FEAT_FPAC (e.g.
    Apple M1, Cortex-A78C)
  - Platforms where DA key is disabled (e.g. older Linux kernels,
    Linux kernels with PAC disabled, likely Windows)

Original commit message follows:

The emulated PAC runtime functions emulate the ARMv8.3a pointer
authentication instructions and are intended for use in heterogeneous
testing environments. For more information, see the associated RFC:
https://discourse.llvm.org/t/rfc-emulated-pac/85557

Reviewers: mstorsjo, pawosm-arm, atrosinenko

Reviewed By: atrosinenko

Pull Request: https://github.com/llvm/llvm-project/pull/148094



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