rust/tests/coverage/simple_loop.cov-map
Zalathar 4d5a1acebf coverage: Only merge adjacent coverage spans
This also removes some manipulation of the function signature span that only
made sense in the context of merging non-adjacent spans.
2025-05-06 20:42:25 +10:00

28 lines
1.4 KiB
Plaintext

Function name: simple_loop::main
Raw bytes (75): 0x[01, 01, 03, 01, 05, 09, 01, 09, 01, 0d, 01, 04, 01, 00, 0a, 01, 04, 09, 00, 10, 01, 00, 13, 00, 2e, 01, 02, 09, 00, 16, 01, 00, 19, 00, 1a, 01, 03, 09, 00, 10, 05, 01, 05, 05, 06, 02, 05, 05, 00, 06, 09, 05, 0d, 02, 0e, 01, 04, 0d, 00, 12, 0a, 02, 09, 00, 0a, 0a, 01, 09, 02, 0a, 01, 05, 01, 00, 02]
Number of files: 1
- file 0 => $DIR/simple_loop.rs
Number of expressions: 3
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
- expression 1 operands: lhs = Counter(2), rhs = Counter(0)
- expression 2 operands: lhs = Counter(2), rhs = Counter(0)
Number of file 0 mappings: 13
- Code(Counter(0)) at (prev + 4, 1) to (start + 0, 10)
- Code(Counter(0)) at (prev + 4, 9) to (start + 0, 16)
- Code(Counter(0)) at (prev + 0, 19) to (start + 0, 46)
- Code(Counter(0)) at (prev + 2, 9) to (start + 0, 22)
- Code(Counter(0)) at (prev + 0, 25) to (start + 0, 26)
- Code(Counter(0)) at (prev + 3, 9) to (start + 0, 16)
- Code(Counter(1)) at (prev + 1, 5) to (start + 5, 6)
- Code(Expression(0, Sub)) at (prev + 5, 5) to (start + 0, 6)
= (c0 - c1)
- Code(Counter(2)) at (prev + 5, 13) to (start + 2, 14)
- Code(Counter(0)) at (prev + 4, 13) to (start + 0, 18)
- Code(Expression(2, Sub)) at (prev + 2, 9) to (start + 0, 10)
= (c2 - c0)
- Code(Expression(2, Sub)) at (prev + 1, 9) to (start + 2, 10)
= (c2 - c0)
- Code(Counter(0)) at (prev + 5, 1) to (start + 0, 2)
Highest counter ID seen: c2