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

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 02:55:44 PDT 2026


================
@@ -429,16 +429,16 @@ unreachable:                                      ; preds = %rethrow
 ; CHECK:   try
 ; CHECK:     try
 ; CHECK:       call  __cxa_throw
-; CHECK:       catch
+; CHECK:     catch   {{.*}} __cpp_exception
+; CHECK:       call  $drop=, __cxa_begin_catch
 ; CHECK:       call  __cxa_end_catch
 ; CHECK:       try
 ; CHECK:         try
 ; Note that this rethrow targets the top-level catch_all
 ; CHECK:           rethrow   4
-; CHECK:         catch
-; CHECK:           try
-; CHECK:             call  __cxa_end_catch
-; CHECK:           delegate    5
+; CHECK:         catch   {{.*}} __cpp_exception
+; CHECK:           call  $drop=, __cxa_begin_catch
+; CHECK:           call  __cxa_end_catch
----------------
aheejin wrote:

The same here

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


More information about the llvm-commits mailing list