[llvm] [MC][WebAssembly] Fix importing tables with limits (PR #172992)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 20 16:52:09 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 167338 tests passed
* 2968 tests skipped
* 4 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.MC/WebAssembly/global-ctor-dtor.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mcpu=mvp -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/global-ctor-dtor.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/global-ctor-dtor.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mcpu=mvp -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/global-ctor-dtor.ll -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml
# 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/llvm/test/MC/WebAssembly/global-ctor-dtor.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/global-ctor-dtor.ll:56:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: Minimum: 0x2
# | ^
# | <stdin>:54:9: note: scanning from here
# | Limits:
# | ^
# | <stdin>:55:2: note: possible intended match here
# | Minimum: 0x0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/global-ctor-dtor.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 49: Field: __indirect_function_table
# | 50: Kind: TABLE
# | 51: Table:
# | 52: Index: 0
# | 53: ElemType: FUNCREF
# | 54: Limits:
# | next:56'0 X error: no match found
# | 55: Minimum: 0x0
# | next:56'0 ~~~~~~~~~~~~~~
# | next:56'1 ? possible intended match
# | 56: - Type: FUNCTION
# | next:56'0 ~~~~~~~~~~~~~~~~~~
# | 57: FunctionTypes: [ 0, 1, 0, 1 ]
# | next:56'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 58: - Type: ELEM
# | next:56'0 ~~~~~~~~~~~~~~
# | 59: Segments:
# | next:56'0 ~~~~~~~~~~~
# | 60: - Offset:
# | next:56'0 ~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.MC/WebAssembly/reloc-pic.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
sed -e '/^REF-/d' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic.s | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=wasm32-unknown-unknown -filetype=obj | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic.s
# executed command: sed -e '/^REF-/d' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=wasm32-unknown-unknown -filetype=obj
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml
# 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/llvm/test/MC/WebAssembly/reloc-pic.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic.s:94:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: Minimum: 0x1
# | ^
# | <stdin>:38:9: note: scanning from here
# | Limits:
# | ^
# | <stdin>:39:2: note: possible intended match here
# | Minimum: 0x0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 33: Field: __indirect_function_table
# | 34: Kind: TABLE
# | 35: Table:
# | 36: Index: 0
# | 37: ElemType: FUNCREF
# | 38: Limits:
# | next:94'0 X error: no match found
# | 39: Minimum: 0x0
# | next:94'0 ~~~~~~~~~~~~~~
# | next:94'1 ? possible intended match
# | 40: - Module: GOT.mem
# | next:94'0 ~~~~~~~~~~~~~~~~~~~
# | 41: Field: default_data
# | next:94'0 ~~~~~~~~~~~~~~~~~~~~~
# | 42: Kind: GLOBAL
# | next:94'0 ~~~~~~~~~~~~~~
# | 43: GlobalType: I32
# | next:94'0 ~~~~~~~~~~~~~~~~~
# | 44: GlobalMutable: true
# | next:94'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.MC/WebAssembly/reloc-pic64.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=wasm64-unknown-unknown -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic64.s | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic64.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=wasm64-unknown-unknown -filetype=obj
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml
# 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/llvm/test/MC/WebAssembly/reloc-pic64.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic64.s:97:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: Minimum: 0x1
# | ^
# | <stdin>:44:18: note: scanning from here
# | Flags: [ IS_64 ]
# | ^
# | <stdin>:45:2: note: possible intended match here
# | Minimum: 0x0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/reloc-pic64.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 39: Kind: TABLE
# | 40: Table:
# | 41: Index: 0
# | 42: ElemType: FUNCREF
# | 43: Limits:
# | 44: Flags: [ IS_64 ]
# | next:97'0 X error: no match found
# | 45: Minimum: 0x0
# | next:97'0 ~~~~~~~~~~~~~~
# | next:97'1 ? possible intended match
# | 46: - Module: GOT.mem
# | next:97'0 ~~~~~~~~~~~~~~~~~~~
# | 47: Field: default_data
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~
# | 48: Kind: GLOBAL
# | next:97'0 ~~~~~~~~~~~~~~
# | 49: GlobalType: I32
# | next:97'0 ~~~~~~~~~~~~~~~~~
# | 50: GlobalMutable: true
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.MC/WebAssembly/weak-alias.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=wasm32-unknown-unknown -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/weak-alias.s | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/weak-alias.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=wasm32-unknown-unknown -filetype=obj
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/weak-alias.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/weak-alias.s:100:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: Minimum: 0x1
# | ^
# | <stdin>:24:9: note: scanning from here
# | Limits:
# | ^
# | <stdin>:25:2: note: possible intended match here
# | Minimum: 0x0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/WebAssembly/weak-alias.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 19: Field: __indirect_function_table
# | 20: Kind: TABLE
# | 21: Table:
# | 22: Index: 0
# | 23: ElemType: FUNCREF
# | 24: Limits:
# | next:100'0 X error: no match found
# | 25: Minimum: 0x0
# | next:100'0 ~~~~~~~~~~~~~~
# | next:100'1 ? possible intended match
# | 26: - Type: FUNCTION
# | next:100'0 ~~~~~~~~~~~~~~~~~~
# | 27: FunctionTypes: [ 0, 0, 0, 0, 0 ]
# | next:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: - Type: ELEM
# | next:100'0 ~~~~~~~~~~~~~~
# | 29: Segments:
# | next:100'0 ~~~~~~~~~~~
# | 30: - Offset:
# | next:100'0 ~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/172992
More information about the llvm-commits
mailing list