[llvm] [CoverageMapping] Fix LineCoverageStats incorrectly using gap region count (PR #203732)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 13 17:18:54 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 175565 tests passed
* 3500 tests skipped
* 12 tests failed

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

### LLVM
<details>
<summary>LLVM.tools/llvm-cov/branch-c-general.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-c-general.test.tmp.profdata
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-c-general.test.tmp.profdata
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --show-branches=count /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-c-general.test.tmp.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-c-general.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --show-branches=count /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-c-general.test.tmp.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.c
# 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/tools/llvm-cov/branch-c-general.test
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov report --show-branch-summary /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-c-general.test.tmp.profdata -show-functions -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-c-general.test -check-prefix=REPORT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov report --show-branch-summary /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-c-general.test.tmp.profdata -show-functions -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.c
# 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/tools/llvm-cov/branch-c-general.test -check-prefix=REPORT
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-c-general.test:121:17: error: REPORT-NEXT: expected string not found in input
# | // REPORT-NEXT: early_exits 20 4 80.00% 25 2 92.00% 16 6 62.50%
# |                 ^
# | <stdin>:5:51: note: scanning from here
# | conditionals 24 0 100.00% 15 0 100.00% 16 2 87.50%
# |                                                   ^
# | <stdin>:6:1: note: possible intended match here
# | early_exits 20 4 80.00% 25 3 88.00% 16 6 62.50%
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-c-general.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: File '/tmp/branch-c-general.c': 
# |             2: Name Regions Miss Cover Lines Miss Cover Branches Miss Cover 
# |             3: ------------------------------------------------------------------------------------------------------------ 
# |             4: simple_loops 8 0 100.00% 9 0 100.00% 6 0 100.00% 
# |             5: conditionals 24 0 100.00% 15 0 100.00% 16 2 87.50% 
# | next:121'0                                                       X error: no match found
# |             6: early_exits 20 4 80.00% 25 3 88.00% 16 6 62.50% 
# | next:121'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:121'1     ?                                                possible intended match
# |             7: jumps 39 12 69.23% 48 4 91.67% 26 9 65.38% 
# | next:121'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             8: switches 28 5 82.14% 38 6 84.21% 28 7 75.00% 
# | next:121'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9: big_switch 25 1 96.00% 32 0 100.00% 30 6 80.00% 
# | next:121'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            10: boolean_operators 16 0 100.00% 13 0 100.00% 22 2 90.91% 
# | next:121'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            11: boolop_loops 19 0 100.00% 14 0 100.00% 16 2 87.50% 
# | next:121'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/llvm-cov/branch-export-lcov-unify-instances.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-export-lcov-unify-instances.test.tmp.profdata
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-export-lcov-unify-instances.test.tmp.profdata
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov export --format=lcov --unify-instantiations=true /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-export-lcov-unify-instances.test.tmp.profdata | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-export-lcov-unify-instances.test -check-prefix=UNIFY
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov export --format=lcov --unify-instantiations=true /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-export-lcov-unify-instances.test.tmp.profdata
# 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/tools/llvm-cov/branch-export-lcov-unify-instances.test -check-prefix=UNIFY
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-export-lcov-unify-instances.test:17:11: error: UNIFY: expected string not found in input
# | // UNIFY: LH:13
# |           ^
# | <stdin>:39:6: note: scanning from here
# | LF:17
# |      ^
# | <stdin>:40:1: note: possible intended match here
# | LH:12
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-export-lcov-unify-instances.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            34: BRDA:32,0,1,1 
# |            35: BRDA:34,0,0,1 
# |            36: BRDA:34,0,1,0 
# |            37: BRF:8 
# |            38: BRH:4 
# |            39: LF:17 
# | check:17'0          X error: no match found
# |            40: LH:12 
# | check:17'0     ~~~~~~
# | check:17'1     ?      possible intended match
# |            41: end_of_record 
# | check:17'0     ~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/llvm-cov/branch-noShowBranch.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-noShowBranch.test.tmp.profdata
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-noShowBranch.test.tmp.profdata
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-noShowBranch.test.tmp.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-noShowBranch.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-noShowBranch.test.tmp.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs
# 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/tools/llvm-cov/branch-noShowBranch.test
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov report /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.o32l --show-branch-summary=false -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-noShowBranch.test.tmp.profdata -show-functions -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-noShowBranch.test -check-prefix=REPORT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov report /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.o32l --show-branch-summary=false -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-noShowBranch.test.tmp.profdata -show-functions -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-c-general.c
# 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/tools/llvm-cov/branch-noShowBranch.test -check-prefix=REPORT
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-noShowBranch.test:23:12: error: REPORT: expected string not found in input
# | // REPORT: TOTAL 197 24 87.82% 234 8 96.58%
# |            ^
# | <stdin>:3:4: note: scanning from here
# | ----------------------------------------------------------------------------------
# |    ^
# | <stdin>:17:1: note: possible intended match here
# | TOTAL 197 24 87.82% 234 13 94.44%
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-noShowBranch.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: File '/tmp/branch-c-general.c': 
# |             2: Name Regions Miss Cover Lines Miss Cover 
# |             3: ---------------------------------------------------------------------------------- 
# | check:23'0        X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             4: simple_loops 8 0 100.00% 9 0 100.00% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5: conditionals 24 0 100.00% 15 0 100.00% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: early_exits 20 4 80.00% 25 3 88.00% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             7: jumps 39 12 69.23% 48 4 91.67% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             8: switches 28 5 82.14% 38 6 84.21% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            12: conditional_operator 4 2 50.00% 8 0 100.00% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            13: do_fallthrough 9 0 100.00% 12 0 100.00% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            14: main 1 0 100.00% 16 0 100.00% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            15: branch-c-general.c:static_func 4 0 100.00% 4 0 100.00% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            16: ---------------------------------------------------------------------------------- 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            17: TOTAL 197 24 87.82% 234 13 94.44% 
# | check:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:23'1     ?                                  possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/llvm-cov/branch-templates.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-templates.test.tmp.profdata
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-templates.test.tmp.profdata
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --show-expansions --show-branches=count /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-templates.test.tmp.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --show-expansions --show-branches=count /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-templates.test.tmp.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs
# 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/tools/llvm-cov/Inputs/branch-templates.cpp
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov report --show-branch-summary /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-templates.test.tmp.profdata -show-functions -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-templates.test -check-prefix=REPORT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov report --show-branch-summary /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.o32l -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/branch-templates.test.tmp.profdata -show-functions -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/branch-templates.cpp
# 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/tools/llvm-cov/branch-templates.test -check-prefix=REPORT
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-templates.test:16:17: error: REPORT-NEXT: expected string not found in input
# | // REPORT-NEXT: _Z4funcIiEiT_ 5 2 60.00% 7 3 57.14% 2 1 50.00%
# |                 ^
# | <stdin>:4:39: note: scanning from here
# | main 7 1 85.71% 10 1 90.00% 6 3 50.00%
# |                                       ^
# | <stdin>:5:1: note: possible intended match here
# | _Z4funcIiEiT_ 5 2 60.00% 7 4 42.86% 2 1 50.00%
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/branch-templates.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: File '/tmp/branch-templates.cpp': 
# |            2: Name Regions Miss Cover Lines Miss Cover Branches Miss Cover 
# |            3: ------------------------------------------------------------------------------------------------------- 
# |            4: main 7 1 85.71% 10 1 90.00% 6 3 50.00% 
# | next:16'0                                           X error: no match found
# |            5: _Z4funcIiEiT_ 5 2 60.00% 7 4 42.86% 2 1 50.00% 
# | next:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:16'1     ?                                               possible intended match
# |            6: _Z4funcIbEiT_ 5 2 60.00% 7 4 42.86% 2 1 50.00% 
# | next:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            7: _Z4funcIfEiT_ 5 2 60.00% 7 4 42.86% 2 1 50.00% 
# | next:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8: ------------------------------------------------------------------------------------------------------- 
# | next:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9: TOTAL 22 7 68.18% 31 13 58.06% 12 6 50.00% 
# | next:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/llvm-cov/coverage_watermark.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --instr-profile=/dev/null -coverage-watermark=foo /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=INVALID-ARG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --instr-profile=/dev/null -coverage-watermark=foo /dev/null
# 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=INVALID-ARG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# note: command had no output on stdout or stderr
# RUN: at line 4
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --instr-profile=/dev/null -coverage-watermark=a,2 /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=INVALID-HIGH /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --instr-profile=/dev/null -coverage-watermark=a,2 /dev/null
# 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=INVALID-HIGH /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# note: command had no output on stdout or stderr
# RUN: at line 7
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --instr-profile=/dev/null -coverage-watermark=10,b /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=INVALID-LOW /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --instr-profile=/dev/null -coverage-watermark=10,b /dev/null
# 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=INVALID-LOW /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# note: command had no output on stdout or stderr
# RUN: at line 10
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --instr-profile=/dev/null -coverage-watermark=10,20 /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=INVALID-ARRANGE /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show --instr-profile=/dev/null -coverage-watermark=10,20 /dev/null
# 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=INVALID-ARRANGE /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# note: command had no output on stdout or stderr
# RUN: at line 13
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.covmapping -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.profdata -format html -show-region-summary -show-instantiation-summary -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/coverage_watermark.test.tmp.html.dir -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.covmapping -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.profdata -format html -show-region-summary -show-instantiation-summary -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/coverage_watermark.test.tmp.html.dir -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp
# note: command had no output on stdout or stderr
# RUN: at line 14
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=ORIGIN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test -input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/coverage_watermark.test.tmp.html.dir/index.html
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=ORIGIN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test -input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/coverage_watermark.test.tmp.html.dir/index.html
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test:22:9: error: ORIGIN: expected string not found in input
# | ORIGIN: 75.00% (9/12)
# |         ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/coverage_watermark.test.tmp.html.dir/index.html:1:1412: note: scanning from here
# | <!doctype html><html><head><meta name='viewport' content='width=device-width,initial-scale=1'><meta charset='UTF-8'><link rel='stylesheet' type='text/css' href='style.css'><script src='control.js'></script></head><body><h2>Coverage Report</h2><h4>Created: 2026-06-13 23:45</h4><p>Click <a href='http://clang.llvm.org/docs/SourceBasedCodeCoverage.html#interpreting-reports'>here</a> for information about interpreting this report.</p><div class='centered'><table><tr><td class='column-entry-bold'>Filename</td><td class='column-entry-bold'>Function Coverage</td><td class='column-entry-bold'>Instantiation Coverage</td><td class='column-entry-bold'>Line Coverage</td><td class='column-entry-bold'>Region Coverage</td><td class='column-entry-bold'>Branch Coverage</td></tr><tr class='light-row'><td><pre><a href='coverage/tmp/showTemplateInstantiations.cpp.html'>tmp/showTemplateInstantiations.cpp</a></pre></td><td class='column-entry-green'><pre> 100.00% (2/2)</pre></td><td class='column-entry-green'><pre> 100.00% (3/3)</pre></td><td class='column-entry-red'><pre> 66.67% (8/12)</pre></td><td class='column-entry-red'><pre> 66.67% (4/6)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row-bold'><td><pre>Totals</pre></td><td class='column-entry-green'><pre> 100.00% (2/2)</pre></td><td class='column-entry-green'><pre> 100.00% (3/3)</pre></td><td class='column-entry-red'><pre> 66.67% (8/12)</pre></td><td class='column-entry-red'><pre> 66.67% (4/6)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr></table></div><h5>Generated by llvm-cov -- llvm version 23.0.0git</h5></body></html>
# |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/coverage_watermark.test.tmp.html.dir/index.html:1:1418: note: possible intended match here
# | <!doctype html><html><head><meta name='viewport' content='width=device-width,initial-scale=1'><meta charset='UTF-8'><link rel='stylesheet' type='text/css' href='style.css'><script src='control.js'></script></head><body><h2>Coverage Report</h2><h4>Created: 2026-06-13 23:45</h4><p>Click <a href='http://clang.llvm.org/docs/SourceBasedCodeCoverage.html#interpreting-reports'>here</a> for information about interpreting this report.</p><div class='centered'><table><tr><td class='column-entry-bold'>Filename</td><td class='column-entry-bold'>Function Coverage</td><td class='column-entry-bold'>Instantiation Coverage</td><td class='column-entry-bold'>Line Coverage</td><td class='column-entry-bold'>Region Coverage</td><td class='column-entry-bold'>Branch Coverage</td></tr><tr class='light-row'><td><pre><a href='coverage/tmp/showTemplateInstantiations.cpp.html'>tmp/showTemplateInstantiations.cpp</a></pre></td><td class='column-entry-green'><pre> 100.00% (2/2)</pre></td><td class='column-entry-green'><pre> 100.00% (3/3)</pre></td><td class='column-entry-red'><pre> 66.67% (8/12)</pre></td><td class='column-entry-red'><pre> 66.67% (4/6)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row-bold'><td><pre>Totals</pre></td><td class='column-entry-green'><pre> 100.00% (2/2)</pre></td><td class='column-entry-green'><pre> 100.00% (3/3)</pre></td><td class='column-entry-red'><pre> 66.67% (8/12)</pre></td><td class='column-entry-red'><pre> 66.67% (4/6)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr></table></div><h5>Generated by llvm-cov -- llvm version 23.0.0git</h5></body></html>
# |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
# | 
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/coverage_watermark.test.tmp.html.dir/index.html
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/coverage_watermark.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: <!doctype html><html><head><meta name='viewport' content='width=device-width,initial-scale=1'><meta charset='UTF-8'><link rel='stylesheet' type='text/css' href='style.css'><script src='control.js'></script></head><body><h2>Coverage Report</h2><h4>Created: 2026-06-13 23:45</h4><p>Click <a href='http://clang.llvm.org/docs/SourceBasedCodeCoverage.html#interpreting-reports'>here</a> for information about interpreting this report.</p><div class='centered'><table><tr><td class='column-entry-bold'>Filename</td><td class='column-entry-bold'>Function Coverage</td><td class='column-entry-bold'>Instantiation Coverage</td><td class='column-entry-bold'>Line Coverage</td><td class='column-entry-bold'>Region Coverage</td><td class='column-entry-bold'>Branch Coverage</td></tr><tr class='light-row'><td><pre><a href='coverage/tmp/showTemplateInstantiations.cpp.html'>tmp/showTemplateInstantiations.cpp</a></pre></td><td class='column-entry-green'><pre> 100.00% (2/2)</pre></td><td class='column-entry-green'><pre> 100.00% (3/3)</pre></td><td class='column-entry-red'><pre> 66.67% (8/12)</pre></td><td class='column-entry-red'><pre> 66.67% (4/6)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row-bold'><td><pre>Totals</pre></td><td class='column-entry-green'><pre> 100.00% (2/2)</pre></td><td class='column-entry-green'><pre> 100.00% (3/3)</pre></td><td class='column-entry-red'><pre> 66.67% (8/12)</pre></td><td class='column-entry-red'><pre> 66.67% (4/6)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr></table></div><h5>Generated by llvm-cov -- llvm version 23.0.0git</h5></body></html>
# | check:22'0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:22'1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ?                                                                                                                                                                                                                                possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/llvm-cov/deferred-region.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/deferred-regions.covmapping -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/deferred-regions.profdata -show-line-counts-or-regions -dump -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/deferred-region.cpp 2>/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.markers > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.out && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/deferred-region.cpp -input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.out && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/deferred-region.cpp -input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.markers -check-prefix=MARKER
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/deferred-regions.covmapping -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/deferred-regions.profdata -show-line-counts-or-regions -dump -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/deferred-region.cpp
# 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/tools/llvm-cov/deferred-region.cpp -input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.out
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/deferred-region.cpp:13:13: error: CHECK: expected string not found in input
# | } // CHECK: [[@LINE]]|{{ +}}1|
# |             ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.out:29:8: note: scanning from here
# |  28| 1|
# |        ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.out:29:8: note: with "@LINE" equal to "13"
# |  28| 1|
# |        ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.out:50:3: note: possible intended match here
# |  49| 1|
# |   ^
# | 
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-cov/Output/deferred-region.cpp.tmp.out
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/deferred-region.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            24:  23| 1| if (i % 5 == 0) // CHECK: [[@LINE]]|{{ +}}1| 
# |            25:  24| 0| break; // CHECK: [[@LINE]]|{{ +}}0| 
# |            26:  25| 0| 
# |            27:  26| 1| int x = i; 
# |            28:  27| 1| return; // CHECK: [[@LINE]]|{{ +}}1| 
# |            29:  28| 1| 
# | check:13'0            X error: no match found
# | check:13'1              with "@LINE" equal to "13"
# |            30:  29| 1| } // CHECK: [[@LINE]]|{{ +}}1| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            31:  30| 1|} 
# | check:13'0     ~~~~~~~~~
# |            32:  31| | 
# | check:13'0     ~~~~~~~
# |            33:  32| |struct Error {}; 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            34:  33| | 
# | check:13'0     ~~~~~~~
# |             .
# |             .
# |             .
# |            45:  44| 1| if (x == 3) // CHECK: [[@LINE]]|{{ +}}1| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            46:  45| 1| break; // CHECK: [[@LINE]]|{{ +}}1| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            47:  46| 0| // CHECK: [[@LINE]]|{{ +}}0| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            48:  47| 0| while (++x < 5) {} // CHECK: [[@LINE]]|{{ +}}0| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            49:  48| 1| } // CHECK: [[@LINE]]|{{ +}}0| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            50:  49| 1| 
# | check:13'0     ~~~~~~~~
# | check:13'2       ?      possible intended match
# |            51:  50| 1| if (x == 0) // CHECK: [[@LINE]]|{{ +}}1| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            52:  51| 0| throw Error(); // CHECK: [[@LINE]]|{{ +}}0| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            53:  52| 0| // CHECK: [[@LINE]]|{{ +}}1| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            54:  53| 6| while (++x < 9) { // CHECK: [[@LINE]]|{{ +}}6| 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            55:  ^1 
# | check:13'0     ~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/llvm-cov/report.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov report /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/report.covmapping -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/report.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov 2>&1 -show-region-summary -show-instantiation-summary | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/report.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov report /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/report.covmapping -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/report.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov -show-region-summary -show-instantiation-summary
# 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/tools/llvm-cov/report.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/report.cpp:10:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: report.cpp 6 2 66.67% 4 1 75.00% 4 1 75.00% 13 3 76.92%
# |                ^
# | <stdin>:2:4: note: scanning from here
# | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# |    ^
# | <stdin>:3:6: note: possible intended match here
# | /tmp/report.cpp 6 2 66.67% 4 1 75.00% 4 1 75.00% 13 2 84.62% 0 0 -
# |      ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/report.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: Filename Regions Missed Regions Cover Functions Missed Functions Executed Instantiations Missed Insts. Executed Lines Missed Lines Cover Branches Missed Branches Cover 
# |            2: ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
# | next:10'0        X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            3: /tmp/report.cpp 6 2 66.67% 4 1 75.00% 4 1 75.00% 13 2 84.62% 0 0 - 
# | next:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:10'1          ?                                                              possible intended match
# |            4: ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
# | next:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5: TOTAL 6 2 66.67% 4 1 75.00% 4 1 75.00% 13 2 84.62% 0 0 - 
# | next:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/llvm-cov/showTemplateInstantiations.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.covmapping -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=SHARED,ALL /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-cov show /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.covmapping -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=SHARED,ALL /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp:10:20: error: ALL-NEXT: expected string not found in input
# |  else // ALL-NEXT: [[@LINE]]| 1| else
# |                    ^
# | <stdin>:9:17: note: scanning from here
# |  9| 1| return 0; // ALL-NEXT: [[@LINE]]| 1| return 0;
# |                 ^
# | <stdin>:9:17: note: with "@LINE" equal to "10"
# |  9| 1| return 0; // ALL-NEXT: [[@LINE]]| 1| return 0;
# |                 ^
# | <stdin>:10:35: note: possible intended match here
# |  10| 0| else // ALL-NEXT: [[@LINE]]| 1| else
# |                                   ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1:  1| |// RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %s | FileCheck -check-prefixes=SHARED,ALL %s 
# |            2:  2| |// RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S -name=_Z4funcIbEiT_ %s | FileCheck -check-prefixes=SHARED,FILTER %s 
# |            3:  3| | 
# |            4:  4| |// before coverage // ALL: [[@LINE]]| |// before 
# |            5:  5| | // FILTER-NOT:[[@LINE-1]]| |// before 
# |            6:  6| |template<typename T> // ALL: [[@LINE]]| |template<typename T> 
# |            7:  7| 2|int func(T x) { // ALL-NEXT: [[@LINE]]| 2|int func(T x) { 
# |            8:  8| 2| if(x) // ALL-NEXT: [[@LINE]]| 2| if(x) 
# |            9:  9| 1| return 0; // ALL-NEXT: [[@LINE]]| 1| return 0; 
# | next:10'0                     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | next:10'1                                                            with "@LINE" equal to "10"
# |           10:  10| 0| else // ALL-NEXT: [[@LINE]]| 1| else 
# | next:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:10'2                                       ?           possible intended match
# |           11:  11| 1| return 1; // ALL-NEXT: [[@LINE]]| 1| return 1; 
# | next:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           12:  12| 0| int j = 1; // ALL-NEXT: [[@LINE]]| 0| int j = 1; 
# | next:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           13:  13| 0|} // ALL-NEXT: [[@LINE]]| 0|} 
# | next:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14:  ------------------ 
# | next:10'0     ~~~~~~~~~~~~~~~~~~~~
# |           15:  | _Z4funcIiEiT_: 
# | next:10'0     ~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

### LLVM-Unit
<details>
<summary>LLVM-Unit.ProfileData/_/ProfileDataTests/ParameterizedCovMapTest/CoverageMappingTest/test_line_coverage_iterator/0</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ProfileData/./ProfileDataTests --gtest_filter=ParameterizedCovMapTest/CoverageMappingTest.test_line_coverage_iterator/0
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:770
Expected equality of these values:
  LineCounts[Line]
    Which is: 10
  LCS.getExecutionCount()
    Which is: 30


```
</details>
<details>
<summary>LLVM-Unit.ProfileData/_/ProfileDataTests/ParameterizedCovMapTest/CoverageMappingTest/test_line_coverage_iterator/1</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ProfileData/./ProfileDataTests --gtest_filter=ParameterizedCovMapTest/CoverageMappingTest.test_line_coverage_iterator/1
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:770
Expected equality of these values:
  LineCounts[Line]
    Which is: 10
  LCS.getExecutionCount()
    Which is: 30


```
</details>
<details>
<summary>LLVM-Unit.ProfileData/_/ProfileDataTests/ParameterizedCovMapTest/CoverageMappingTest/test_line_coverage_iterator/2</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ProfileData/./ProfileDataTests --gtest_filter=ParameterizedCovMapTest/CoverageMappingTest.test_line_coverage_iterator/2
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:770
Expected equality of these values:
  LineCounts[Line]
    Which is: 10
  LCS.getExecutionCount()
    Which is: 30


```
</details>
<details>
<summary>LLVM-Unit.ProfileData/_/ProfileDataTests/ParameterizedCovMapTest/CoverageMappingTest/test_line_coverage_iterator/3</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ProfileData/./ProfileDataTests --gtest_filter=ParameterizedCovMapTest/CoverageMappingTest.test_line_coverage_iterator/3
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:770
Expected equality of these values:
  LineCounts[Line]
    Which is: 10
  LCS.getExecutionCount()
    Which is: 30


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


More information about the llvm-commits mailing list