[clang] [llvm] [Clang][ARM][AArch64] Alway emit protection attributes for functions. (PR #82819)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 21 17:07:28 PDT 2024
efriedma-quic wrote:
I'm not sure I understand the goal here.
For return-address signing, each function can make its own choice about whether to sign; the function that's doing the signing is the same function that does the auth, so it doesn't directly impact any other function. For branch target enforcement, though, everything needs to agree that branch targets are supposed to be enforced, or else the process crashes. So there's no point to modifying whether it's enabled for a single function.
https://github.com/llvm/llvm-project/pull/82819
More information about the cfe-commits
mailing list