[llvm] [WebAssembly] Fix attributes of exception_grouping_2 test (PR #191466)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 12:14:45 PDT 2026


aheejin wrote:

While working on #191495, I was making sure the exception grouping results (done by [WebAssemblyExceptionInfo](https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp) analysis) for few grouping tests are the same before and after the PR. You can [print](https://github.com/llvm/llvm-project/blob/dd2ba5b3b406d70ef668425ed7aef76b04feaf47/llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp#L338-L358) the grouping by `-debug`. (Maybe I should've included the grouping print results in the expectation there..) An example of that info looks like
```
********** Exception Info Calculation **********
********** Function: nested_catch
Exception at depth 1 containing: %bb.2.catch.start (landing-pad), %bb.9.rethrow, %bb.3.catch, %bb.11.ehcleanup9, %bb.5.catch.start3, %bb.8.rethrow5, %bb.6.catch6, %bb.10.ehcleanup, %bb.7.invoke.cont8, %bb.4.try.cont                                               
    Exception at depth 2 containing: %bb.11.ehcleanup9 (landing-pad)
    Exception at depth 2 containing: %bb.5.catch.start3 (landing-pad), %bb.8.rethrow5, %bb.6.catch6, %bb.10.ehcleanup, %bb.7.invoke.cont8
        Exception at depth 3 containing: %bb.10.ehcleanup (landing-pad)
```

I tried to compare these results and realized this test didn't contain any.

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


More information about the llvm-commits mailing list