[llvm] [llvm-cov] Add inline exclusion marker support for coverage reporting (PR #203724)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 13 13:58:42 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 135773 tests passed
* 3445 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/llvm-cov/exclude-markers.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llvm-cov.exe report C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/exclude-markers/report.covmapping -instr-profile C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/exclude-markers/report.profdata -path-equivalence=/tmp/exclude-markers-source,C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/exclude-markers --exclude-line-regex="" --exclude-region-start-regex="" --exclude-region-stop-regex="" --show-branch-summary=false 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=BASELINE C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\exclude-markers.test
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-cov.exe' report 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/exclude-markers/report.covmapping' -instr-profile 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/exclude-markers/report.profdata' '-path-equivalence=/tmp/exclude-markers-source,C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/exclude-markers' --exclude-line-regex= --exclude-region-start-regex= --exclude-region-stop-regex= --show-branch-summary=false
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=BASELINE 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\exclude-markers.test'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\exclude-markers.test:14:14: error: BASELINE: expected string not found in input
# | // BASELINE: TOTAL
# | ^
# | <stdin>:1:1: note: scanning from here
# | error: failed to load coverage: 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/exclude-markers/report.covmapping': profile uses zlib compression but the profile reader was built without zlib support
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\exclude-markers.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: error: failed to load coverage: 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/exclude-markers/report.covmapping': profile uses zlib compression but the profile reader was built without zlib support
# | check:14 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | >>>>>>
# `-----------------------------
# 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/203724
More information about the llvm-commits
mailing list