[llvm] [AArch64][BTI] Add BTI at EH entries. (PR #155308)

Shashi Shankar via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 05:15:56 PDT 2025


================
@@ -29,9 +29,9 @@ lbl4:
 
 ; CHECK-LABEL: func:
 ; CHECK-NEXT: .seh_proc func
-; CHECK-NEXT: // %bb.0:
-; CHECK-NEXT: hint #34
-; CHECK-NEXT: .seh_nop
+; CHECK:       // %bb.0: // %entry
+; CHECK-NEXT:  .seh_nop
----------------
shashforge wrote:

Done. I now emit the BTI at the first executable instruction and insert the .seh_nop immediately after it when the first real instruction is FrameSetup.

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


More information about the llvm-commits mailing list