[llvm] [WebAssembly] Fix: fixCallUnwindMismatches after fixCatchUnwindMismatches (PR #187484)

Hood Chatham via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 16:49:09 PDT 2026


================
@@ -1847,6 +1849,8 @@ bool WebAssemblyCFGStackify::fixCallUnwindMismatches(MachineFunction &MF) {
           !WebAssembly::mayThrow(MI))
         continue;
       SeenThrowableInstInBB = true;
+      LLVM_DEBUG(dbgs() << "- fixCallUnwindMismatches considering: " << MI
+                        << "  in MBB = " << MBB.getName() << "\n");
----------------
hoodmane wrote:

I found it helpful when debugging this to see the locations it was considering and didn't modify as well. But it might not be helpful for others and if it is they can always put it back.

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


More information about the llvm-commits mailing list