[lld] [lld][WebAssembly] Drop llvm_cov sections when llvm_prf segments are discarded (PR #172023)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 19 20:48:33 PST 2025


github-actions[bot] wrote:

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

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

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

### lld
<details>
<summary>lld.wasm/malformed-prf.ll</summary>

```
Exit Code: 127

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -filetype=obj C:\_work\llvm-project\llvm-project\lld\test\wasm\malformed-prf.ll -o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.instr-prof.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -filetype=obj 'C:\_work\llvm-project\llvm-project\lld\test\wasm\malformed-prf.ll' -o 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.instr-prof.o'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -filetype=obj C:\_work\llvm-project\llvm-project\lld\test\wasm/Inputs/malformed-prf1.ll -o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.malformed-prf1.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -filetype=obj 'C:\_work\llvm-project\llvm-project\lld\test\wasm/Inputs/malformed-prf1.ll' -o 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.malformed-prf1.o'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -filetype=obj C:\_work\llvm-project\llvm-project\lld\test\wasm/Inputs/malformed-prf2.ll -o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.malformed-prf2.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -filetype=obj 'C:\_work\llvm-project\llvm-project\lld\test\wasm/Inputs/malformed-prf2.ll' -o 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.malformed-prf2.o'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe -o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.wasm C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.instr-prof.o C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.malformed-prf1.o --start-lib C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.malformed-prf2.o --end-lib --gc-sections --no-entry
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe' -o 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.wasm' 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.instr-prof.o' 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.malformed-prf1.o' --start-lib 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.malformed-prf2.o' --end-lib --gc-sections --no-entry
# note: command had no output on stdout or stderr
# RUN: at line 5
llvm-cov export --object C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.wasm --empty-profile
# executed command: llvm-cov export --object 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\Output\malformed-prf.ll.tmp.wasm' --empty-profile
# .---command stderr------------
# | 'llvm-cov': command not found
# `-----------------------------
# error: command failed with exit status: 127

--

```
</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/172023


More information about the llvm-commits mailing list