[llvm] [AArch64] Emit async PAuth epilogue CFI for outlined functions (PR #189924)

Gergely Bálint via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 08:52:49 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) ||
----------------
bgergely0 wrote:

What do you think of the code snippet in my earlier comment @momchil-velikov ? 
I'm asking because I'm not sure I understand the `&& !F.hasMinSize()` part, which was introduced in https://reviews.llvm.org/D112330.

https://github.com/llvm/llvm-project/pull/189924


More information about the llvm-commits mailing list