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

Daniel Paoliello via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 26 10:26:59 PDT 2025


================
@@ -151,6 +151,8 @@ class LLVM_LIBRARY_VISIBILITY X86AsmPrinter : public AsmPrinter {
                                     MCSymbol *LazyPointer) override;
 
   void emitCallInstruction(const llvm::MCInst &MCI);
+  bool needsNopAfterCallForWindowsEH(const MachineInstr *MI);
+  void emitNopAfterCallForWindowsEH(const MachineInstr *MI);
----------------
dpaoliello wrote:

Nit, more accurately called `maybeEmitNopAfterCallForWindowsEH`

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


More information about the llvm-commits mailing list