[llvm-branch-commits] [llvm] WebAssembly: Use reportFatalUsageError for eh option errors (PR #233031)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Oct 17 04:17:38 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 155991 tests passed
* 3618 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.ExecutionEngine/MCJIT/multi-module-eh-a.ll</summary>

```
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lli -jit-kind=mcjit -extra-module=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lli -jit-kind=mcjit -extra-module=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll
# .---command stderr------------
# | terminate called after throwing an instance of 'int'
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lli -jit-kind=mcjit -extra-module=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll
# |  #0 0x000000000263783b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# |  #1 0x00000000026346d1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x000000000263827b SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# |  #3 0x0000790f33e18cb0 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45cb0)
# |  #4 0x0000790f33e791ac pthread_kill (/usr/lib/x86_64-linux-gnu/libc.so.6+0xa61ac)
# |  #5 0x0000790f33e18b7e raise (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45b7e)
# |  #6 0x0000790f33dfb8ec abort (/usr/lib/x86_64-linux-gnu/libc.so.6+0x288ec)
# |  #7 0x0000790f340d0275 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xac275)
# |  #8 0x0000790f340e764a (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xc364a)
# |  #9 0x0000790f340cfc6c std::unexpected() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xabc6c)
# | #10 0x0000790f340e7901 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xc3901)
# | #11 0x0000790f3443f09d
# `-----------------------------
# error: command failed with exit status: -6

--

```
</details>

### cross-project-tests
<details>
<summary>cross-project-tests.dtlto/remote-options.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/projects/cross-project-tests/dtlto/Output/remote-options.test.tmp && split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/projects/cross-project-tests/dtlto/Output/remote-options.test.tmp && cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/projects/cross-project-tests/dtlto/Output/remote-options.test.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/projects/cross-project-tests/dtlto/Output/remote-options.test.tmp
# note: command had no output on stdout or stderr
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/projects/cross-project-tests/dtlto/Output/remote-options.test.tmp
# note: command had no output on stdout or stderr
# executed command: cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/projects/cross-project-tests/dtlto/Output/remote-options.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-unknown-linux-gnu -flto=thin -c test.c -o elf.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-unknown-linux-gnu -flto=thin -c test.c -o elf.o
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-pc-windows-msvc -flto=thin -c test.c -o coff.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-pc-windows-msvc -flto=thin -c test.c -o coff.o
# note: command had no output on stdout or stderr
# RUN: at line 10
touch profile.prof
# executed command: touch profile.prof
# note: command had no output on stdout or stderr
# RUN: at line 33
not llvm-lto2 run -dtlto-distributor="/usr/bin/python3" -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -O0 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,O0,ERR
# executed command: not llvm-lto2 run -dtlto-distributor=/usr/bin/python3 -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -O0
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,O0,ERR
# note: command had no output on stdout or stderr
# RUN: at line 34
not llvm-lto2 run -dtlto-distributor="/usr/bin/python3" -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -O3 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,O3,ERR
# executed command: not llvm-lto2 run -dtlto-distributor=/usr/bin/python3 -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -O3
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,O3,ERR
# note: command had no output on stdout or stderr
# RUN: at line 39
not llvm-lto2 run -dtlto-distributor="/usr/bin/python3" -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -addrsig -function-sections -data-sections 2>&1 |    /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,SECTIONS,ERR
# executed command: not llvm-lto2 run -dtlto-distributor=/usr/bin/python3 -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -addrsig -function-sections -data-sections
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,SECTIONS,ERR
# note: command had no output on stdout or stderr
# RUN: at line 45
not llvm-lto2 run -dtlto-distributor="/usr/bin/python3" -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,NO-SECTIONS,ERR
# executed command: not llvm-lto2 run -dtlto-distributor=/usr/bin/python3 -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,NO-SECTIONS,ERR
# note: command had no output on stdout or stderr
# RUN: at line 51
not llvm-lto2 run -dtlto-distributor="/usr/bin/python3" -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -enable-loopinterchange=true 2>&1 |    /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,LOOP-INTERCHANGE,ERR
# executed command: not llvm-lto2 run -dtlto-distributor=/usr/bin/python3 -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -enable-loopinterchange=true
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,LOOP-INTERCHANGE,ERR
# note: command had no output on stdout or stderr
# RUN: at line 55
not llvm-lto2 run -dtlto-distributor="/usr/bin/python3" -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -enable-loopinterchange=false 2>&1 |    /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,NO-LOOP-INTERCHANGE,ERR
# executed command: not llvm-lto2 run -dtlto-distributor=/usr/bin/python3 -dtlto-distributor-arg=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/dtlto/validate.py -dtlto-compiler=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -o test.out elf.o -r=elf.o,foo,px -enable-loopinterchange=false
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test --check-prefixes=ARGS,NO-LOOP-INTERCHANGE,ERR
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test:57:26: error: NO-LOOP-INTERCHANGE-NOT: excluded string found in input
# | NO-LOOP-INTERCHANGE-NOT: "-floop-interchange"
# |                          ^
# | <stdin>:10:2: note: found here
# |  "-floop-interchange",
# |  ^~~~~~~~~~~~~~~~~~~~
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/dtlto/remote-options.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: distributor_args=[] 
# |           2: { 
# |           3:  "common": { 
# |           4:  "linker_output": "test.out", 
# |           5:  "args": [ 
# | not:57'0              {   search range start (exclusive)
# |           6:  "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang", 
# |           7:  "-c", 
# |           8:  "--target=x86_64-unknown-linux-gnu", 
# |           9:  "-O2", 
# |          10:  "-floop-interchange", 
# | not:57'1      !~~~~~~~~~~~~~~~~~~~    error: no match expected
# |          11:  "-fpic", 
# |          12:  "-Wno-unused-command-line-argument" 
# |          13:  ], 
# |          14:  "inputs": [] 
# |          15:  }, 
# |           .
# |           .
# |           .
# |          29:  "elf.1.775355.native.o" 
# |          30:  ] 
# |          31:  } 
# |          32:  ] 
# |          33: } 
# |          34: llvm-lto2: LTO::run failed: DTLTO backend compilation: cannot open native object file: elf.1.775355.native.o: No such file or directory 
# | not:57'2                                 }                                                                                                             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/233031


More information about the llvm-branch-commits mailing list