mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +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.)
45 lines
1.9 KiB
Plaintext
45 lines
1.9 KiB
Plaintext
Function name: closure_macro::load_configuration_files
|
|
Raw bytes (9): 0x[01, 01, 00, 01, 01, 1d, 01, 02, 02]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 0
|
|
Number of file 0 mappings: 1
|
|
- Code(Counter(0)) at (prev + 29, 1) to (start + 2, 2)
|
|
Highest counter ID seen: c0
|
|
|
|
Function name: closure_macro::main
|
|
Raw bytes (36): 0x[01, 01, 01, 01, 05, 06, 01, 21, 01, 01, 21, 02, 02, 09, 00, 0f, 01, 00, 12, 00, 54, 05, 00, 54, 00, 55, 02, 02, 09, 02, 0b, 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 = Counter(1)
|
|
Number of file 0 mappings: 6
|
|
- Code(Counter(0)) at (prev + 33, 1) to (start + 1, 33)
|
|
- Code(Expression(0, Sub)) at (prev + 2, 9) to (start + 0, 15)
|
|
= (c0 - c1)
|
|
- Code(Counter(0)) at (prev + 0, 18) to (start + 0, 84)
|
|
- Code(Counter(1)) at (prev + 0, 84) to (start + 0, 85)
|
|
- Code(Expression(0, Sub)) at (prev + 2, 9) to (start + 2, 11)
|
|
= (c0 - c1)
|
|
- Code(Counter(0)) at (prev + 3, 1) to (start + 0, 2)
|
|
Highest counter ID seen: c1
|
|
|
|
Function name: closure_macro::main::{closure#0}
|
|
Raw bytes (35): 0x[01, 01, 03, 01, 05, 05, 0b, 09, 0d, 05, 01, 10, 1c, 03, 21, 05, 04, 11, 01, 27, 02, 03, 11, 00, 16, 0d, 00, 17, 00, 1e, 07, 02, 09, 00, 0a]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 3
|
|
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
|
|
- expression 1 operands: lhs = Counter(1), rhs = Expression(2, Add)
|
|
- expression 2 operands: lhs = Counter(2), rhs = Counter(3)
|
|
Number of file 0 mappings: 5
|
|
- Code(Counter(0)) at (prev + 16, 28) to (start + 3, 33)
|
|
- Code(Counter(1)) at (prev + 4, 17) to (start + 1, 39)
|
|
- Code(Expression(0, Sub)) at (prev + 3, 17) to (start + 0, 22)
|
|
= (c0 - c1)
|
|
- Code(Counter(3)) at (prev + 0, 23) to (start + 0, 30)
|
|
- Code(Expression(1, Add)) at (prev + 2, 9) to (start + 0, 10)
|
|
= (c1 + (c2 + c3))
|
|
Highest counter ID seen: c3
|
|
|