1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/tools/llvm-cov/Inputs/branch-c-general.proftext
Alan Phipps f85fa6973c [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

207 lines
1.2 KiB
Plaintext

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