[clang] [llvm] Fix Windows EH IP2State tables (remove +1 bias) (PR #144745)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 11 11:00:59 PDT 2025


================
@@ -37,9 +37,11 @@ cond.end:                                         ; preds = %entry, %cond.true
 ; CHECK: testq
 ; CHECK: je
 ; CHECK: callq alloc
+; CHECK-NEXT: nop
----------------
efriedma-quic wrote:

There is no handler?  This function doesn't contain any exception-handling constructs at all.

MSVC does not insert a nop before the epilogue in this case, as far as I can tell.

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


More information about the cfe-commits mailing list