Files
clang-p2996/clang/test/Profile/Inputs/c-general.proftext
Alan Phipps 9f2967bcfe [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage
This is an enhancement to LLVM Source-Based Code Coverage in clang to track how
many times individual branch-generating conditions are taken (evaluate to TRUE)
and not taken (evaluate to FALSE).  Individual conditions may comprise larger
boolean expressions using boolean logical operators.  This functionality is
very similar to what is supported by GCOV except that it is very closely
anchored to the ASTs.

Differential Revision: https://reviews.llvm.org/D84467
2021-01-05 09:51:51 -06:00

170 lines
689 B
Plaintext

simple_loops
1245818015463121
4
1
100
100
75
conditionals
4904767535850050386
13
1
100
50
50
33
33
16
99
100
99
99
100
1
early_exits
2880354649761471549
9
1
0
51
1
25
1
25
1
0
jumps
15051420506203462683
22
1
1
0
1
0
0
1
0
1
2
3
2
0
3
0
1
1
1
10
0
10
9
switches
43242458792028222
19
1
1
1
15
7
1
0
2
2
3
3
4
4
0
4
4
5
1
0
big_switch
13144136522122330070
17
1
32
32
1
0
1
1
11
11
1
1
15
15
1
1
2
2
boolean_operators
1245693242827665
14
1
100
34
1
66
66
17
1
34
17
33
33
50
33
boolop_loops
12402604614320574815
13
1
50
51
50
50
26
1
50
51
50
50
26
1
conditional_operator
54992
3
1
0
1
do_fallthrough
8714614136504380050
4
1
10
2
8
main
24
1
1
c-general.c:static_func
18129
2
1
10