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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Mon Oct 21 03:43:55 PDT 2024


  Branch: refs/heads/users/kovdan01/ptrauth-flags-only-on-linux-and-darwin
  Home:   https://github.com/llvm/llvm-project
  Commit: 887883458d28afc8a45643bc27cd84b2e242bbe6
      https://github.com/llvm/llvm-project/commit/887883458d28afc8a45643bc27cd84b2e242bbe6
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/ToolChain.cpp
    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 AArch64 Linux and ARM64 Darwin

Most ptrauth flags are ABI-affecting, so allow them only for Linux and
Darwin OS which explicitly support pointer authentication. 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