Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 645683c

Browse files
committed
Update coverage tests.
1 parent 9673c8a commit 645683c

13 files changed

+69
-44
lines changed

tests/coverage/assert.cov-map

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,16 @@ Number of file 0 mappings: 12
2929
Highest counter ID seen: c3
3030

3131
Function name: assert::might_fail_assert
32-
Raw bytes (36): 0x[01, 01, 01, 01, 05, 06, 01, 04, 01, 00, 28, 01, 01, 05, 00, 0d, 01, 00, 0e, 00, 20, 01, 01, 05, 00, 0f, 02, 00, 25, 00, 3d, 05, 01, 01, 00, 02]
32+
Raw bytes (41): 0x[01, 01, 01, 01, 05, 07, 01, 04, 01, 00, 28, 01, 01, 05, 00, 0d, 01, 00, 0e, 00, 20, 01, 00, 22, 00, 2e, 01, 01, 05, 00, 0f, 02, 00, 25, 00, 3d, 05, 01, 01, 00, 02]
3333
Number of files: 1
3434
- file 0 => $DIR/assert.rs
3535
Number of expressions: 1
3636
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
37-
Number of file 0 mappings: 6
37+
Number of file 0 mappings: 7
3838
- Code(Counter(0)) at (prev + 4, 1) to (start + 0, 40)
3939
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 13)
4040
- Code(Counter(0)) at (prev + 0, 14) to (start + 0, 32)
41+
- Code(Counter(0)) at (prev + 0, 34) to (start + 0, 46)
4142
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 15)
4243
- Code(Expression(0, Sub)) at (prev + 0, 37) to (start + 0, 61)
4344
= (c0 - c1)

tests/coverage/closure.cov-map

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Function name: closure::main
2-
Raw bytes (336): 0x[01, 01, 01, 01, 05, 42, 01, 09, 01, 00, 0a, 01, 04, 09, 00, 10, 01, 00, 13, 00, 2e, 01, 01, 09, 00, 11, 01, 00, 14, 00, 1c, 01, 02, 09, 00, 18, 01, 00, 1b, 00, 43, 01, 01, 05, 00, 0d, 01, 01, 09, 00, 20, 01, 02, 09, 00, 14, 01, 02, 0d, 00, 1b, 01, 0d, 05, 00, 10, 01, 00, 13, 00, 3b, 01, 02, 09, 00, 0a, 01, 0a, 05, 00, 0d, 01, 01, 09, 00, 20, 01, 02, 09, 00, 14, 01, 02, 0d, 00, 1b, 01, 02, 0d, 00, 0e, 01, 04, 05, 00, 10, 01, 00, 13, 00, 17, 01, 01, 05, 00, 0d, 01, 01, 09, 00, 20, 01, 02, 09, 00, 14, 01, 02, 0d, 00, 1b, 01, 0d, 05, 00, 10, 01, 00, 13, 00, 17, 01, 02, 09, 00, 0a, 01, 0a, 05, 00, 0d, 01, 01, 09, 00, 20, 01, 02, 09, 00, 14, 01, 02, 0d, 00, 1b, 01, 02, 0d, 00, 0e, 01, 05, 09, 00, 16, 01, 0a, 05, 00, 0d, 01, 01, 09, 00, 28, 01, 02, 09, 00, 1a, 01, 01, 0e, 00, 12, 01, 01, 0e, 00, 11, 01, 02, 0d, 00, 1a, 01, 02, 0e, 00, 15, 01, 04, 09, 00, 18, 01, 0c, 09, 00, 16, 01, 00, 19, 00, 1b, 01, 01, 09, 00, 1e, 01, 03, 09, 00, 29, 01, 01, 09, 00, 2d, 01, 01, 09, 00, 24, 01, 05, 09, 00, 24, 01, 02, 09, 00, 21, 01, 04, 09, 00, 21, 01, 04, 09, 00, 28, 01, 09, 09, 00, 32, 01, 04, 09, 00, 33, 01, 07, 09, 00, 4b, 01, 08, 09, 00, 48, 01, 0a, 09, 00, 47, 01, 08, 09, 00, 44, 01, 0a, 08, 00, 10, 05, 00, 11, 04, 06, 05, 01, 09, 00, 30, 02, 03, 05, 00, 06, 01, 01, 05, 00, 28, 01, 01, 05, 00, 46, 01, 01, 05, 00, 43, 01, 01, 01, 00, 02]
2+
Raw bytes (321): 0x[01, 01, 01, 01, 05, 3f, 01, 09, 01, 00, 0a, 01, 04, 09, 00, 10, 01, 00, 13, 00, 2e, 01, 01, 09, 00, 11, 01, 00, 14, 00, 1c, 01, 02, 09, 00, 18, 01, 00, 1b, 00, 43, 01, 01, 05, 00, 0d, 01, 01, 09, 00, 20, 01, 02, 09, 00, 14, 01, 02, 0d, 00, 1b, 01, 0d, 05, 00, 10, 01, 00, 13, 00, 3b, 01, 02, 09, 00, 0a, 01, 0a, 05, 00, 0d, 01, 01, 09, 00, 20, 01, 02, 09, 00, 14, 01, 00, 09, 05, 0a, 01, 08, 05, 00, 10, 01, 00, 13, 00, 17, 01, 01, 05, 00, 0d, 01, 01, 09, 00, 20, 01, 02, 09, 00, 14, 01, 02, 0d, 00, 1b, 01, 0d, 05, 00, 10, 01, 00, 13, 00, 17, 01, 02, 09, 00, 0a, 01, 0a, 05, 00, 0d, 01, 01, 09, 00, 20, 01, 02, 09, 00, 14, 01, 00, 09, 05, 0a, 01, 09, 09, 00, 16, 01, 0a, 05, 00, 0d, 01, 01, 09, 00, 28, 01, 02, 09, 00, 1a, 01, 00, 09, 06, 21, 01, 01, 0e, 00, 12, 01, 01, 0e, 00, 11, 01, 08, 09, 00, 18, 01, 0c, 09, 00, 16, 01, 00, 19, 00, 1b, 01, 01, 09, 00, 1e, 01, 03, 09, 00, 29, 01, 01, 09, 00, 2d, 01, 01, 09, 00, 24, 01, 05, 09, 00, 24, 01, 02, 09, 00, 21, 01, 04, 09, 00, 21, 01, 04, 09, 00, 28, 01, 09, 09, 00, 32, 01, 04, 09, 00, 33, 01, 07, 09, 00, 4b, 01, 08, 09, 00, 48, 01, 0a, 09, 00, 47, 01, 08, 09, 00, 44, 01, 0a, 08, 00, 10, 05, 00, 11, 04, 06, 05, 01, 09, 00, 30, 02, 03, 05, 00, 06, 01, 01, 05, 00, 28, 01, 01, 05, 00, 46, 01, 01, 05, 00, 43, 01, 01, 01, 00, 02]
33
Number of files: 1
44
- file 0 => $DIR/closure.rs
55
Number of expressions: 1
66
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
7-
Number of file 0 mappings: 66
7+
Number of file 0 mappings: 63
88
- Code(Counter(0)) at (prev + 9, 1) to (start + 0, 10)
99
- Code(Counter(0)) at (prev + 4, 9) to (start + 0, 16)
1010
- Code(Counter(0)) at (prev + 0, 19) to (start + 0, 46)
@@ -22,9 +22,8 @@ Number of file 0 mappings: 66
2222
- Code(Counter(0)) at (prev + 10, 5) to (start + 0, 13)
2323
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 32)
2424
- Code(Counter(0)) at (prev + 2, 9) to (start + 0, 20)
25-
- Code(Counter(0)) at (prev + 2, 13) to (start + 0, 27)
26-
- Code(Counter(0)) at (prev + 2, 13) to (start + 0, 14)
27-
- Code(Counter(0)) at (prev + 4, 5) to (start + 0, 16)
25+
- Code(Counter(0)) at (prev + 0, 9) to (start + 5, 10)
26+
- Code(Counter(0)) at (prev + 8, 5) to (start + 0, 16)
2827
- Code(Counter(0)) at (prev + 0, 19) to (start + 0, 23)
2928
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 13)
3029
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 32)
@@ -36,17 +35,15 @@ Number of file 0 mappings: 66
3635
- Code(Counter(0)) at (prev + 10, 5) to (start + 0, 13)
3736
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 32)
3837
- Code(Counter(0)) at (prev + 2, 9) to (start + 0, 20)
39-
- Code(Counter(0)) at (prev + 2, 13) to (start + 0, 27)
40-
- Code(Counter(0)) at (prev + 2, 13) to (start + 0, 14)
41-
- Code(Counter(0)) at (prev + 5, 9) to (start + 0, 22)
38+
- Code(Counter(0)) at (prev + 0, 9) to (start + 5, 10)
39+
- Code(Counter(0)) at (prev + 9, 9) to (start + 0, 22)
4240
- Code(Counter(0)) at (prev + 10, 5) to (start + 0, 13)
4341
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 40)
4442
- Code(Counter(0)) at (prev + 2, 9) to (start + 0, 26)
43+
- Code(Counter(0)) at (prev + 0, 9) to (start + 6, 33)
4544
- Code(Counter(0)) at (prev + 1, 14) to (start + 0, 18)
4645
- Code(Counter(0)) at (prev + 1, 14) to (start + 0, 17)
47-
- Code(Counter(0)) at (prev + 2, 13) to (start + 0, 26)
48-
- Code(Counter(0)) at (prev + 2, 14) to (start + 0, 21)
49-
- Code(Counter(0)) at (prev + 4, 9) to (start + 0, 24)
46+
- Code(Counter(0)) at (prev + 8, 9) to (start + 0, 24)
5047
- Code(Counter(0)) at (prev + 12, 9) to (start + 0, 22)
5148
- Code(Counter(0)) at (prev + 0, 25) to (start + 0, 27)
5249
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 30)
@@ -255,12 +252,12 @@ Number of file 0 mappings: 9
255252
Highest counter ID seen: c1
256253

257254
Function name: closure::main::{closure#2}
258-
Raw bytes (51): 0x[01, 01, 01, 01, 05, 09, 01, 68, 05, 00, 06, 01, 01, 0d, 00, 1a, 01, 00, 1d, 00, 1e, 01, 01, 0c, 00, 14, 05, 00, 15, 02, 0a, 02, 02, 09, 00, 0a, 01, 01, 09, 00, 10, 01, 00, 11, 00, 17, 01, 01, 05, 00, 06]
255+
Raw bytes (56): 0x[01, 01, 01, 01, 05, 0a, 01, 68, 05, 00, 06, 01, 01, 0d, 00, 1a, 01, 00, 1d, 00, 1e, 01, 01, 0c, 00, 14, 05, 00, 15, 02, 0a, 02, 02, 09, 00, 0a, 01, 01, 09, 00, 10, 01, 00, 11, 00, 17, 01, 00, 19, 00, 1c, 01, 01, 05, 00, 06]
259256
Number of files: 1
260257
- file 0 => $DIR/closure.rs
261258
Number of expressions: 1
262259
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
263-
Number of file 0 mappings: 9
260+
Number of file 0 mappings: 10
264261
- Code(Counter(0)) at (prev + 104, 5) to (start + 0, 6)
265262
- Code(Counter(0)) at (prev + 1, 13) to (start + 0, 26)
266263
- Code(Counter(0)) at (prev + 0, 29) to (start + 0, 30)
@@ -270,6 +267,7 @@ Number of file 0 mappings: 9
270267
= (c0 - c1)
271268
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 16)
272269
- Code(Counter(0)) at (prev + 0, 17) to (start + 0, 23)
270+
- Code(Counter(0)) at (prev + 0, 25) to (start + 0, 28)
273271
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 6)
274272
Highest counter ID seen: c1
275273

tests/coverage/closure_macro.cov-map

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,22 @@ Number of file 0 mappings: 12
3636
Highest counter ID seen: c1
3737

3838
Function name: closure_macro::main::{closure#0}
39-
Raw bytes (60): 0x[01, 01, 03, 01, 05, 01, 0b, 05, 09, 0a, 01, 10, 1c, 00, 1d, 01, 02, 11, 00, 18, 01, 00, 1b, 00, 22, 01, 01, 10, 00, 21, 05, 01, 11, 00, 19, 05, 00, 1a, 00, 1e, 05, 01, 11, 00, 27, 02, 02, 11, 00, 16, 06, 00, 17, 00, 1e, 01, 02, 09, 00, 0a]
39+
Raw bytes (70): 0x[01, 01, 03, 01, 05, 01, 0b, 05, 09, 0c, 01, 10, 1c, 00, 1d, 01, 02, 11, 00, 18, 01, 00, 1b, 00, 22, 01, 00, 33, 00, 34, 01, 01, 10, 00, 21, 05, 01, 11, 00, 19, 05, 00, 1a, 00, 1e, 05, 00, 20, 00, 27, 05, 01, 11, 00, 27, 02, 02, 11, 00, 16, 06, 00, 17, 00, 1e, 01, 02, 09, 00, 0a]
4040
Number of files: 1
4141
- file 0 => $DIR/closure_macro.rs
4242
Number of expressions: 3
4343
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
4444
- expression 1 operands: lhs = Counter(0), rhs = Expression(2, Add)
4545
- expression 2 operands: lhs = Counter(1), rhs = Counter(2)
46-
Number of file 0 mappings: 10
46+
Number of file 0 mappings: 12
4747
- Code(Counter(0)) at (prev + 16, 28) to (start + 0, 29)
4848
- Code(Counter(0)) at (prev + 2, 17) to (start + 0, 24)
4949
- Code(Counter(0)) at (prev + 0, 27) to (start + 0, 34)
50+
- Code(Counter(0)) at (prev + 0, 51) to (start + 0, 52)
5051
- Code(Counter(0)) at (prev + 1, 16) to (start + 0, 33)
5152
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 25)
5253
- Code(Counter(1)) at (prev + 0, 26) to (start + 0, 30)
54+
- Code(Counter(1)) at (prev + 0, 32) to (start + 0, 39)
5355
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 39)
5456
- Code(Expression(0, Sub)) at (prev + 2, 17) to (start + 0, 22)
5557
= (c0 - c1)

tests/coverage/closure_macro_async.cov-map

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,22 @@ Number of file 0 mappings: 12
4545
Highest counter ID seen: c1
4646

4747
Function name: closure_macro_async::test::{closure#0}::{closure#0}
48-
Raw bytes (60): 0x[01, 01, 03, 01, 05, 01, 0b, 05, 09, 0a, 01, 14, 1c, 00, 1d, 01, 02, 11, 00, 18, 01, 00, 1b, 00, 22, 01, 01, 10, 00, 21, 05, 01, 11, 00, 19, 05, 00, 1a, 00, 1e, 05, 01, 11, 00, 27, 02, 02, 11, 00, 16, 06, 00, 17, 00, 1e, 01, 02, 09, 00, 0a]
48+
Raw bytes (70): 0x[01, 01, 03, 01, 05, 01, 0b, 05, 09, 0c, 01, 14, 1c, 00, 1d, 01, 02, 11, 00, 18, 01, 00, 1b, 00, 22, 01, 00, 33, 00, 34, 01, 01, 10, 00, 21, 05, 01, 11, 00, 19, 05, 00, 1a, 00, 1e, 05, 00, 20, 00, 27, 05, 01, 11, 00, 27, 02, 02, 11, 00, 16, 06, 00, 17, 00, 1e, 01, 02, 09, 00, 0a]
4949
Number of files: 1
5050
- file 0 => $DIR/closure_macro_async.rs
5151
Number of expressions: 3
5252
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
5353
- expression 1 operands: lhs = Counter(0), rhs = Expression(2, Add)
5454
- expression 2 operands: lhs = Counter(1), rhs = Counter(2)
55-
Number of file 0 mappings: 10
55+
Number of file 0 mappings: 12
5656
- Code(Counter(0)) at (prev + 20, 28) to (start + 0, 29)
5757
- Code(Counter(0)) at (prev + 2, 17) to (start + 0, 24)
5858
- Code(Counter(0)) at (prev + 0, 27) to (start + 0, 34)
59+
- Code(Counter(0)) at (prev + 0, 51) to (start + 0, 52)
5960
- Code(Counter(0)) at (prev + 1, 16) to (start + 0, 33)
6061
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 25)
6162
- Code(Counter(1)) at (prev + 0, 26) to (start + 0, 30)
63+
- Code(Counter(1)) at (prev + 0, 32) to (start + 0, 39)
6264
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 39)
6365
- Code(Expression(0, Sub)) at (prev + 2, 17) to (start + 0, 22)
6466
= (c0 - c1)

tests/coverage/drop_trait.cov-map

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Function name: <drop_trait::Firework as core::ops::drop::Drop>::drop
2-
Raw bytes (24): 0x[01, 01, 00, 04, 01, 09, 05, 00, 17, 01, 01, 09, 00, 11, 01, 00, 12, 00, 24, 01, 01, 05, 00, 06]
2+
Raw bytes (29): 0x[01, 01, 00, 05, 01, 09, 05, 00, 17, 01, 01, 09, 00, 11, 01, 00, 12, 00, 24, 01, 00, 26, 00, 33, 01, 01, 05, 00, 06]
33
Number of files: 1
44
- file 0 => $DIR/drop_trait.rs
55
Number of expressions: 0
6-
Number of file 0 mappings: 4
6+
Number of file 0 mappings: 5
77
- Code(Counter(0)) at (prev + 9, 5) to (start + 0, 23)
88
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 17)
99
- Code(Counter(0)) at (prev + 0, 18) to (start + 0, 36)
10+
- Code(Counter(0)) at (prev + 0, 38) to (start + 0, 51)
1011
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 6)
1112
Highest counter ID seen: c0
1213

tests/coverage/generics.cov-map

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Function name: <generics::Firework<f64> as core::ops::drop::Drop>::drop
2-
Raw bytes (24): 0x[01, 01, 00, 04, 01, 11, 05, 00, 17, 01, 01, 09, 00, 11, 01, 00, 12, 00, 24, 01, 01, 05, 00, 06]
2+
Raw bytes (29): 0x[01, 01, 00, 05, 01, 11, 05, 00, 17, 01, 01, 09, 00, 11, 01, 00, 12, 00, 24, 01, 00, 26, 00, 33, 01, 01, 05, 00, 06]
33
Number of files: 1
44
- file 0 => $DIR/generics.rs
55
Number of expressions: 0
6-
Number of file 0 mappings: 4
6+
Number of file 0 mappings: 5
77
- Code(Counter(0)) at (prev + 17, 5) to (start + 0, 23)
88
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 17)
99
- Code(Counter(0)) at (prev + 0, 18) to (start + 0, 36)
10+
- Code(Counter(0)) at (prev + 0, 38) to (start + 0, 51)
1011
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 6)
1112
Highest counter ID seen: c0
1213

@@ -22,14 +23,15 @@ Number of file 0 mappings: 3
2223
Highest counter ID seen: c0
2324

2425
Function name: <generics::Firework<i32> as core::ops::drop::Drop>::drop
25-
Raw bytes (24): 0x[01, 01, 00, 04, 01, 11, 05, 00, 17, 01, 01, 09, 00, 11, 01, 00, 12, 00, 24, 01, 01, 05, 00, 06]
26+
Raw bytes (29): 0x[01, 01, 00, 05, 01, 11, 05, 00, 17, 01, 01, 09, 00, 11, 01, 00, 12, 00, 24, 01, 00, 26, 00, 33, 01, 01, 05, 00, 06]
2627
Number of files: 1
2728
- file 0 => $DIR/generics.rs
2829
Number of expressions: 0
29-
Number of file 0 mappings: 4
30+
Number of file 0 mappings: 5
3031
- Code(Counter(0)) at (prev + 17, 5) to (start + 0, 23)
3132
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 17)
3233
- Code(Counter(0)) at (prev + 0, 18) to (start + 0, 36)
34+
- Code(Counter(0)) at (prev + 0, 38) to (start + 0, 51)
3335
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 6)
3436
Highest counter ID seen: c0
3537

tests/coverage/inline-dead.cov-map

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ Number of file 0 mappings: 5
2525
Highest counter ID seen: c1
2626

2727
Function name: inline_dead::main
28-
Raw bytes (39): 0x[01, 01, 00, 07, 01, 04, 01, 00, 0a, 01, 01, 05, 00, 0d, 01, 00, 0e, 00, 12, 01, 00, 14, 00, 21, 01, 02, 09, 00, 0a, 01, 03, 05, 00, 0d, 01, 01, 01, 00, 02]
28+
Raw bytes (39): 0x[01, 01, 00, 07, 01, 04, 01, 00, 0a, 01, 01, 05, 00, 0d, 01, 00, 0e, 00, 12, 01, 00, 14, 00, 23, 01, 02, 09, 00, 0a, 01, 03, 05, 00, 0d, 01, 01, 01, 00, 02]
2929
Number of files: 1
3030
- file 0 => $DIR/inline-dead.rs
3131
Number of expressions: 0
3232
Number of file 0 mappings: 7
3333
- Code(Counter(0)) at (prev + 4, 1) to (start + 0, 10)
3434
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 13)
3535
- Code(Counter(0)) at (prev + 0, 14) to (start + 0, 18)
36-
- Code(Counter(0)) at (prev + 0, 20) to (start + 0, 33)
36+
- Code(Counter(0)) at (prev + 0, 20) to (start + 0, 35)
3737
- Code(Counter(0)) at (prev + 2, 9) to (start + 0, 10)
3838
- Code(Counter(0)) at (prev + 3, 5) to (start + 0, 13)
3939
- Code(Counter(0)) at (prev + 1, 1) to (start + 0, 2)

tests/coverage/inline.cov-map

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
Function name: inline::display::<char>
2-
Raw bytes (36): 0x[01, 01, 01, 05, 01, 06, 01, 29, 01, 00, 21, 02, 01, 09, 00, 0a, 05, 00, 0e, 00, 10, 02, 00, 11, 02, 06, 01, 03, 05, 00, 0d, 01, 01, 01, 00, 02]
2+
Raw bytes (41): 0x[01, 01, 01, 05, 01, 07, 01, 29, 01, 00, 21, 02, 01, 09, 00, 0a, 05, 00, 0e, 00, 10, 02, 00, 11, 02, 06, 02, 01, 09, 00, 0f, 01, 02, 05, 00, 0d, 01, 01, 01, 00, 02]
33
Number of files: 1
44
- file 0 => $DIR/inline.rs
55
Number of expressions: 1
66
- expression 0 operands: lhs = Counter(1), rhs = Counter(0)
7-
Number of file 0 mappings: 6
7+
Number of file 0 mappings: 7
88
- Code(Counter(0)) at (prev + 41, 1) to (start + 0, 33)
99
- Code(Expression(0, Sub)) at (prev + 1, 9) to (start + 0, 10)
1010
= (c1 - c0)
1111
- Code(Counter(1)) at (prev + 0, 14) to (start + 0, 16)
1212
- Code(Expression(0, Sub)) at (prev + 0, 17) to (start + 2, 6)
1313
= (c1 - c0)
14-
- Code(Counter(0)) at (prev + 3, 5) to (start + 0, 13)
14+
- Code(Expression(0, Sub)) at (prev + 1, 9) to (start + 0, 15)
15+
= (c1 - c0)
16+
- Code(Counter(0)) at (prev + 2, 5) to (start + 0, 13)
1517
- Code(Counter(0)) at (prev + 1, 1) to (start + 0, 2)
1618
Highest counter ID seen: c1
1719

tests/coverage/inner_items.cov-map

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,19 @@ Number of file 0 mappings: 16
5353
Highest counter ID seen: c2
5454

5555
Function name: inner_items::main::in_func
56-
Raw bytes (44): 0x[01, 01, 00, 08, 01, 12, 05, 00, 17, 01, 01, 0d, 00, 0e, 01, 00, 11, 00, 12, 01, 01, 0d, 00, 0e, 01, 00, 11, 00, 16, 01, 01, 09, 00, 11, 01, 00, 12, 00, 1a, 01, 01, 05, 00, 06]
56+
Raw bytes (49): 0x[01, 01, 00, 09, 01, 12, 05, 00, 17, 01, 01, 0d, 00, 0e, 01, 00, 11, 00, 12, 01, 01, 0d, 00, 0e, 01, 00, 11, 00, 16, 01, 01, 09, 00, 11, 01, 00, 12, 00, 1a, 01, 00, 1c, 00, 1d, 01, 01, 05, 00, 06]
5757
Number of files: 1
5858
- file 0 => $DIR/inner_items.rs
5959
Number of expressions: 0
60-
Number of file 0 mappings: 8
60+
Number of file 0 mappings: 9
6161
- Code(Counter(0)) at (prev + 18, 5) to (start + 0, 23)
6262
- Code(Counter(0)) at (prev + 1, 13) to (start + 0, 14)
6363
- Code(Counter(0)) at (prev + 0, 17) to (start + 0, 18)
6464
- Code(Counter(0)) at (prev + 1, 13) to (start + 0, 14)
6565
- Code(Counter(0)) at (prev + 0, 17) to (start + 0, 22)
6666
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 17)
6767
- Code(Counter(0)) at (prev + 0, 18) to (start + 0, 26)
68+
- Code(Counter(0)) at (prev + 0, 28) to (start + 0, 29)
6869
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 6)
6970
Highest counter ID seen: c0
7071

tests/coverage/issue-83601.cov-map

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Function name: issue_83601::main
2-
Raw bytes (76): 0x[01, 01, 01, 05, 09, 0e, 01, 06, 01, 00, 0a, 01, 01, 09, 00, 0c, 01, 00, 0f, 00, 15, 01, 01, 05, 00, 0f, 05, 01, 09, 00, 0c, 05, 00, 0f, 00, 15, 05, 01, 05, 00, 0f, 02, 01, 05, 00, 0d, 02, 00, 0e, 00, 14, 02, 01, 05, 00, 0d, 02, 00, 0e, 00, 14, 02, 01, 05, 00, 0d, 02, 00, 0e, 00, 14, 02, 01, 01, 00, 02]
2+
Raw bytes (91): 0x[01, 01, 01, 05, 09, 11, 01, 06, 01, 00, 0a, 01, 01, 09, 00, 0c, 01, 00, 0f, 00, 15, 01, 01, 05, 00, 0f, 05, 01, 09, 00, 0c, 05, 00, 0f, 00, 15, 05, 01, 05, 00, 0f, 02, 01, 05, 00, 0d, 02, 00, 0e, 00, 14, 02, 00, 16, 00, 1c, 02, 01, 05, 00, 0d, 02, 00, 0e, 00, 14, 02, 00, 16, 00, 19, 02, 01, 05, 00, 0d, 02, 00, 0e, 00, 14, 02, 00, 16, 00, 19, 02, 01, 01, 00, 02]
33
Number of files: 1
44
- file 0 => $DIR/issue-83601.rs
55
Number of expressions: 1
66
- expression 0 operands: lhs = Counter(1), rhs = Counter(2)
7-
Number of file 0 mappings: 14
7+
Number of file 0 mappings: 17
88
- Code(Counter(0)) at (prev + 6, 1) to (start + 0, 10)
99
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 12)
1010
- Code(Counter(0)) at (prev + 0, 15) to (start + 0, 21)
@@ -16,14 +16,20 @@ Number of file 0 mappings: 14
1616
= (c1 - c2)
1717
- Code(Expression(0, Sub)) at (prev + 0, 14) to (start + 0, 20)
1818
= (c1 - c2)
19+
- Code(Expression(0, Sub)) at (prev + 0, 22) to (start + 0, 28)
20+
= (c1 - c2)
1921
- Code(Expression(0, Sub)) at (prev + 1, 5) to (start + 0, 13)
2022
= (c1 - c2)
2123
- Code(Expression(0, Sub)) at (prev + 0, 14) to (start + 0, 20)
2224
= (c1 - c2)
25+
- Code(Expression(0, Sub)) at (prev + 0, 22) to (start + 0, 25)
26+
= (c1 - c2)
2327
- Code(Expression(0, Sub)) at (prev + 1, 5) to (start + 0, 13)
2428
= (c1 - c2)
2529
- Code(Expression(0, Sub)) at (prev + 0, 14) to (start + 0, 20)
2630
= (c1 - c2)
31+
- Code(Expression(0, Sub)) at (prev + 0, 22) to (start + 0, 25)
32+
= (c1 - c2)
2733
- Code(Expression(0, Sub)) at (prev + 1, 1) to (start + 0, 2)
2834
= (c1 - c2)
2935
Highest counter ID seen: c1

0 commit comments

Comments
 (0)