[all-commits] [llvm/llvm-project] 4d6fb8: [PAC][Driver] Support ptrauth flags only on ARM64 ...
Daniil Kovalev via All-commits
all-commits at lists.llvm.org
Wed Oct 29 03:55:18 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d6fb8834216ba559c7baa73c0ef7f2b6998341a
https://github.com/llvm/llvm-project/commit/4d6fb8834216ba559c7baa73c0ef7f2b6998341a
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/aarch64-ptrauth.c
M clang/test/Frontend/aarch64-ignore-branch-protection-attribute.c
Log Message:
-----------
[PAC][Driver] Support ptrauth flags only on ARM64 Darwin or with pauthtest ABI (#113152)
Most ptrauth flags are ABI-affecting, so usually we do not want them to
be
exposed to end users. Allow them only in the following cases:
- ARM64 Darwin (under certain conditions, some ptrauth driver flags are
intended to be used in this case);
- pauthtest ABI (it's intended to be used for experimenting with signing
schema
and the signing schema is explicitly encoded in the pauth elf marking).
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