mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
599f95ecc2
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.)
20 lines
897 B
Plaintext
20 lines
897 B
Plaintext
Function name: if_else::main
|
|
Raw bytes (43): 0x[01, 01, 02, 01, 05, 01, 09, 07, 01, 04, 01, 08, 10, 05, 09, 05, 05, 06, 02, 08, 09, 02, 10, 01, 06, 09, 00, 10, 09, 01, 05, 05, 06, 06, 07, 05, 05, 06, 01, 06, 01, 00, 02]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 2
|
|
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
|
|
- expression 1 operands: lhs = Counter(0), rhs = Counter(2)
|
|
Number of file 0 mappings: 7
|
|
- Code(Counter(0)) at (prev + 4, 1) to (start + 8, 16)
|
|
- Code(Counter(1)) at (prev + 9, 5) to (start + 5, 6)
|
|
- Code(Expression(0, Sub)) at (prev + 8, 9) to (start + 2, 16)
|
|
= (c0 - c1)
|
|
- Code(Counter(0)) at (prev + 6, 9) to (start + 0, 16)
|
|
- Code(Counter(2)) at (prev + 1, 5) to (start + 5, 6)
|
|
- Code(Expression(1, Sub)) at (prev + 7, 5) to (start + 5, 6)
|
|
= (c0 - c2)
|
|
- Code(Counter(0)) at (prev + 6, 1) to (start + 0, 2)
|
|
Highest counter ID seen: c2
|
|
|