[all-commits] [llvm/llvm-project] 56fd24: [PAC] Sign LR with B key for non-leaf functions wi...
Daniil Kovalev via All-commits
all-commits at lists.llvm.org
Thu Jul 25 12:21:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56fd2472d887392855ad85c53df5782a2c3f8ddb
https://github.com/llvm/llvm-project/commit/56fd2472d887392855ad85c53df5782a2c3f8ddb
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-07-25 (Thu, 25 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
M llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.h
A llvm/test/CodeGen/AArch64/ptrauth-ret-trap.ll
A llvm/test/CodeGen/AArch64/ptrauth-ret.ll
Log Message:
-----------
[PAC] Sign LR with B key for non-leaf functions with ptrauth-returns attr (#100552)
For pauthtest ABI, there is a bunch of ptrauth-* options, including
ptrauth-returns. Use "ptrauth-returns" function attribute to indicate
need for LR signing with B key for non-leaf function to avoid using
"sign-return-address" and "sign-return-address-key" which were
originally designed for pac-ret.
Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>
Co-authored-by: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
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