diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-01-12 21:36:07 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-01-16 22:07:18 +1100 |
| commit | f1300c860e6ff4e024f0a347b87f94e36785ce49 (patch) | |
| tree | bf8a51064c780c9e18fbb2dfb131a983b1fb8f3b /tests/coverage/while.cov-map | |
| parent | e70112caf86dac4a01739538d3e6f3d163e47642 (diff) | |
| download | rust-f1300c860e6ff4e024f0a347b87f94e36785ce49.tar.gz rust-f1300c860e6ff4e024f0a347b87f94e36785ce49.zip | |
coverage: Completely overhaul counter assignment, using node-flow graphs
Diffstat (limited to 'tests/coverage/while.cov-map')
| -rw-r--r-- | tests/coverage/while.cov-map | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/coverage/while.cov-map b/tests/coverage/while.cov-map index 29493a651dc..d42aa8a7b84 100644 --- a/tests/coverage/while.cov-map +++ b/tests/coverage/while.cov-map @@ -1,14 +1,12 @@ 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] +Raw bytes (24): 0x[01, 01, 00, 04, 01, 01, 01, 01, 10, 05, 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 expressions: 0 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(Counter(1)) at (prev + 2, 11) to (start + 0, 20) - 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 +Highest counter ID seen: c1 |
