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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Sun Nov 24 13:55:07 PST 2024


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


  Commit: 515574c415b7d9814d7942c7609095dcb3e7916a
      https://github.com/llvm/llvm-project/commit/515574c415b7d9814d7942c7609095dcb3e7916a
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-25 (Mon, 25 Nov 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


Compare: https://github.com/llvm/llvm-project/compare/e610387c4f87...515574c415b7

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