[llvm] WebAssembly: Take the exception model from the module flag (PR #227583)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 04:47:18 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 143002 tests passed
* 3386 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CodeGen/WebAssembly/wasm-eh.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\WebAssembly\wasm-eh.ll -target wasm32-unknown-unknown -fwasm-exceptions -c -S -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\WebAssembly\wasm-eh.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\WebAssembly\wasm-eh.ll' -target wasm32-unknown-unknown -fwasm-exceptions -c -S -o -
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-c' [-Wunused-command-line-argument]
# | warning: overriding the module target triple with wasm32-unknown-unknown [-Woverride-module]
# | 1 warning generated.
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\WebAssembly\wasm-eh.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\WebAssembly\wasm-eh.ll:10:10: error: CHECK: expected string not found in input
# | ; CHECK: catch __cpp_exception
# |          ^
# | <stdin>:13:10: note: scanning from here
# |  call foo
# |          ^
# | <stdin>:18:5: note: possible intended match here
# |  .section .custom_section.target_features,"",@
# |     ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGen\WebAssembly\wasm-eh.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |             8:  .globl test # -- Begin function test 
# |             9:  .type test, at function 
# |            10: test: # @test 
# |            11:  .functype test () -> () 
# |            12: # %bb.0: # %entry 
# |            13:  call foo 
# | check:10'0             {   search range start (exclusive)
# | check:10'1                 error: no match found in search range
# |            14:  return 
# |            15:  end_function 
# |            16:  # -- End function 
# |            17:  .no_dead_strip __indirect_function_table 
# |            18:  .section .custom_section.target_features,"",@ 
# | check:10'2         ?                                            possible intended match
# |            19:  .int8 9 
# |            20:  .int8 43 
# |            21:  .int8 11 
# |            22:  .ascii "bulk-memory" 
# |            23:  .int8 43 
# |             .
# |             .
# |             .
# |            42:  .int8 15 
# |            43:  .ascii "reference-types" 
# |            44:  .int8 43 
# |            45:  .int8 8 
# |            46:  .ascii "sign-ext" 
# |            47:  .section .text.test,"",@ 
# | check:10'3                               } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list