[clang] [compiler-rt] [llvm] [Coverage] Add MacroExpansionRegion and --ignore-branch-in-macro (PR #204517)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 18 00:16:51 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 135994 tests passed
* 3458 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/llvm-cov/macro-expansion-filter.test</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 10
c:\_work\llvm-project\llvm-project\build\bin\llvm-profdata.exe merge C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/macro-filter-test.proftext -o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-cov\Output\macro-expansion-filter.test.tmp.profdata
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-profdata.exe' merge 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/macro-filter-test.proftext' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-cov\Output\macro-expansion-filter.test.tmp.profdata'
# note: command had no output on stdout or stderr
# RUN: at line 11
c:\_work\llvm-project\llvm-project\build\bin\llvm-cov.exe report C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/macro-filter-test.o -instr-profile C:\_work\llvm-project\llvm-project\build\test\tools\llvm-cov\Output\macro-expansion-filter.test.tmp.profdata --show-branch-summary -path-equivalence=/tmp,C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\macro-expansion-filter.test -check-prefix=WITHOUT-FILTER
# 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/macro-filter-test.o' -instr-profile 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-cov\Output\macro-expansion-filter.test.tmp.profdata' --show-branch-summary '-path-equivalence=/tmp,C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs'
# .---command stderr------------
# | error: failed to load coverage: 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/macro-filter-test.o': profile uses zlib compression but the profile reader was built without zlib support
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\macro-expansion-filter.test' -check-prefix=WITHOUT-FILTER
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\macro-expansion-filter.test -check-prefix=WITHOUT-FILTER
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.tools/llvm-cov/macro-vs-include.test</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 13
c:\_work\llvm-project\llvm-project\build\bin\llvm-profdata.exe merge C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/macro-vs-include.proftext -o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-cov\Output\macro-vs-include.test.tmp.profdata
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-profdata.exe' merge 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/macro-vs-include.proftext' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-cov\Output\macro-vs-include.test.tmp.profdata'
# note: command had no output on stdout or stderr
# RUN: at line 14
c:\_work\llvm-project\llvm-project\build\bin\llvm-cov.exe report C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/macro-vs-include.o -instr-profile C:\_work\llvm-project\llvm-project\build\test\tools\llvm-cov\Output\macro-vs-include.test.tmp.profdata --show-branch-summary -path-equivalence=/tmp,C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\macro-vs-include.test -check-prefix=WITHOUT-FILTER
# 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/macro-vs-include.o' -instr-profile 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-cov\Output\macro-vs-include.test.tmp.profdata' --show-branch-summary '-path-equivalence=/tmp,C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs'
# .---command stderr------------
# | error: failed to load coverage: 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov/Inputs/macro-vs-include.o': profile uses zlib compression but the profile reader was built without zlib support
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\macro-vs-include.test' -check-prefix=WITHOUT-FILTER
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-cov\macro-vs-include.test -check-prefix=WITHOUT-FILTER
# `-----------------------------
# error: command failed with exit status: 2
--
```
</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/204517
More information about the cfe-commits
mailing list