rust/tests/coverage/nested_loops.cov-map
Zalathar 599f95ecc2 coverage: Include the highest counter ID seen in .cov-map dumps
When making changes that have a large impact on coverage counter creation, this
makes it easier to see whether the number of physical counters has changed.

(The highest counter ID seen in coverage maps is not necessarily the same as
the number of physical counters actually used by the instrumented code, but
it's the best approximation we can get from looking only at the coverage maps,
and it should be reasonably accurate in most cases.)
2024-10-11 21:04:37 +11:00

53 lines
3.2 KiB
Plaintext

Function name: nested_loops::main
Raw bytes (115): 0x[01, 01, 17, 01, 57, 05, 09, 03, 0d, 4e, 53, 03, 0d, 15, 19, 4b, 09, 4e, 53, 03, 0d, 15, 19, 46, 05, 4b, 09, 4e, 53, 03, 0d, 15, 19, 42, 19, 46, 05, 4b, 09, 4e, 53, 03, 0d, 15, 19, 05, 09, 11, 0d, 0d, 01, 01, 01, 02, 1b, 03, 04, 13, 00, 20, 4e, 01, 0d, 01, 18, 4b, 02, 12, 00, 17, 46, 01, 10, 00, 16, 05, 01, 11, 00, 16, 42, 01, 0e, 03, 16, 3e, 04, 11, 01, 1b, 11, 02, 15, 00, 21, 15, 01, 18, 02, 12, 19, 03, 0e, 00, 0f, 57, 02, 09, 00, 17, 5b, 02, 01, 00, 02]
Number of files: 1
- file 0 => global file 1
Number of expressions: 23
- expression 0 operands: lhs = Counter(0), rhs = Expression(21, Add)
- expression 1 operands: lhs = Counter(1), rhs = Counter(2)
- expression 2 operands: lhs = Expression(0, Add), rhs = Counter(3)
- expression 3 operands: lhs = Expression(19, Sub), rhs = Expression(20, Add)
- expression 4 operands: lhs = Expression(0, Add), rhs = Counter(3)
- expression 5 operands: lhs = Counter(5), rhs = Counter(6)
- expression 6 operands: lhs = Expression(18, Add), rhs = Counter(2)
- expression 7 operands: lhs = Expression(19, Sub), rhs = Expression(20, Add)
- expression 8 operands: lhs = Expression(0, Add), rhs = Counter(3)
- expression 9 operands: lhs = Counter(5), rhs = Counter(6)
- expression 10 operands: lhs = Expression(17, Sub), rhs = Counter(1)
- expression 11 operands: lhs = Expression(18, Add), rhs = Counter(2)
- expression 12 operands: lhs = Expression(19, Sub), rhs = Expression(20, Add)
- expression 13 operands: lhs = Expression(0, Add), rhs = Counter(3)
- expression 14 operands: lhs = Counter(5), rhs = Counter(6)
- expression 15 operands: lhs = Expression(16, Sub), rhs = Counter(6)
- expression 16 operands: lhs = Expression(17, Sub), rhs = Counter(1)
- expression 17 operands: lhs = Expression(18, Add), rhs = Counter(2)
- expression 18 operands: lhs = Expression(19, Sub), rhs = Expression(20, Add)
- expression 19 operands: lhs = Expression(0, Add), rhs = Counter(3)
- expression 20 operands: lhs = Counter(5), rhs = Counter(6)
- expression 21 operands: lhs = Counter(1), rhs = Counter(2)
- expression 22 operands: lhs = Counter(4), rhs = Counter(3)
Number of file 0 mappings: 13
- Code(Counter(0)) at (prev + 1, 1) to (start + 2, 27)
- Code(Expression(0, Add)) at (prev + 4, 19) to (start + 0, 32)
= (c0 + (c1 + c2))
- Code(Expression(19, Sub)) at (prev + 1, 13) to (start + 1, 24)
= ((c0 + (c1 + c2)) - c3)
- Code(Expression(18, Add)) at (prev + 2, 18) to (start + 0, 23)
= (((c0 + (c1 + c2)) - c3) + (c5 + c6))
- Code(Expression(17, Sub)) at (prev + 1, 16) to (start + 0, 22)
= ((((c0 + (c1 + c2)) - c3) + (c5 + c6)) - c2)
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 22)
- Code(Expression(16, Sub)) at (prev + 1, 14) to (start + 3, 22)
= (((((c0 + (c1 + c2)) - c3) + (c5 + c6)) - c2) - c1)
- Code(Expression(15, Sub)) at (prev + 4, 17) to (start + 1, 27)
= ((((((c0 + (c1 + c2)) - c3) + (c5 + c6)) - c2) - c1) - c6)
- Code(Counter(4)) at (prev + 2, 21) to (start + 0, 33)
- Code(Counter(5)) at (prev + 1, 24) to (start + 2, 18)
- Code(Counter(6)) at (prev + 3, 14) to (start + 0, 15)
- Code(Expression(21, Add)) at (prev + 2, 9) to (start + 0, 23)
= (c1 + c2)
- Code(Expression(22, Add)) at (prev + 2, 1) to (start + 0, 2)
= (c4 + c3)
Highest counter ID seen: c6