coverage: Shrink call spans to just the function name
This is a way to shrink call spans that doesn't involve mixing different spans, and avoids overlap with argument spans. This patch also removes some low-value comments that were causing rustfmt to ignore the match arms.
This commit is contained in:
parent
e80a3e2232
commit
577272eede
22 changed files with 106 additions and 106 deletions
|
@ -120,22 +120,20 @@ fn filtered_terminator_span(terminator: &Terminator<'_>) -> Option<Span> {
|
|||
// an `if condition { block }` has a span that includes the executed block, if true,
|
||||
// but for coverage, the code region executed, up to *and* through the SwitchInt,
|
||||
// actually stops before the if's block.)
|
||||
TerminatorKind::Unreachable // Unreachable blocks are not connected to the MIR CFG
|
||||
TerminatorKind::Unreachable
|
||||
| TerminatorKind::Assert { .. }
|
||||
| TerminatorKind::Drop { .. }
|
||||
| TerminatorKind::SwitchInt { .. }
|
||||
// For `FalseEdge`, only the `real` branch is taken, so it is similar to a `Goto`.
|
||||
| TerminatorKind::FalseEdge { .. }
|
||||
| TerminatorKind::Goto { .. } => None,
|
||||
|
||||
// Call `func` operand can have a more specific span when part of a chain of calls
|
||||
TerminatorKind::Call { ref func, .. }
|
||||
| TerminatorKind::TailCall { ref func, .. } => {
|
||||
TerminatorKind::Call { ref func, .. } | TerminatorKind::TailCall { ref func, .. } => {
|
||||
let mut span = terminator.source_info.span;
|
||||
if let mir::Operand::Constant(box constant) = func {
|
||||
if constant.span.lo() > span.lo() {
|
||||
span = span.with_lo(constant.span.lo());
|
||||
}
|
||||
if let mir::Operand::Constant(constant) = func
|
||||
&& span.contains(constant.span)
|
||||
{
|
||||
span = constant.span;
|
||||
}
|
||||
Some(span)
|
||||
}
|
||||
|
@ -147,9 +145,7 @@ fn filtered_terminator_span(terminator: &Terminator<'_>) -> Option<Span> {
|
|||
| TerminatorKind::Yield { .. }
|
||||
| TerminatorKind::CoroutineDrop
|
||||
| TerminatorKind::FalseUnwind { .. }
|
||||
| TerminatorKind::InlineAsm { .. } => {
|
||||
Some(terminator.source_info.span)
|
||||
}
|
||||
| TerminatorKind::InlineAsm { .. } => Some(terminator.source_info.span),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
Function name: assert_ne::main
|
||||
Raw bytes (28): 0x[01, 01, 02, 01, 05, 01, 09, 04, 01, 08, 01, 03, 1c, 05, 04, 0d, 00, 13, 02, 02, 0d, 00, 13, 06, 03, 05, 01, 02]
|
||||
Raw bytes (28): 0x[01, 01, 02, 01, 05, 01, 09, 04, 01, 08, 01, 03, 15, 05, 04, 0d, 00, 13, 02, 02, 0d, 00, 13, 06, 03, 05, 01, 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: 4
|
||||
- Code(Counter(0)) at (prev + 8, 1) to (start + 3, 28)
|
||||
- Code(Counter(0)) at (prev + 8, 1) to (start + 3, 21)
|
||||
- Code(Counter(1)) at (prev + 4, 13) to (start + 0, 19)
|
||||
- Code(Expression(0, Sub)) at (prev + 2, 13) to (start + 0, 19)
|
||||
= (c0 - c1)
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
Function name: off_on_sandwich::dense_a::dense_b
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 10, 05, 02, 12, 01, 07, 05, 00, 06]
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 10, 05, 02, 10, 01, 07, 05, 00, 06]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 2
|
||||
- Code(Counter(0)) at (prev + 16, 5) to (start + 2, 18)
|
||||
- Code(Counter(0)) at (prev + 16, 5) to (start + 2, 16)
|
||||
- Code(Counter(0)) at (prev + 7, 5) to (start + 0, 6)
|
||||
Highest counter ID seen: c0
|
||||
|
||||
Function name: off_on_sandwich::sparse_a::sparse_b::sparse_c
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 22, 09, 02, 17, 01, 0b, 09, 00, 0a]
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 22, 09, 02, 15, 01, 0b, 09, 00, 0a]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 2
|
||||
- Code(Counter(0)) at (prev + 34, 9) to (start + 2, 23)
|
||||
- Code(Counter(0)) at (prev + 34, 9) to (start + 2, 21)
|
||||
- Code(Counter(0)) at (prev + 11, 9) to (start + 0, 10)
|
||||
Highest counter ID seen: c0
|
||||
|
||||
Function name: off_on_sandwich::sparse_a::sparse_b::sparse_c::sparse_d
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 25, 0d, 02, 1b, 01, 07, 0d, 00, 0e]
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 25, 0d, 02, 19, 01, 07, 0d, 00, 0e]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 2
|
||||
- Code(Counter(0)) at (prev + 37, 13) to (start + 2, 27)
|
||||
- Code(Counter(0)) at (prev + 37, 13) to (start + 2, 25)
|
||||
- Code(Counter(0)) at (prev + 7, 13) to (start + 0, 14)
|
||||
Highest counter ID seen: c0
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ Number of file 0 mappings: 8
|
|||
Highest counter ID seen: c2
|
||||
|
||||
Function name: if::branch_not
|
||||
Raw bytes (116): 0x[01, 01, 07, 01, 05, 01, 09, 01, 09, 01, 0d, 01, 0d, 01, 11, 01, 11, 12, 01, 0c, 01, 01, 10, 01, 03, 08, 00, 09, 20, 05, 02, 00, 08, 00, 09, 05, 01, 09, 00, 11, 02, 01, 05, 00, 06, 01, 01, 08, 00, 0a, 20, 0a, 09, 00, 08, 00, 0a, 0a, 00, 0b, 02, 06, 09, 02, 05, 00, 06, 01, 01, 08, 00, 0b, 20, 0d, 12, 00, 08, 00, 0b, 0d, 00, 0c, 02, 06, 12, 02, 05, 00, 06, 01, 01, 08, 00, 0c, 20, 1a, 11, 00, 08, 00, 0c, 1a, 00, 0d, 02, 06, 11, 02, 05, 00, 06, 01, 01, 01, 00, 02]
|
||||
Raw bytes (116): 0x[01, 01, 07, 01, 05, 01, 09, 01, 09, 01, 0d, 01, 0d, 01, 11, 01, 11, 12, 01, 0c, 01, 01, 10, 01, 03, 08, 00, 09, 20, 05, 02, 00, 08, 00, 09, 05, 01, 09, 00, 10, 02, 01, 05, 00, 06, 01, 01, 08, 00, 0a, 20, 0a, 09, 00, 08, 00, 0a, 0a, 00, 0b, 02, 06, 09, 02, 05, 00, 06, 01, 01, 08, 00, 0b, 20, 0d, 12, 00, 08, 00, 0b, 0d, 00, 0c, 02, 06, 12, 02, 05, 00, 06, 01, 01, 08, 00, 0c, 20, 1a, 11, 00, 08, 00, 0c, 1a, 00, 0d, 02, 06, 11, 02, 05, 00, 06, 01, 01, 01, 00, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 7
|
||||
|
@ -40,7 +40,7 @@ Number of file 0 mappings: 18
|
|||
- Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 0, 8) to (start + 0, 9)
|
||||
true = c1
|
||||
false = (c0 - c1)
|
||||
- Code(Counter(1)) at (prev + 1, 9) to (start + 0, 17)
|
||||
- Code(Counter(1)) at (prev + 1, 9) to (start + 0, 16)
|
||||
- Code(Expression(0, Sub)) at (prev + 1, 5) to (start + 0, 6)
|
||||
= (c0 - c1)
|
||||
- Code(Counter(0)) at (prev + 1, 8) to (start + 0, 10)
|
||||
|
|
|
@ -34,7 +34,7 @@ Number of file 0 mappings: 6
|
|||
Highest counter ID seen: c1
|
||||
|
||||
Function name: lazy_boolean::chain
|
||||
Raw bytes (141): 0x[01, 01, 0f, 01, 05, 05, 09, 09, 0d, 01, 11, 01, 11, 01, 3b, 11, 15, 01, 3b, 11, 15, 01, 37, 3b, 19, 11, 15, 01, 37, 3b, 19, 11, 15, 13, 01, 24, 01, 01, 10, 01, 04, 09, 00, 0a, 01, 00, 0d, 00, 12, 20, 05, 02, 00, 0d, 00, 12, 05, 00, 16, 00, 1b, 20, 09, 06, 00, 16, 00, 1b, 09, 00, 1f, 00, 24, 20, 0d, 0a, 00, 1f, 00, 24, 0d, 00, 28, 00, 2d, 01, 01, 05, 00, 11, 01, 03, 09, 00, 0a, 01, 00, 0d, 00, 12, 20, 11, 12, 00, 0d, 00, 12, 12, 00, 16, 00, 1b, 20, 15, 1e, 00, 16, 00, 1b, 1e, 00, 1f, 00, 24, 20, 19, 32, 00, 1f, 00, 24, 32, 00, 28, 00, 2d, 01, 01, 05, 01, 02]
|
||||
Raw bytes (141): 0x[01, 01, 0f, 01, 05, 05, 09, 09, 0d, 01, 11, 01, 11, 01, 3b, 11, 15, 01, 3b, 11, 15, 01, 37, 3b, 19, 11, 15, 01, 37, 3b, 19, 11, 15, 13, 01, 24, 01, 01, 10, 01, 04, 09, 00, 0a, 01, 00, 0d, 00, 12, 20, 05, 02, 00, 0d, 00, 12, 05, 00, 16, 00, 1b, 20, 09, 06, 00, 16, 00, 1b, 09, 00, 1f, 00, 24, 20, 0d, 0a, 00, 1f, 00, 24, 0d, 00, 28, 00, 2d, 01, 01, 05, 00, 10, 01, 03, 09, 00, 0a, 01, 00, 0d, 00, 12, 20, 11, 12, 00, 0d, 00, 12, 12, 00, 16, 00, 1b, 20, 15, 1e, 00, 16, 00, 1b, 1e, 00, 1f, 00, 24, 20, 19, 32, 00, 1f, 00, 24, 32, 00, 28, 00, 2d, 01, 01, 05, 01, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 15
|
||||
|
@ -69,7 +69,7 @@ Number of file 0 mappings: 19
|
|||
true = c3
|
||||
false = (c2 - c3)
|
||||
- Code(Counter(3)) at (prev + 0, 40) to (start + 0, 45)
|
||||
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 16)
|
||||
- Code(Counter(0)) at (prev + 3, 9) to (start + 0, 10)
|
||||
- Code(Counter(0)) at (prev + 0, 13) to (start + 0, 18)
|
||||
- Branch { true: Counter(4), false: Expression(4, Sub) } at (prev + 0, 13) to (start + 0, 18)
|
||||
|
@ -91,7 +91,7 @@ Number of file 0 mappings: 19
|
|||
Highest counter ID seen: c6
|
||||
|
||||
Function name: lazy_boolean::nested_mixed
|
||||
Raw bytes (137): 0x[01, 01, 0d, 01, 05, 01, 1f, 05, 09, 05, 09, 1f, 0d, 05, 09, 1f, 0d, 05, 09, 01, 11, 11, 15, 01, 15, 01, 33, 15, 19, 13, 01, 31, 01, 01, 10, 01, 04, 09, 00, 0a, 01, 00, 0e, 00, 13, 20, 05, 02, 00, 0e, 00, 13, 02, 00, 17, 00, 1d, 20, 09, 06, 00, 17, 00, 1d, 1f, 00, 23, 00, 28, 20, 0d, 1a, 00, 23, 00, 28, 1a, 00, 2c, 00, 33, 01, 01, 05, 00, 11, 01, 03, 09, 00, 0a, 01, 00, 0e, 00, 13, 20, 11, 22, 00, 0e, 00, 13, 11, 00, 17, 00, 1c, 20, 15, 26, 00, 17, 00, 1c, 2a, 00, 22, 00, 28, 20, 19, 2e, 00, 22, 00, 28, 19, 00, 2c, 00, 33, 01, 01, 05, 01, 02]
|
||||
Raw bytes (137): 0x[01, 01, 0d, 01, 05, 01, 1f, 05, 09, 05, 09, 1f, 0d, 05, 09, 1f, 0d, 05, 09, 01, 11, 11, 15, 01, 15, 01, 33, 15, 19, 13, 01, 31, 01, 01, 10, 01, 04, 09, 00, 0a, 01, 00, 0e, 00, 13, 20, 05, 02, 00, 0e, 00, 13, 02, 00, 17, 00, 1d, 20, 09, 06, 00, 17, 00, 1d, 1f, 00, 23, 00, 28, 20, 0d, 1a, 00, 23, 00, 28, 1a, 00, 2c, 00, 33, 01, 01, 05, 00, 10, 01, 03, 09, 00, 0a, 01, 00, 0e, 00, 13, 20, 11, 22, 00, 0e, 00, 13, 11, 00, 17, 00, 1c, 20, 15, 26, 00, 17, 00, 1c, 2a, 00, 22, 00, 28, 20, 19, 2e, 00, 22, 00, 28, 19, 00, 2c, 00, 33, 01, 01, 05, 01, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 13
|
||||
|
@ -127,7 +127,7 @@ Number of file 0 mappings: 19
|
|||
false = ((c1 + c2) - c3)
|
||||
- Code(Expression(6, Sub)) at (prev + 0, 44) to (start + 0, 51)
|
||||
= ((c1 + c2) - c3)
|
||||
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 16)
|
||||
- Code(Counter(0)) at (prev + 3, 9) to (start + 0, 10)
|
||||
- Code(Counter(0)) at (prev + 0, 14) to (start + 0, 19)
|
||||
- Branch { true: Counter(4), false: Expression(8, Sub) } at (prev + 0, 14) to (start + 0, 19)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Function name: let_else::let_else
|
||||
Raw bytes (43): 0x[01, 01, 01, 01, 05, 07, 01, 0c, 01, 01, 10, 20, 02, 05, 03, 09, 00, 10, 02, 00, 0e, 00, 0f, 01, 00, 13, 00, 18, 05, 01, 09, 01, 0f, 02, 04, 05, 00, 0b, 01, 01, 01, 00, 02]
|
||||
Raw bytes (43): 0x[01, 01, 01, 01, 05, 07, 01, 0c, 01, 01, 10, 20, 02, 05, 03, 09, 00, 10, 02, 00, 0e, 00, 0f, 01, 00, 13, 00, 18, 05, 01, 09, 01, 0f, 02, 04, 05, 00, 0a, 01, 01, 01, 00, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 1
|
||||
|
@ -13,7 +13,7 @@ Number of file 0 mappings: 7
|
|||
= (c0 - c1)
|
||||
- Code(Counter(0)) at (prev + 0, 19) to (start + 0, 24)
|
||||
- Code(Counter(1)) at (prev + 1, 9) to (start + 1, 15)
|
||||
- Code(Expression(0, Sub)) at (prev + 4, 5) to (start + 0, 11)
|
||||
- Code(Expression(0, Sub)) at (prev + 4, 5) to (start + 0, 10)
|
||||
= (c0 - c1)
|
||||
- Code(Counter(0)) at (prev + 1, 1) to (start + 0, 2)
|
||||
Highest counter ID seen: c1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Function name: match_arms::guards
|
||||
Raw bytes (88): 0x[01, 01, 08, 15, 05, 19, 09, 1d, 0d, 21, 11, 01, 17, 1b, 11, 1f, 0d, 05, 09, 0c, 01, 30, 01, 01, 10, 21, 03, 0b, 00, 10, 05, 01, 11, 00, 29, 20, 05, 02, 00, 17, 00, 1b, 09, 01, 11, 00, 29, 20, 09, 06, 00, 17, 00, 1b, 0d, 01, 11, 00, 29, 20, 0d, 0a, 00, 17, 00, 1b, 11, 01, 11, 00, 29, 20, 11, 0e, 00, 17, 00, 1b, 12, 01, 0e, 00, 18, 01, 03, 05, 01, 02]
|
||||
Raw bytes (88): 0x[01, 01, 08, 15, 05, 19, 09, 1d, 0d, 21, 11, 01, 17, 1b, 11, 1f, 0d, 05, 09, 0c, 01, 30, 01, 01, 10, 21, 03, 0b, 00, 10, 05, 01, 11, 00, 28, 20, 05, 02, 00, 17, 00, 1b, 09, 01, 11, 00, 28, 20, 09, 06, 00, 17, 00, 1b, 0d, 01, 11, 00, 28, 20, 0d, 0a, 00, 17, 00, 1b, 11, 01, 11, 00, 28, 20, 11, 0e, 00, 17, 00, 1b, 12, 01, 0e, 00, 15, 01, 03, 05, 01, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 8
|
||||
|
@ -14,29 +14,29 @@ Number of expressions: 8
|
|||
Number of file 0 mappings: 12
|
||||
- Code(Counter(0)) at (prev + 48, 1) to (start + 1, 16)
|
||||
- Code(Counter(8)) at (prev + 3, 11) to (start + 0, 16)
|
||||
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 41)
|
||||
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 40)
|
||||
- Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 0, 23) to (start + 0, 27)
|
||||
true = c1
|
||||
false = (c5 - c1)
|
||||
- Code(Counter(2)) at (prev + 1, 17) to (start + 0, 41)
|
||||
- Code(Counter(2)) at (prev + 1, 17) to (start + 0, 40)
|
||||
- Branch { true: Counter(2), false: Expression(1, Sub) } at (prev + 0, 23) to (start + 0, 27)
|
||||
true = c2
|
||||
false = (c6 - c2)
|
||||
- Code(Counter(3)) at (prev + 1, 17) to (start + 0, 41)
|
||||
- Code(Counter(3)) at (prev + 1, 17) to (start + 0, 40)
|
||||
- Branch { true: Counter(3), false: Expression(2, Sub) } at (prev + 0, 23) to (start + 0, 27)
|
||||
true = c3
|
||||
false = (c7 - c3)
|
||||
- Code(Counter(4)) at (prev + 1, 17) to (start + 0, 41)
|
||||
- Code(Counter(4)) at (prev + 1, 17) to (start + 0, 40)
|
||||
- Branch { true: Counter(4), false: Expression(3, Sub) } at (prev + 0, 23) to (start + 0, 27)
|
||||
true = c4
|
||||
false = (c8 - c4)
|
||||
- Code(Expression(4, Sub)) at (prev + 1, 14) to (start + 0, 24)
|
||||
- Code(Expression(4, Sub)) at (prev + 1, 14) to (start + 0, 21)
|
||||
= (c0 - (((c1 + c2) + c3) + c4))
|
||||
- Code(Counter(0)) at (prev + 3, 5) to (start + 1, 2)
|
||||
Highest counter ID seen: c8
|
||||
|
||||
Function name: match_arms::match_arms
|
||||
Raw bytes (45): 0x[01, 01, 03, 01, 07, 0b, 0d, 05, 09, 07, 01, 18, 01, 01, 10, 01, 03, 0b, 00, 10, 05, 01, 11, 00, 21, 09, 01, 11, 00, 21, 0d, 01, 11, 00, 21, 02, 01, 11, 00, 21, 01, 03, 05, 01, 02]
|
||||
Raw bytes (45): 0x[01, 01, 03, 01, 07, 0b, 0d, 05, 09, 07, 01, 18, 01, 01, 10, 01, 03, 0b, 00, 10, 05, 01, 11, 00, 20, 09, 01, 11, 00, 20, 0d, 01, 11, 00, 20, 02, 01, 11, 00, 20, 01, 03, 05, 01, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 3
|
||||
|
@ -46,16 +46,16 @@ Number of expressions: 3
|
|||
Number of file 0 mappings: 7
|
||||
- Code(Counter(0)) at (prev + 24, 1) to (start + 1, 16)
|
||||
- Code(Counter(0)) at (prev + 3, 11) to (start + 0, 16)
|
||||
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 33)
|
||||
- Code(Counter(2)) at (prev + 1, 17) to (start + 0, 33)
|
||||
- Code(Counter(3)) at (prev + 1, 17) to (start + 0, 33)
|
||||
- Code(Expression(0, Sub)) at (prev + 1, 17) to (start + 0, 33)
|
||||
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 32)
|
||||
- Code(Counter(2)) at (prev + 1, 17) to (start + 0, 32)
|
||||
- Code(Counter(3)) at (prev + 1, 17) to (start + 0, 32)
|
||||
- Code(Expression(0, Sub)) at (prev + 1, 17) to (start + 0, 32)
|
||||
= (c0 - ((c1 + c2) + c3))
|
||||
- Code(Counter(0)) at (prev + 3, 5) to (start + 1, 2)
|
||||
Highest counter ID seen: c3
|
||||
|
||||
Function name: match_arms::or_patterns
|
||||
Raw bytes (57): 0x[01, 01, 04, 05, 09, 01, 0b, 03, 0d, 01, 03, 09, 01, 25, 01, 01, 10, 01, 03, 0b, 00, 10, 05, 01, 11, 00, 12, 09, 00, 1e, 00, 1f, 03, 00, 24, 00, 2e, 0d, 01, 11, 00, 12, 06, 00, 1e, 00, 1f, 0e, 00, 24, 00, 2e, 01, 03, 05, 01, 02]
|
||||
Raw bytes (57): 0x[01, 01, 04, 05, 09, 01, 0b, 03, 0d, 01, 03, 09, 01, 25, 01, 01, 10, 01, 03, 0b, 00, 10, 05, 01, 11, 00, 12, 09, 00, 1e, 00, 1f, 03, 00, 24, 00, 2d, 0d, 01, 11, 00, 12, 06, 00, 1e, 00, 1f, 0e, 00, 24, 00, 2d, 01, 03, 05, 01, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 4
|
||||
|
@ -68,12 +68,12 @@ Number of file 0 mappings: 9
|
|||
- Code(Counter(0)) at (prev + 3, 11) to (start + 0, 16)
|
||||
- Code(Counter(1)) at (prev + 1, 17) to (start + 0, 18)
|
||||
- Code(Counter(2)) at (prev + 0, 30) to (start + 0, 31)
|
||||
- Code(Expression(0, Add)) at (prev + 0, 36) to (start + 0, 46)
|
||||
- Code(Expression(0, Add)) at (prev + 0, 36) to (start + 0, 45)
|
||||
= (c1 + c2)
|
||||
- Code(Counter(3)) at (prev + 1, 17) to (start + 0, 18)
|
||||
- Code(Expression(1, Sub)) at (prev + 0, 30) to (start + 0, 31)
|
||||
= (c0 - ((c1 + c2) + c3))
|
||||
- Code(Expression(3, Sub)) at (prev + 0, 36) to (start + 0, 46)
|
||||
- Code(Expression(3, Sub)) at (prev + 0, 36) to (start + 0, 45)
|
||||
= (c0 - (c1 + c2))
|
||||
- Code(Counter(0)) at (prev + 3, 5) to (start + 1, 2)
|
||||
Highest counter ID seen: c3
|
||||
|
|
|
@ -109,15 +109,17 @@ Number of file 0 mappings: 1
|
|||
Highest counter ID seen: c0
|
||||
|
||||
Function name: conditions::func_call
|
||||
Raw bytes (37): 0x[01, 01, 02, 01, 05, 05, 09, 05, 01, 25, 01, 01, 0a, 20, 05, 02, 01, 09, 00, 0a, 05, 00, 0e, 00, 0f, 20, 09, 06, 00, 0e, 00, 0f, 01, 01, 01, 00, 02]
|
||||
Raw bytes (47): 0x[01, 01, 02, 01, 05, 05, 09, 07, 01, 25, 01, 00, 20, 01, 01, 05, 00, 08, 01, 00, 09, 00, 0a, 20, 05, 02, 00, 09, 00, 0a, 05, 00, 0e, 00, 0f, 20, 09, 06, 00, 0e, 00, 0f, 01, 01, 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(1), rhs = Counter(2)
|
||||
Number of file 0 mappings: 5
|
||||
- Code(Counter(0)) at (prev + 37, 1) to (start + 1, 10)
|
||||
- Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 1, 9) to (start + 0, 10)
|
||||
Number of file 0 mappings: 7
|
||||
- Code(Counter(0)) at (prev + 37, 1) to (start + 0, 32)
|
||||
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 8)
|
||||
- Code(Counter(0)) at (prev + 0, 9) to (start + 0, 10)
|
||||
- Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 0, 9) to (start + 0, 10)
|
||||
true = c1
|
||||
false = (c0 - c1)
|
||||
- Code(Counter(1)) at (prev + 0, 14) to (start + 0, 15)
|
||||
|
|
|
@ -13,7 +13,7 @@ Number of file 0 mappings: 4
|
|||
Highest counter ID seen: c1
|
||||
|
||||
Function name: coroutine::main
|
||||
Raw bytes (53): 0x[01, 01, 02, 01, 05, 05, 09, 09, 01, 13, 01, 02, 16, 01, 08, 0b, 00, 2e, 05, 01, 2b, 00, 2d, 02, 01, 0e, 00, 35, 05, 02, 0b, 00, 2e, 0d, 01, 22, 00, 27, 09, 00, 2c, 00, 2e, 06, 01, 0e, 00, 35, 09, 02, 01, 00, 02]
|
||||
Raw bytes (53): 0x[01, 01, 02, 01, 05, 05, 09, 09, 01, 13, 01, 02, 16, 01, 08, 0b, 00, 2d, 05, 01, 2b, 00, 2d, 02, 01, 0e, 00, 35, 05, 02, 0b, 00, 2e, 0d, 01, 22, 00, 27, 09, 00, 2c, 00, 2e, 06, 01, 0e, 00, 35, 09, 02, 01, 00, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 2
|
||||
|
@ -21,7 +21,7 @@ Number of expressions: 2
|
|||
- expression 1 operands: lhs = Counter(1), rhs = Counter(2)
|
||||
Number of file 0 mappings: 9
|
||||
- Code(Counter(0)) at (prev + 19, 1) to (start + 2, 22)
|
||||
- Code(Counter(0)) at (prev + 8, 11) to (start + 0, 46)
|
||||
- Code(Counter(0)) at (prev + 8, 11) to (start + 0, 45)
|
||||
- Code(Counter(1)) at (prev + 1, 43) to (start + 0, 45)
|
||||
- Code(Expression(0, Sub)) at (prev + 1, 14) to (start + 0, 53)
|
||||
= (c0 - c1)
|
||||
|
|
|
@ -8,20 +8,20 @@ Number of file 0 mappings: 1
|
|||
Highest counter ID seen: (none)
|
||||
|
||||
Function name: holes::main
|
||||
Raw bytes (69): 0x[01, 01, 00, 0d, 01, 08, 01, 01, 12, 01, 05, 05, 00, 12, 01, 07, 09, 00, 11, 01, 09, 05, 00, 12, 01, 04, 05, 00, 12, 01, 07, 05, 00, 12, 01, 06, 05, 00, 12, 01, 04, 05, 00, 12, 01, 04, 05, 00, 12, 01, 06, 05, 03, 0f, 01, 0a, 05, 03, 0f, 01, 0a, 05, 0c, 0d, 01, 0f, 0e, 05, 02]
|
||||
Raw bytes (69): 0x[01, 01, 00, 0d, 01, 08, 01, 01, 11, 01, 05, 05, 00, 11, 01, 07, 09, 00, 11, 01, 09, 05, 00, 11, 01, 04, 05, 00, 11, 01, 07, 05, 00, 11, 01, 06, 05, 00, 11, 01, 04, 05, 00, 11, 01, 04, 05, 00, 11, 01, 06, 05, 03, 0f, 01, 0a, 05, 03, 0f, 01, 0a, 05, 0c, 0d, 01, 0f, 0e, 05, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 13
|
||||
- Code(Counter(0)) at (prev + 8, 1) to (start + 1, 18)
|
||||
- Code(Counter(0)) at (prev + 5, 5) to (start + 0, 18)
|
||||
- Code(Counter(0)) at (prev + 8, 1) to (start + 1, 17)
|
||||
- Code(Counter(0)) at (prev + 5, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 7, 9) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 9, 5) to (start + 0, 18)
|
||||
- Code(Counter(0)) at (prev + 4, 5) to (start + 0, 18)
|
||||
- Code(Counter(0)) at (prev + 7, 5) to (start + 0, 18)
|
||||
- Code(Counter(0)) at (prev + 6, 5) to (start + 0, 18)
|
||||
- Code(Counter(0)) at (prev + 4, 5) to (start + 0, 18)
|
||||
- Code(Counter(0)) at (prev + 4, 5) to (start + 0, 18)
|
||||
- Code(Counter(0)) at (prev + 9, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 4, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 7, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 6, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 4, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 4, 5) to (start + 0, 17)
|
||||
- Code(Counter(0)) at (prev + 6, 5) to (start + 3, 15)
|
||||
- Code(Counter(0)) at (prev + 10, 5) to (start + 3, 15)
|
||||
- Code(Counter(0)) at (prev + 10, 5) to (start + 12, 13)
|
||||
|
|
|
@ -8,14 +8,14 @@ Number of file 0 mappings: 1
|
|||
Highest counter ID seen: (none)
|
||||
|
||||
Function name: inline_dead::live::<false>
|
||||
Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 0e, 01, 01, 09, 05, 02, 09, 00, 0f, 02, 02, 09, 00, 0a, 01, 02, 01, 00, 02]
|
||||
Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 0e, 01, 01, 09, 05, 02, 09, 00, 0d, 02, 02, 09, 00, 0a, 01, 02, 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: 4
|
||||
- Code(Counter(0)) at (prev + 14, 1) to (start + 1, 9)
|
||||
- Code(Counter(1)) at (prev + 2, 9) to (start + 0, 15)
|
||||
- Code(Counter(1)) at (prev + 2, 9) to (start + 0, 13)
|
||||
- Code(Expression(0, Sub)) at (prev + 2, 9) to (start + 0, 10)
|
||||
= (c0 - c1)
|
||||
- Code(Counter(0)) at (prev + 2, 1) to (start + 0, 2)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
Function name: loop_break::main
|
||||
Raw bytes (31): 0x[01, 01, 01, 05, 01, 05, 01, 03, 01, 00, 0b, 05, 02, 0c, 00, 27, 01, 01, 0d, 00, 12, 02, 01, 09, 00, 0a, 01, 02, 01, 00, 02]
|
||||
Raw bytes (31): 0x[01, 01, 01, 05, 01, 05, 01, 03, 01, 00, 0b, 05, 02, 0c, 00, 21, 01, 01, 0d, 00, 12, 02, 01, 09, 00, 0a, 01, 02, 01, 00, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 1
|
||||
- expression 0 operands: lhs = Counter(1), rhs = Counter(0)
|
||||
Number of file 0 mappings: 5
|
||||
- Code(Counter(0)) at (prev + 3, 1) to (start + 0, 11)
|
||||
- Code(Counter(1)) at (prev + 2, 12) to (start + 0, 39)
|
||||
- Code(Counter(1)) at (prev + 2, 12) to (start + 0, 33)
|
||||
- Code(Counter(0)) at (prev + 1, 13) to (start + 0, 18)
|
||||
- Code(Expression(0, Sub)) at (prev + 1, 9) to (start + 0, 10)
|
||||
= (c1 - c0)
|
||||
|
|
|
@ -113,15 +113,17 @@ Number of file 0 mappings: 1
|
|||
Highest counter ID seen: c0
|
||||
|
||||
Function name: non_control_flow::func_call
|
||||
Raw bytes (50): 0x[01, 01, 02, 01, 05, 05, 09, 06, 01, 29, 01, 01, 0a, 28, 03, 02, 01, 09, 00, 0f, 30, 05, 02, 01, 02, 00, 00, 09, 00, 0a, 05, 00, 0e, 00, 0f, 30, 09, 06, 02, 00, 00, 00, 0e, 00, 0f, 01, 01, 01, 00, 02]
|
||||
Raw bytes (60): 0x[01, 01, 02, 01, 05, 05, 09, 08, 01, 29, 01, 00, 20, 01, 01, 05, 00, 08, 01, 00, 09, 00, 0a, 28, 03, 02, 00, 09, 00, 0f, 30, 05, 02, 01, 02, 00, 00, 09, 00, 0a, 05, 00, 0e, 00, 0f, 30, 09, 06, 02, 00, 00, 00, 0e, 00, 0f, 01, 01, 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(1), rhs = Counter(2)
|
||||
Number of file 0 mappings: 6
|
||||
- Code(Counter(0)) at (prev + 41, 1) to (start + 1, 10)
|
||||
- MCDCDecision { bitmap_idx: 3, conditions_num: 2 } at (prev + 1, 9) to (start + 0, 15)
|
||||
Number of file 0 mappings: 8
|
||||
- Code(Counter(0)) at (prev + 41, 1) to (start + 0, 32)
|
||||
- Code(Counter(0)) at (prev + 1, 5) to (start + 0, 8)
|
||||
- Code(Counter(0)) at (prev + 0, 9) to (start + 0, 10)
|
||||
- MCDCDecision { bitmap_idx: 3, conditions_num: 2 } at (prev + 0, 9) to (start + 0, 15)
|
||||
- MCDCBranch { true: Counter(1), false: Expression(0, Sub), condition_id: 1, true_next_id: 2, false_next_id: 0 } at (prev + 0, 9) to (start + 0, 10)
|
||||
true = c1
|
||||
false = (c0 - c1)
|
||||
|
|
|
@ -35,22 +35,22 @@ Number of file 0 mappings: 1
|
|||
Highest counter ID seen: c0
|
||||
|
||||
Function name: no_cov_crate::nested_fns::outer
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 33, 05, 02, 23, 01, 0c, 05, 00, 06]
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 33, 05, 02, 22, 01, 0c, 05, 00, 06]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 2
|
||||
- Code(Counter(0)) at (prev + 51, 5) to (start + 2, 35)
|
||||
- Code(Counter(0)) at (prev + 51, 5) to (start + 2, 34)
|
||||
- Code(Counter(0)) at (prev + 12, 5) to (start + 0, 6)
|
||||
Highest counter ID seen: c0
|
||||
|
||||
Function name: no_cov_crate::nested_fns::outer_both_covered
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 41, 05, 02, 17, 01, 0b, 05, 00, 06]
|
||||
Raw bytes (14): 0x[01, 01, 00, 02, 01, 41, 05, 02, 16, 01, 0b, 05, 00, 06]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 2
|
||||
- Code(Counter(0)) at (prev + 65, 5) to (start + 2, 23)
|
||||
- Code(Counter(0)) at (prev + 65, 5) to (start + 2, 22)
|
||||
- Code(Counter(0)) at (prev + 11, 5) to (start + 0, 6)
|
||||
Highest counter ID seen: c0
|
||||
|
||||
|
|
|
@ -55,13 +55,13 @@ Number of file 0 mappings: 4
|
|||
Highest counter ID seen: c1
|
||||
|
||||
Function name: sort_groups::main
|
||||
Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 06, 01, 04, 23, 05, 04, 24, 02, 06, 02, 02, 05, 00, 06, 01, 01, 05, 02, 02]
|
||||
Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 06, 01, 04, 1c, 05, 04, 24, 02, 06, 02, 02, 05, 00, 06, 01, 01, 05, 02, 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: 4
|
||||
- Code(Counter(0)) at (prev + 6, 1) to (start + 4, 35)
|
||||
- Code(Counter(0)) at (prev + 6, 1) to (start + 4, 28)
|
||||
- Code(Counter(1)) at (prev + 4, 36) to (start + 2, 6)
|
||||
- Code(Expression(0, Sub)) at (prev + 2, 5) to (start + 0, 6)
|
||||
= (c0 - c1)
|
||||
|
|
|
@ -41,13 +41,13 @@ Number of file 0 mappings: 4
|
|||
Highest counter ID seen: c1
|
||||
|
||||
Function name: try_error_result::main
|
||||
Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 71, 01, 02, 0c, 05, 03, 05, 00, 06, 02, 02, 05, 00, 0b, 01, 01, 01, 00, 02]
|
||||
Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 71, 01, 02, 0a, 05, 03, 05, 00, 06, 02, 02, 05, 00, 0b, 01, 01, 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: 4
|
||||
- Code(Counter(0)) at (prev + 113, 1) to (start + 2, 12)
|
||||
- Code(Counter(0)) at (prev + 113, 1) to (start + 2, 10)
|
||||
- Code(Counter(1)) at (prev + 3, 5) to (start + 0, 6)
|
||||
- Code(Expression(0, Sub)) at (prev + 2, 5) to (start + 0, 11)
|
||||
= (c0 - c1)
|
||||
|
@ -55,7 +55,7 @@ Number of file 0 mappings: 4
|
|||
Highest counter ID seen: c1
|
||||
|
||||
Function name: try_error_result::test1
|
||||
Raw bytes (67): 0x[01, 01, 04, 07, 05, 01, 09, 05, 01, 05, 09, 0b, 01, 0d, 01, 02, 17, 05, 07, 09, 00, 0e, 09, 02, 09, 04, 1a, 02, 06, 0d, 00, 29, 02, 00, 29, 00, 2a, 00, 01, 0d, 00, 2a, 00, 00, 2a, 00, 2b, 0a, 04, 0d, 00, 2a, 00, 00, 2a, 00, 2b, 0e, 03, 05, 00, 0b, 01, 01, 01, 00, 02]
|
||||
Raw bytes (67): 0x[01, 01, 04, 07, 05, 01, 09, 05, 01, 05, 09, 0b, 01, 0d, 01, 02, 17, 05, 07, 09, 00, 0e, 09, 02, 09, 04, 1a, 02, 06, 0d, 00, 11, 02, 00, 29, 00, 2a, 00, 01, 0d, 00, 11, 00, 00, 2a, 00, 2b, 0a, 04, 0d, 00, 11, 00, 00, 2a, 00, 2b, 0e, 03, 05, 00, 0b, 01, 01, 01, 00, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 4
|
||||
|
@ -67,13 +67,13 @@ Number of file 0 mappings: 11
|
|||
- Code(Counter(0)) at (prev + 13, 1) to (start + 2, 23)
|
||||
- Code(Counter(1)) at (prev + 7, 9) to (start + 0, 14)
|
||||
- Code(Counter(2)) at (prev + 2, 9) to (start + 4, 26)
|
||||
- Code(Expression(0, Sub)) at (prev + 6, 13) to (start + 0, 41)
|
||||
- Code(Expression(0, Sub)) at (prev + 6, 13) to (start + 0, 17)
|
||||
= ((c0 + c2) - c1)
|
||||
- Code(Expression(0, Sub)) at (prev + 0, 41) to (start + 0, 42)
|
||||
= ((c0 + c2) - c1)
|
||||
- Code(Zero) at (prev + 1, 13) to (start + 0, 42)
|
||||
- Code(Zero) at (prev + 1, 13) to (start + 0, 17)
|
||||
- Code(Zero) at (prev + 0, 42) to (start + 0, 43)
|
||||
- Code(Expression(2, Sub)) at (prev + 4, 13) to (start + 0, 42)
|
||||
- Code(Expression(2, Sub)) at (prev + 4, 13) to (start + 0, 17)
|
||||
= (c1 - c0)
|
||||
- Code(Zero) at (prev + 0, 42) to (start + 0, 43)
|
||||
- Code(Expression(3, Sub)) at (prev + 3, 5) to (start + 0, 11)
|
||||
|
@ -82,7 +82,7 @@ Number of file 0 mappings: 11
|
|||
Highest counter ID seen: c2
|
||||
|
||||
Function name: try_error_result::test2
|
||||
Raw bytes (336): 0x[01, 01, 36, 0d, 11, 0d, 3f, 11, 15, 0d, 37, 3b, 1d, 3f, 19, 11, 15, 0d, 3f, 11, 15, 0d, 3b, 3f, 19, 11, 15, 0d, 37, 3b, 1d, 3f, 19, 11, 15, 41, 53, 21, 25, 41, 21, 41, 53, 21, 25, 09, 73, 77, 2d, 0d, 29, 09, 0d, 09, 77, 0d, 29, 09, 73, 77, 2d, 0d, 29, 45, 8b, 01, 31, 35, 45, 31, 45, 8b, 01, 31, 35, 49, 9f, 01, 39, 3d, 49, 39, 49, 9f, 01, 39, 3d, 05, 09, ab, 01, 09, af, 01, 3d, b3, 01, 39, b7, 01, 35, bb, 01, 31, bf, 01, 2d, c3, 01, 29, c7, 01, 25, cb, 01, 21, cf, 01, 1d, d3, 01, 19, d7, 01, 15, 05, 11, 28, 01, 3d, 01, 03, 17, 05, 08, 09, 00, 0e, 09, 02, 09, 04, 1a, 0d, 06, 0d, 00, 2f, 11, 00, 2f, 00, 30, 02, 00, 31, 03, 35, 15, 04, 11, 00, 12, 1e, 02, 11, 04, 12, 32, 05, 11, 00, 14, 1e, 00, 17, 00, 41, 19, 00, 41, 00, 42, 26, 00, 43, 00, 5f, 1d, 00, 5f, 00, 60, 32, 01, 0d, 00, 20, 4e, 01, 11, 00, 14, 41, 00, 17, 00, 41, 21, 00, 41, 00, 42, 4a, 00, 43, 00, 60, 25, 00, 60, 00, 61, 4e, 01, 0d, 00, 20, 6e, 04, 11, 00, 14, 62, 00, 17, 00, 42, 29, 00, 42, 00, 43, 66, 00, 44, 00, 61, 2d, 00, 61, 00, 62, 6e, 01, 0d, 00, 20, 86, 01, 01, 11, 00, 14, 45, 00, 17, 01, 36, 31, 01, 36, 00, 37, 82, 01, 01, 12, 00, 2f, 35, 00, 2f, 00, 30, 86, 01, 01, 0d, 00, 20, 9a, 01, 01, 11, 00, 14, 49, 00, 17, 01, 36, 39, 02, 11, 00, 12, 96, 01, 01, 12, 00, 2f, 3d, 01, 11, 00, 12, 9a, 01, 02, 0d, 00, 20, a2, 01, 03, 05, 00, 0b, a6, 01, 01, 01, 00, 02]
|
||||
Raw bytes (336): 0x[01, 01, 36, 0d, 11, 0d, 3f, 11, 15, 0d, 37, 3b, 1d, 3f, 19, 11, 15, 0d, 3f, 11, 15, 0d, 3b, 3f, 19, 11, 15, 0d, 37, 3b, 1d, 3f, 19, 11, 15, 41, 53, 21, 25, 41, 21, 41, 53, 21, 25, 09, 73, 77, 2d, 0d, 29, 09, 0d, 09, 77, 0d, 29, 09, 73, 77, 2d, 0d, 29, 45, 8b, 01, 31, 35, 45, 31, 45, 8b, 01, 31, 35, 49, 9f, 01, 39, 3d, 49, 39, 49, 9f, 01, 39, 3d, 05, 09, ab, 01, 09, af, 01, 3d, b3, 01, 39, b7, 01, 35, bb, 01, 31, bf, 01, 2d, c3, 01, 29, c7, 01, 25, cb, 01, 21, cf, 01, 1d, d3, 01, 19, d7, 01, 15, 05, 11, 28, 01, 3d, 01, 03, 17, 05, 08, 09, 00, 0e, 09, 02, 09, 04, 1a, 0d, 06, 0d, 00, 1f, 11, 00, 2f, 00, 30, 02, 00, 31, 03, 1c, 15, 04, 11, 00, 12, 1e, 02, 11, 03, 27, 32, 05, 11, 00, 14, 1e, 00, 17, 00, 29, 19, 00, 41, 00, 42, 26, 00, 43, 00, 47, 1d, 00, 5f, 00, 60, 32, 01, 0d, 00, 20, 4e, 01, 11, 00, 14, 41, 00, 17, 00, 29, 21, 00, 41, 00, 42, 4a, 00, 43, 00, 47, 25, 00, 60, 00, 61, 4e, 01, 0d, 00, 20, 6e, 04, 11, 00, 14, 62, 00, 17, 00, 29, 29, 00, 42, 00, 43, 66, 00, 44, 00, 48, 2d, 00, 61, 00, 62, 6e, 01, 0d, 00, 20, 86, 01, 01, 11, 00, 14, 45, 00, 17, 01, 1d, 31, 01, 36, 00, 37, 82, 01, 01, 12, 00, 16, 35, 00, 2f, 00, 30, 86, 01, 01, 0d, 00, 20, 9a, 01, 01, 11, 00, 14, 49, 00, 17, 01, 1d, 39, 02, 11, 00, 12, 96, 01, 01, 12, 00, 16, 3d, 01, 11, 00, 12, 9a, 01, 02, 0d, 00, 20, a2, 01, 03, 05, 00, 0b, a6, 01, 01, 01, 00, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 54
|
||||
|
@ -144,56 +144,56 @@ Number of file 0 mappings: 40
|
|||
- Code(Counter(0)) at (prev + 61, 1) to (start + 3, 23)
|
||||
- Code(Counter(1)) at (prev + 8, 9) to (start + 0, 14)
|
||||
- Code(Counter(2)) at (prev + 2, 9) to (start + 4, 26)
|
||||
- Code(Counter(3)) at (prev + 6, 13) to (start + 0, 47)
|
||||
- Code(Counter(3)) at (prev + 6, 13) to (start + 0, 31)
|
||||
- Code(Counter(4)) at (prev + 0, 47) to (start + 0, 48)
|
||||
- Code(Expression(0, Sub)) at (prev + 0, 49) to (start + 3, 53)
|
||||
- Code(Expression(0, Sub)) at (prev + 0, 49) to (start + 3, 28)
|
||||
= (c3 - c4)
|
||||
- Code(Counter(5)) at (prev + 4, 17) to (start + 0, 18)
|
||||
- Code(Expression(7, Sub)) at (prev + 2, 17) to (start + 4, 18)
|
||||
- Code(Expression(7, Sub)) at (prev + 2, 17) to (start + 3, 39)
|
||||
= (c3 - (c4 + c5))
|
||||
- Code(Expression(12, Sub)) at (prev + 5, 17) to (start + 0, 20)
|
||||
= (c3 - (((c4 + c5) + c6) + c7))
|
||||
- Code(Expression(7, Sub)) at (prev + 0, 23) to (start + 0, 65)
|
||||
- Code(Expression(7, Sub)) at (prev + 0, 23) to (start + 0, 41)
|
||||
= (c3 - (c4 + c5))
|
||||
- Code(Counter(6)) at (prev + 0, 65) to (start + 0, 66)
|
||||
- Code(Expression(9, Sub)) at (prev + 0, 67) to (start + 0, 95)
|
||||
- Code(Expression(9, Sub)) at (prev + 0, 67) to (start + 0, 71)
|
||||
= (c3 - ((c4 + c5) + c6))
|
||||
- Code(Counter(7)) at (prev + 0, 95) to (start + 0, 96)
|
||||
- Code(Expression(12, Sub)) at (prev + 1, 13) to (start + 0, 32)
|
||||
= (c3 - (((c4 + c5) + c6) + c7))
|
||||
- Code(Expression(19, Sub)) at (prev + 1, 17) to (start + 0, 20)
|
||||
= (c16 - (c8 + c9))
|
||||
- Code(Counter(16)) at (prev + 0, 23) to (start + 0, 65)
|
||||
- Code(Counter(16)) at (prev + 0, 23) to (start + 0, 41)
|
||||
- Code(Counter(8)) at (prev + 0, 65) to (start + 0, 66)
|
||||
- Code(Expression(18, Sub)) at (prev + 0, 67) to (start + 0, 96)
|
||||
- Code(Expression(18, Sub)) at (prev + 0, 67) to (start + 0, 71)
|
||||
= (c16 - c8)
|
||||
- Code(Counter(9)) at (prev + 0, 96) to (start + 0, 97)
|
||||
- Code(Expression(19, Sub)) at (prev + 1, 13) to (start + 0, 32)
|
||||
= (c16 - (c8 + c9))
|
||||
- Code(Expression(27, Sub)) at (prev + 4, 17) to (start + 0, 20)
|
||||
= (c2 - ((c3 + c10) + c11))
|
||||
- Code(Expression(24, Sub)) at (prev + 0, 23) to (start + 0, 66)
|
||||
- Code(Expression(24, Sub)) at (prev + 0, 23) to (start + 0, 41)
|
||||
= (c2 - c3)
|
||||
- Code(Counter(10)) at (prev + 0, 66) to (start + 0, 67)
|
||||
- Code(Expression(25, Sub)) at (prev + 0, 68) to (start + 0, 97)
|
||||
- Code(Expression(25, Sub)) at (prev + 0, 68) to (start + 0, 72)
|
||||
= (c2 - (c3 + c10))
|
||||
- Code(Counter(11)) at (prev + 0, 97) to (start + 0, 98)
|
||||
- Code(Expression(27, Sub)) at (prev + 1, 13) to (start + 0, 32)
|
||||
= (c2 - ((c3 + c10) + c11))
|
||||
- Code(Expression(33, Sub)) at (prev + 1, 17) to (start + 0, 20)
|
||||
= (c17 - (c12 + c13))
|
||||
- Code(Counter(17)) at (prev + 0, 23) to (start + 1, 54)
|
||||
- Code(Counter(17)) at (prev + 0, 23) to (start + 1, 29)
|
||||
- Code(Counter(12)) at (prev + 1, 54) to (start + 0, 55)
|
||||
- Code(Expression(32, Sub)) at (prev + 1, 18) to (start + 0, 47)
|
||||
- Code(Expression(32, Sub)) at (prev + 1, 18) to (start + 0, 22)
|
||||
= (c17 - c12)
|
||||
- Code(Counter(13)) at (prev + 0, 47) to (start + 0, 48)
|
||||
- Code(Expression(33, Sub)) at (prev + 1, 13) to (start + 0, 32)
|
||||
= (c17 - (c12 + c13))
|
||||
- Code(Expression(38, Sub)) at (prev + 1, 17) to (start + 0, 20)
|
||||
= (c18 - (c14 + c15))
|
||||
- Code(Counter(18)) at (prev + 0, 23) to (start + 1, 54)
|
||||
- Code(Counter(18)) at (prev + 0, 23) to (start + 1, 29)
|
||||
- Code(Counter(14)) at (prev + 2, 17) to (start + 0, 18)
|
||||
- Code(Expression(37, Sub)) at (prev + 1, 18) to (start + 0, 47)
|
||||
- Code(Expression(37, Sub)) at (prev + 1, 18) to (start + 0, 22)
|
||||
= (c18 - c14)
|
||||
- Code(Counter(15)) at (prev + 1, 17) to (start + 0, 18)
|
||||
- Code(Expression(38, Sub)) at (prev + 2, 13) to (start + 0, 32)
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
LL| 1| .
|
||||
LL| 1| expect_err(
|
||||
LL| 1| "call should fail"
|
||||
LL| 1| );
|
||||
LL| | );
|
||||
LL| 1| let val = thing1.get_thing_2(/*return_error=*/ true)?.call(/*return_error=*/ true)?;
|
||||
^0 ^0 ^0
|
||||
LL| 0| assert_eq!(val, 57);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Function name: unicode::main
|
||||
Raw bytes (53): 0x[01, 01, 02, 05, 01, 01, 0d, 09, 01, 0e, 01, 00, 0b, 02, 01, 09, 00, 0c, 05, 00, 10, 00, 1b, 02, 00, 1c, 00, 28, 01, 02, 08, 00, 25, 09, 00, 29, 00, 46, 0d, 00, 47, 02, 06, 06, 02, 05, 00, 06, 01, 02, 05, 01, 02]
|
||||
Raw bytes (53): 0x[01, 01, 02, 05, 01, 01, 0d, 09, 01, 0e, 01, 00, 0b, 02, 01, 09, 00, 0c, 05, 00, 10, 00, 1b, 02, 00, 1c, 00, 28, 01, 02, 08, 00, 23, 09, 00, 29, 00, 44, 0d, 00, 47, 02, 06, 06, 02, 05, 00, 06, 01, 02, 05, 01, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 2
|
||||
|
@ -12,8 +12,8 @@ Number of file 0 mappings: 9
|
|||
- Code(Counter(1)) at (prev + 0, 16) to (start + 0, 27)
|
||||
- Code(Expression(0, Sub)) at (prev + 0, 28) to (start + 0, 40)
|
||||
= (c1 - c0)
|
||||
- Code(Counter(0)) at (prev + 2, 8) to (start + 0, 37)
|
||||
- Code(Counter(2)) at (prev + 0, 41) to (start + 0, 70)
|
||||
- Code(Counter(0)) at (prev + 2, 8) to (start + 0, 35)
|
||||
- Code(Counter(2)) at (prev + 0, 41) to (start + 0, 68)
|
||||
- Code(Counter(3)) at (prev + 0, 71) to (start + 2, 6)
|
||||
- Code(Expression(1, Sub)) at (prev + 2, 5) to (start + 0, 6)
|
||||
= (c0 - c3)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
LL| [0;35m33[0m| for _İ in 'А'..='Я' { /* Я */ }
|
||||
^32 ^32
|
||||
LL| |
|
||||
LL| [0;35m1[0m| if 申し訳ございません() && [0;41m申し訳ございません()[0m [0;41m{[0m
|
||||
LL| [0;35m1[0m| if 申し訳ございません() && [0;41m申し訳ございません[0m() [0;41m{[0m
|
||||
^0
|
||||
LL| 0|[0;41m println!("true");[0m
|
||||
LL| 1|[0;41m [0m}
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
Function name: unreachable::UNREACHABLE_CLOSURE::{closure#0} (unused)
|
||||
Raw bytes (9): 0x[01, 01, 00, 01, 00, 0e, 27, 00, 47]
|
||||
Raw bytes (9): 0x[01, 01, 00, 01, 00, 0e, 27, 00, 45]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 1
|
||||
- Code(Zero) at (prev + 14, 39) to (start + 0, 71)
|
||||
- Code(Zero) at (prev + 14, 39) to (start + 0, 69)
|
||||
Highest counter ID seen: (none)
|
||||
|
||||
Function name: unreachable::unreachable_function (unused)
|
||||
Raw bytes (9): 0x[01, 01, 00, 01, 00, 10, 01, 01, 25]
|
||||
Raw bytes (9): 0x[01, 01, 00, 01, 00, 10, 01, 01, 23]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 1
|
||||
- Code(Zero) at (prev + 16, 1) to (start + 1, 37)
|
||||
- Code(Zero) at (prev + 16, 1) to (start + 1, 35)
|
||||
Highest counter ID seen: (none)
|
||||
|
||||
Function name: unreachable::unreachable_intrinsic (unused)
|
||||
Raw bytes (9): 0x[01, 01, 00, 01, 00, 15, 01, 01, 2c]
|
||||
Raw bytes (9): 0x[01, 01, 00, 01, 00, 15, 01, 01, 2a]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 0
|
||||
Number of file 0 mappings: 1
|
||||
- Code(Zero) at (prev + 21, 1) to (start + 1, 44)
|
||||
- Code(Zero) at (prev + 21, 1) to (start + 1, 42)
|
||||
Highest counter ID seen: (none)
|
||||
|
||||
|
|
|
@ -27,10 +27,10 @@
|
|||
}
|
||||
|
||||
+ coverage Code { bcb: bcb0 } => $DIR/branch_match_arms.rs:14:1: 15:21 (#0);
|
||||
+ coverage Code { bcb: bcb1 } => $DIR/branch_match_arms.rs:16:17: 16:33 (#0);
|
||||
+ coverage Code { bcb: bcb3 } => $DIR/branch_match_arms.rs:17:17: 17:33 (#0);
|
||||
+ coverage Code { bcb: bcb4 } => $DIR/branch_match_arms.rs:18:17: 18:33 (#0);
|
||||
+ coverage Code { bcb: bcb5 } => $DIR/branch_match_arms.rs:19:17: 19:33 (#0);
|
||||
+ coverage Code { bcb: bcb1 } => $DIR/branch_match_arms.rs:16:17: 16:32 (#0);
|
||||
+ coverage Code { bcb: bcb3 } => $DIR/branch_match_arms.rs:17:17: 17:32 (#0);
|
||||
+ coverage Code { bcb: bcb4 } => $DIR/branch_match_arms.rs:18:17: 18:32 (#0);
|
||||
+ coverage Code { bcb: bcb5 } => $DIR/branch_match_arms.rs:19:17: 19:32 (#0);
|
||||
+ coverage Code { bcb: bcb2 } => $DIR/branch_match_arms.rs:21:2: 21:2 (#0);
|
||||
+
|
||||
bb0: {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
let mut _3: !;
|
||||
|
||||
+ coverage Code { bcb: bcb0 } => $DIR/instrument_coverage.rs:13:1: 13:11 (#0);
|
||||
+ coverage Code { bcb: bcb1 } => $DIR/instrument_coverage.rs:15:12: 15:17 (#0);
|
||||
+ coverage Code { bcb: bcb1 } => $DIR/instrument_coverage.rs:15:12: 15:15 (#0);
|
||||
+ coverage Code { bcb: bcb2 } => $DIR/instrument_coverage.rs:16:13: 16:18 (#0);
|
||||
+ coverage Code { bcb: bcb3 } => $DIR/instrument_coverage.rs:17:10: 17:10 (#0);
|
||||
+ coverage Code { bcb: bcb2 } => $DIR/instrument_coverage.rs:19:2: 19:2 (#0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue