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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Mon Sep 15 23:58:29 PDT 2025


  Branch: refs/heads/users/kovdan01/ptrauth-flags-only-on-linux-and-darwin
  Home:   https://github.com/llvm/llvm-project
  Commit: 64489c9dd71e9ff5b0b05130e73b8e7d2ba1fde7
      https://github.com/llvm/llvm-project/commit/64489c9dd71e9ff5b0b05130e73b8e7d2ba1fde7
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.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: eae44f713d9848837302afc653995a234b93d162
      https://github.com/llvm/llvm-project/commit/eae44f713d9848837302afc653995a234b93d162
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Linux.cpp

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


  Commit: 394f07fdd3e52cadb74d9a3eead9e16f19a4b91a
      https://github.com/llvm/llvm-project/commit/394f07fdd3e52cadb74d9a3eead9e16f19a4b91a
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

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

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


  Commit: f571700d17ee7241f3053e1acc93760f206daa09
      https://github.com/llvm/llvm-project/commit/f571700d17ee7241f3053e1acc93760f206daa09
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

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

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


  Commit: 327fc8e8df1e639d4e21306d446318b6f6eb6f22
      https://github.com/llvm/llvm-project/commit/327fc8e8df1e639d4e21306d446318b6f6eb6f22
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  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/Linux.cpp
    M clang/lib/Driver/ToolChains/Linux.h

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


  Commit: 363c5e21feeff6e430f672ca47ef881a5b8d9615
      https://github.com/llvm/llvm-project/commit/363c5e21feeff6e430f672ca47ef881a5b8d9615
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

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

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


  Commit: ea4a38dd504b6cfa33c9aedb01d9f67099048829
      https://github.com/llvm/llvm-project/commit/ea4a38dd504b6cfa33c9aedb01d9f67099048829
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Frontend/aarch64-ignore-branch-protection-attribute.c

  Log Message:
  -----------
  Proposed fix for PR113152


  Commit: cc552d51b25e637dd2a6f83fda985c5e07cfd422
      https://github.com/llvm/llvm-project/commit/cc552d51b25e637dd2a6f83fda985c5e07cfd422
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

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

  Log Message:
  -----------
  Delete tests for flags not yet available in mainline clang


Compare: https://github.com/llvm/llvm-project/compare/c3322cf6106a...cc552d51b25e

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