diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-03-25 22:02:22 +1100 | 
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-04-01 13:13:21 +1100 | 
| commit | 26cea8a2863a3aa0fd169d8561ce77036ef6983e (patch) | |
| tree | e59f7d6311967f8eb845c2f036b4055b151b6525 /tests/coverage/closure_macro.cov-map | |
| parent | 62a533ce7801ac35344f3ebaa983e90dbeba447a (diff) | |
| download | rust-26cea8a2863a3aa0fd169d8561ce77036ef6983e.tar.gz rust-26cea8a2863a3aa0fd169d8561ce77036ef6983e.zip | |
coverage: Don't split bang-macro spans, just truncate them
Diffstat (limited to 'tests/coverage/closure_macro.cov-map')
| -rw-r--r-- | tests/coverage/closure_macro.cov-map | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/tests/coverage/closure_macro.cov-map b/tests/coverage/closure_macro.cov-map index 653848dd6ff..9dd99c8fab3 100644 --- a/tests/coverage/closure_macro.cov-map +++ b/tests/coverage/closure_macro.cov-map @@ -8,16 +8,16 @@ Number of file 0 mappings: 1 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] +Raw bytes (36): 0x[01, 01, 01, 01, 05, 06, 01, 21, 01, 01, 20, 02, 02, 09, 00, 0f, 01, 00, 12, 00, 34, 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(Counter(0)) at (prev + 33, 1) to (start + 1, 32) - 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(0)) at (prev + 0, 18) to (start + 0, 52) - 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) | 
