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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Sat Dec 7 13:17:27 PST 2024


  Branch: refs/heads/users/kovdan01/ptrauth-flags-only-on-linux-and-darwin
  Home:   https://github.com/llvm/llvm-project
  Commit: db5e43b4170da9317be16e7dba18ad54f1b6ae9f
      https://github.com/llvm/llvm-project/commit/db5e43b4170da9317be16e7dba18ad54f1b6ae9f
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-12-08 (Sun, 08 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: 8ab629f808cbb5eb51ff8fa27c4f6c490654f5ca
      https://github.com/llvm/llvm-project/commit/8ab629f808cbb5eb51ff8fa27c4f6c490654f5ca
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-12-08 (Sun, 08 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: 700c00e694a1ecab3b9d6892de2e4adde35aad87
      https://github.com/llvm/llvm-project/commit/700c00e694a1ecab3b9d6892de2e4adde35aad87
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-12-08 (Sun, 08 Dec 2024)

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

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


  Commit: 3afcc78d48cb49fb434478490c3ee79e7525219c
      https://github.com/llvm/llvm-project/commit/3afcc78d48cb49fb434478490c3ee79e7525219c
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-12-08 (Sun, 08 Dec 2024)

  Changed paths:
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Driver/ToolChains/Linux.h

  Log Message:
  -----------
  Address review comments


Compare: https://github.com/llvm/llvm-project/compare/35c39c556fbb...3afcc78d48cb

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