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

Victor Campos via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 16 04:54:31 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:

Why this change?

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


More information about the cfe-commits mailing list