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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Thu Dec 5 00:38:43 PST 2024


  Branch: refs/heads/users/kovdan01/ptrauth-flags-only-on-linux-and-darwin
  Home:   https://github.com/llvm/llvm-project
  Commit: f435790b75909026e22d8422d368202b7b5be4c9
      https://github.com/llvm/llvm-project/commit/f435790b75909026e22d8422d368202b7b5be4c9
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-12-05 (Thu, 05 Dec 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.


  Commit: d293c861e2a73158fcb70a087f8a49637041642a
      https://github.com/llvm/llvm-project/commit/d293c861e2a73158fcb70a087f8a49637041642a
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

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

  Log Message:
  -----------
  For pauthtest ABI, allow ptrauth driver flags


  Commit: 35c39c556fbb8145ba15fd5211373635e68f4376
      https://github.com/llvm/llvm-project/commit/35c39c556fbb8145ba15fd5211373635e68f4376
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M clang/test/Driver/aarch64-ptrauth.c

  Log Message:
  -----------
  Minor test enhancement


Compare: https://github.com/llvm/llvm-project/compare/226cfcf8a3c9...35c39c556fbb

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