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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Sun Nov 24 23:53:45 PST 2024


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


  Commit: 226cfcf8a3c9d86b503be84da33d08de537df5d9
      https://github.com/llvm/llvm-project/commit/226cfcf8a3c9d86b503be84da33d08de537df5d9
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

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

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


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

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