[llvm] [AArch64] Emit async PAuth epilogue CFI for outlined functions (PR #189924)
Amina Chabane via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 02:33:21 PDT 2026
================
@@ -143,7 +143,9 @@ void AArch64PointerAuthImpl::authenticateLR(
MachineFunction &MF, MachineBasicBlock::iterator MBBI) const {
const AArch64FunctionInfo *MFnI = MF.getInfo<AArch64FunctionInfo>();
bool UseBKey = MFnI->shouldSignWithBKey();
- bool EmitAsyncCFI = MFnI->needsAsyncDwarfUnwindInfo(MF);
+ bool EmitAsyncCFI = MFnI->needsAsyncDwarfUnwindInfo(MF) ||
----------------
Amichaxx wrote:
Hi @momchil-velikov, thank you for the review and explanation.
> The patch certainly does not affect only outlined functions, so at least the description is incorrect
Yes, I agree it is a misleading title.
I can see emitting the marker alone is not useful, without the rest of the CFI. It seems a larger change that fixes the noted limitation would handle this, but is out of scope for this PR. I think it's best to drop this PR for now and revisit if/when I can tackle the fuller fix.
https://github.com/llvm/llvm-project/pull/189924
More information about the llvm-commits
mailing list