[lld] [lld][WebAssembly] Always initialize fixed `__tls_base` in single threaded mode (PR #193563)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 11:57:50 PDT 2026


github-actions[bot] wrote:

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

* 3129 tests passed
* 61 tests skipped
* 1 test failed

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

### lld
<details>
<summary>lld.wasm/pic-static.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe -filetype=obj -triple=wasm32-unknown-unknown C:\_work\llvm-project\llvm-project\lld\test\wasm/Inputs/ret32.s -o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.ret32.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' -filetype=obj -triple=wasm32-unknown-unknown 'C:\_work\llvm-project\llvm-project\lld\test\wasm/Inputs/ret32.s' -o 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.ret32.o'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe -filetype=obj -triple=wasm32-unknown-unknown C:\_work\llvm-project\llvm-project\lld\test\wasm\pic-static.s -o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' -filetype=obj -triple=wasm32-unknown-unknown 'C:\_work\llvm-project\llvm-project\lld\test\wasm\pic-static.s' -o 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.o'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe --allow-undefined --export-all -o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.wasm C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.ret32.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe' --allow-undefined --export-all -o 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.wasm' 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.o' 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.ret32.o'
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\obj2yaml.exe C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.wasm | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\wasm\pic-static.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\obj2yaml.exe' 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\pic-static.s.tmp.wasm'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lld\test\wasm\pic-static.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\lld\test\wasm\pic-static.s:127:15: error: CHECK-NEXT: is not on the line after the previous match
# | # CHECK-NEXT: Value: 0
# |               ^
# | <stdin>:81:2: note: 'next' match was here
# |  Value: 0
# |  ^
# | <stdin>:62:19: note: previous match ended here
# |  Opcode: I32_CONST
# |                   ^
# | <stdin>:63:1: note: non-matching line after previous match is here
# |  Value: 65536
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\lld\test\wasm\pic-static.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |          76:  - Index: 6 
# |          77:  Type: I32 
# |          78:  Mutable: false 
# |          79:  InitExpr: 
# |          80:  Opcode: I32_CONST 
# |          81:  Value: 0 
# | next:127      !~~~~~~~  error: match on wrong line
# |          82:  - Index: 7 
# |          83:  Type: I32 
# |          84:  Mutable: false 
# |          85:  InitExpr: 
# |          86:  Opcode: I32_CONST 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/193563


More information about the llvm-commits mailing list