mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +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.)
15 lines
572 B
Plaintext
15 lines
572 B
Plaintext
Function name: while::main
|
|
Raw bytes (26): 0x[01, 01, 01, 01, 00, 04, 01, 01, 01, 01, 10, 03, 02, 0b, 00, 14, 00, 00, 15, 02, 06, 01, 03, 01, 00, 02]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 1
|
|
- expression 0 operands: lhs = Counter(0), rhs = Zero
|
|
Number of file 0 mappings: 4
|
|
- Code(Counter(0)) at (prev + 1, 1) to (start + 1, 16)
|
|
- Code(Expression(0, Add)) at (prev + 2, 11) to (start + 0, 20)
|
|
= (c0 + Zero)
|
|
- Code(Zero) at (prev + 0, 21) to (start + 2, 6)
|
|
- Code(Counter(0)) at (prev + 3, 1) to (start + 0, 2)
|
|
Highest counter ID seen: c0
|
|
|