[clang] [llvm] [KCFI] Add support for out-of-line traps (PR #242488)

Victor Campos via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 17 01:32:29 PST 2026


================
@@ -295,7 +295,7 @@ void AArch64PointerAuthImpl::authenticateLR(
   // Note that inserting new instructions "before MBBI" and "before TI" is
   // not the same because if ShadowCallStack is enabled, its instructions
   // are placed between MBBI and TI.
-  MachineBasicBlock::iterator TI = MBB.getFirstInstrTerminator();
+  MachineBasicBlock::iterator TI = MBB.getFirstTerminator();
----------------
vhscampos wrote:

Thanks. No objections from me

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


More information about the cfe-commits mailing list