[all-commits] [llvm/llvm-project] e61038: [PAC][Driver] Support ptrauth flags only on ARM64 ...

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Tue Nov 19 09:54:44 PST 2024


  Branch: refs/heads/users/kovdan01/ptrauth-flags-only-on-linux-and-darwin
  Home:   https://github.com/llvm/llvm-project
  Commit: e610387c4f870518d9a06035cce1ce72a9fee32b
      https://github.com/llvm/llvm-project/commit/e610387c4f870518d9a06035cce1ce72a9fee32b
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/test/Driver/aarch64-ptrauth.c

  Log Message:
  -----------
  [PAC][Driver] Support ptrauth flags only on ARM64 Darwin

Most ptrauth flags are ABI-affecting, so they should not be exposed to
end users. Under certain conditions, some ptrauth driver flags are intended
to be used for ARM64 Darwin, so allow them in this case.

Leave `-faarch64-jump-table-hardening` available for all AArch64 targets
since it's not ABI-affecting.



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