rust/tests/coverage-map/status-quo/loops_branches.cov-map
Zalathar 3141177995 Copy most of tests/run-coverage into tests/coverage-map/status-quo
The output of these tests is too complicated to comfortably verify by hand, but
we can still use them to observe changes to the underlying mappings produced by
codegen/LLVM.

If these tests fail due to non-coverage changes (e.g. in HIR-to-MIR lowering or
MIR optimizations), it should usually be OK to just `--bless` them, as long as
the `run-coverage` test suite still works.
2023-09-05 11:55:34 +10:00

194 lines
13 KiB
Plaintext

Function name: <loops_branches::DebugTest as core::fmt::Debug>::fmt
Raw bytes (262): 0x[01, 01, 36, 05, 09, 0a, 02, 00, 00, cf, 01, 19, d3, 01, d7, 01, 0d, 00, 11, 15, d3, 01, d7, 01, 0d, 00, 11, 15, ca, 01, 00, cf, 01, 19, d3, 01, d7, 01, 0d, 00, 11, 15, ca, 01, 15, cf, 01, 19, d3, 01, d7, 01, 0d, 00, 11, 15, c6, 01, 1d, ca, 01, 15, cf, 01, 19, d3, 01, d7, 01, 0d, 00, 11, 15, be, 01, c2, 01, 00, 00, c6, 01, 1d, ca, 01, 15, cf, 01, 19, d3, 01, d7, 01, 0d, 00, 11, 15, bb, 01, 11, be, 01, c2, 01, 00, 00, c6, 01, 1d, ca, 01, 15, cf, 01, 19, d3, 01, d7, 01, 0d, 00, 11, 15, 25, b3, 01, b6, 01, 19, bb, 01, 11, be, 01, c2, 01, 00, 00, c6, 01, 1d, ca, 01, 15, cf, 01, 19, d3, 01, d7, 01, 0d, 00, 11, 15, 14, 01, 09, 05, 01, 10, 05, 02, 10, 00, 15, 00, 01, 17, 00, 1b, 00, 00, 1c, 00, 1e, 02, 01, 0e, 00, 0f, 07, 01, 0d, 00, 1e, 25, 00, 1e, 00, 1f, 00, 01, 10, 01, 0a, ca, 01, 03, 0d, 00, 0e, cf, 01, 00, 12, 00, 17, 2b, 01, 10, 00, 14, c6, 01, 01, 14, 00, 19, 00, 01, 1b, 00, 1f, 00, 00, 20, 00, 22, c2, 01, 01, 12, 00, 13, bb, 01, 01, 11, 00, 22, b6, 01, 00, 22, 00, 23, 00, 01, 14, 01, 0e, 19, 03, 09, 00, 0f, af, 01, 01, 05, 00, 06]
Number of files: 1
- file 0 => global file 1
Number of expressions: 54
- expression 0 operands: lhs = Counter(1), rhs = Counter(2)
- expression 1 operands: lhs = Expression(2, Sub), rhs = Expression(0, Sub)
- expression 2 operands: lhs = Zero, rhs = Zero
- expression 3 operands: lhs = Expression(51, Add), rhs = Counter(6)
- expression 4 operands: lhs = Expression(52, Add), rhs = Expression(53, Add)
- expression 5 operands: lhs = Counter(3), rhs = Zero
- expression 6 operands: lhs = Counter(4), rhs = Counter(5)
- expression 7 operands: lhs = Expression(52, Add), rhs = Expression(53, Add)
- expression 8 operands: lhs = Counter(3), rhs = Zero
- expression 9 operands: lhs = Counter(4), rhs = Counter(5)
- expression 10 operands: lhs = Expression(50, Sub), rhs = Zero
- expression 11 operands: lhs = Expression(51, Add), rhs = Counter(6)
- expression 12 operands: lhs = Expression(52, Add), rhs = Expression(53, Add)
- expression 13 operands: lhs = Counter(3), rhs = Zero
- expression 14 operands: lhs = Counter(4), rhs = Counter(5)
- expression 15 operands: lhs = Expression(50, Sub), rhs = Counter(5)
- expression 16 operands: lhs = Expression(51, Add), rhs = Counter(6)
- expression 17 operands: lhs = Expression(52, Add), rhs = Expression(53, Add)
- expression 18 operands: lhs = Counter(3), rhs = Zero
- expression 19 operands: lhs = Counter(4), rhs = Counter(5)
- expression 20 operands: lhs = Expression(49, Sub), rhs = Counter(7)
- expression 21 operands: lhs = Expression(50, Sub), rhs = Counter(5)
- expression 22 operands: lhs = Expression(51, Add), rhs = Counter(6)
- expression 23 operands: lhs = Expression(52, Add), rhs = Expression(53, Add)
- expression 24 operands: lhs = Counter(3), rhs = Zero
- expression 25 operands: lhs = Counter(4), rhs = Counter(5)
- expression 26 operands: lhs = Expression(47, Sub), rhs = Expression(48, Sub)
- expression 27 operands: lhs = Zero, rhs = Zero
- expression 28 operands: lhs = Expression(49, Sub), rhs = Counter(7)
- expression 29 operands: lhs = Expression(50, Sub), rhs = Counter(5)
- expression 30 operands: lhs = Expression(51, Add), rhs = Counter(6)
- expression 31 operands: lhs = Expression(52, Add), rhs = Expression(53, Add)
- expression 32 operands: lhs = Counter(3), rhs = Zero
- expression 33 operands: lhs = Counter(4), rhs = Counter(5)
- expression 34 operands: lhs = Expression(46, Add), rhs = Counter(4)
- expression 35 operands: lhs = Expression(47, Sub), rhs = Expression(48, Sub)
- expression 36 operands: lhs = Zero, rhs = Zero
- expression 37 operands: lhs = Expression(49, Sub), rhs = Counter(7)
- expression 38 operands: lhs = Expression(50, Sub), rhs = Counter(5)
- expression 39 operands: lhs = Expression(51, Add), rhs = Counter(6)
- expression 40 operands: lhs = Expression(52, Add), rhs = Expression(53, Add)
- expression 41 operands: lhs = Counter(3), rhs = Zero
- expression 42 operands: lhs = Counter(4), rhs = Counter(5)
- expression 43 operands: lhs = Counter(9), rhs = Expression(44, Add)
- expression 44 operands: lhs = Expression(45, Sub), rhs = Counter(6)
- expression 45 operands: lhs = Expression(46, Add), rhs = Counter(4)
- expression 46 operands: lhs = Expression(47, Sub), rhs = Expression(48, Sub)
- expression 47 operands: lhs = Zero, rhs = Zero
- expression 48 operands: lhs = Expression(49, Sub), rhs = Counter(7)
- expression 49 operands: lhs = Expression(50, Sub), rhs = Counter(5)
- expression 50 operands: lhs = Expression(51, Add), rhs = Counter(6)
- expression 51 operands: lhs = Expression(52, Add), rhs = Expression(53, Add)
- expression 52 operands: lhs = Counter(3), rhs = Zero
- expression 53 operands: lhs = Counter(4), rhs = Counter(5)
Number of file 0 mappings: 20
- Code(Counter(0)) at (prev + 9, 5) to (start + 1, 16)
- Code(Counter(1)) at (prev + 2, 16) to (start + 0, 21)
- Code(Zero) at (prev + 1, 23) to (start + 0, 27)
- Code(Zero) at (prev + 0, 28) to (start + 0, 30)
- Code(Expression(0, Sub)) at (prev + 1, 14) to (start + 0, 15)
= (c1 - c2)
- Code(Expression(1, Add)) at (prev + 1, 13) to (start + 0, 30)
= ((Zero - Zero) + (c1 - c2))
- Code(Counter(9)) at (prev + 0, 30) to (start + 0, 31)
- Code(Zero) at (prev + 1, 16) to (start + 1, 10)
- Code(Expression(50, Sub)) at (prev + 3, 13) to (start + 0, 14)
= (((c3 + Zero) + (c4 + c5)) - c6)
- Code(Expression(51, Add)) at (prev + 0, 18) to (start + 0, 23)
= ((c3 + Zero) + (c4 + c5))
- Code(Expression(10, Add)) at (prev + 1, 16) to (start + 0, 20)
= ((((c3 + Zero) + (c4 + c5)) - c6) + Zero)
- Code(Expression(49, Sub)) at (prev + 1, 20) to (start + 0, 25)
= ((((c3 + Zero) + (c4 + c5)) - c6) - c5)
- Code(Zero) at (prev + 1, 27) to (start + 0, 31)
- Code(Zero) at (prev + 0, 32) to (start + 0, 34)
- Code(Expression(48, Sub)) at (prev + 1, 18) to (start + 0, 19)
= (((((c3 + Zero) + (c4 + c5)) - c6) - c5) - c7)
- Code(Expression(46, Add)) at (prev + 1, 17) to (start + 0, 34)
= ((Zero - Zero) + (((((c3 + Zero) + (c4 + c5)) - c6) - c5) - c7))
- Code(Expression(45, Sub)) at (prev + 0, 34) to (start + 0, 35)
= (((Zero - Zero) + (((((c3 + Zero) + (c4 + c5)) - c6) - c5) - c7)) - c4)
- Code(Zero) at (prev + 1, 20) to (start + 1, 14)
- Code(Counter(6)) at (prev + 3, 9) to (start + 0, 15)
- Code(Expression(43, Add)) at (prev + 1, 5) to (start + 0, 6)
= (c9 + ((((Zero - Zero) + (((((c3 + Zero) + (c4 + c5)) - c6) - c5) - c7)) - c4) + c6))
Function name: <loops_branches::DisplayTest as core::fmt::Display>::fmt
Raw bytes (266): 0x[01, 01, 38, 01, 05, 02, 09, 0e, 12, 00, 00, 02, 09, d3, 01, 19, d7, 01, db, 01, 05, 0d, 11, 15, d7, 01, db, 01, 05, 0d, 11, 15, ce, 01, 00, d3, 01, 19, d7, 01, db, 01, 05, 0d, 11, 15, ce, 01, 11, d3, 01, 19, d7, 01, db, 01, 05, 0d, 11, 15, ca, 01, 1d, ce, 01, 11, d3, 01, 19, d7, 01, db, 01, 05, 0d, 11, 15, c2, 01, c6, 01, 00, 00, ca, 01, 1d, ce, 01, 11, d3, 01, 19, d7, 01, db, 01, 05, 0d, 11, 15, bf, 01, 15, c2, 01, c6, 01, 00, 00, ca, 01, 1d, ce, 01, 11, d3, 01, 19, d7, 01, db, 01, 05, 0d, 11, 15, ba, 01, df, 01, bf, 01, 15, c2, 01, c6, 01, 00, 00, ca, 01, 1d, ce, 01, 11, d3, 01, 19, d7, 01, db, 01, 05, 0d, 11, 15, 19, 25, 14, 01, 22, 05, 01, 11, 00, 01, 12, 01, 0a, 02, 02, 10, 00, 15, 00, 01, 17, 00, 1b, 00, 00, 1c, 00, 1e, 12, 01, 0e, 00, 0f, 0b, 01, 0d, 00, 1e, 25, 00, 1e, 00, 1f, ce, 01, 02, 0d, 00, 0e, d3, 01, 00, 12, 00, 17, 33, 01, 10, 00, 15, 00, 00, 16, 01, 0e, ca, 01, 02, 14, 00, 19, 00, 01, 1b, 00, 1f, 00, 00, 20, 00, 22, c6, 01, 01, 12, 00, 13, bf, 01, 01, 11, 00, 22, ba, 01, 00, 22, 00, 23, 19, 03, 09, 00, 0f, b7, 01, 01, 05, 00, 06]
Number of files: 1
- file 0 => global file 1
Number of expressions: 56
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
- expression 1 operands: lhs = Expression(0, Sub), rhs = Counter(2)
- expression 2 operands: lhs = Expression(3, Sub), rhs = Expression(4, Sub)
- expression 3 operands: lhs = Zero, rhs = Zero
- expression 4 operands: lhs = Expression(0, Sub), rhs = Counter(2)
- expression 5 operands: lhs = Expression(52, Add), rhs = Counter(6)
- expression 6 operands: lhs = Expression(53, Add), rhs = Expression(54, Add)
- expression 7 operands: lhs = Counter(1), rhs = Counter(3)
- expression 8 operands: lhs = Counter(4), rhs = Counter(5)
- expression 9 operands: lhs = Expression(53, Add), rhs = Expression(54, Add)
- expression 10 operands: lhs = Counter(1), rhs = Counter(3)
- expression 11 operands: lhs = Counter(4), rhs = Counter(5)
- expression 12 operands: lhs = Expression(51, Sub), rhs = Zero
- expression 13 operands: lhs = Expression(52, Add), rhs = Counter(6)
- expression 14 operands: lhs = Expression(53, Add), rhs = Expression(54, Add)
- expression 15 operands: lhs = Counter(1), rhs = Counter(3)
- expression 16 operands: lhs = Counter(4), rhs = Counter(5)
- expression 17 operands: lhs = Expression(51, Sub), rhs = Counter(4)
- expression 18 operands: lhs = Expression(52, Add), rhs = Counter(6)
- expression 19 operands: lhs = Expression(53, Add), rhs = Expression(54, Add)
- expression 20 operands: lhs = Counter(1), rhs = Counter(3)
- expression 21 operands: lhs = Counter(4), rhs = Counter(5)
- expression 22 operands: lhs = Expression(50, Sub), rhs = Counter(7)
- expression 23 operands: lhs = Expression(51, Sub), rhs = Counter(4)
- expression 24 operands: lhs = Expression(52, Add), rhs = Counter(6)
- expression 25 operands: lhs = Expression(53, Add), rhs = Expression(54, Add)
- expression 26 operands: lhs = Counter(1), rhs = Counter(3)
- expression 27 operands: lhs = Counter(4), rhs = Counter(5)
- expression 28 operands: lhs = Expression(48, Sub), rhs = Expression(49, Sub)
- expression 29 operands: lhs = Zero, rhs = Zero
- expression 30 operands: lhs = Expression(50, Sub), rhs = Counter(7)
- expression 31 operands: lhs = Expression(51, Sub), rhs = Counter(4)
- expression 32 operands: lhs = Expression(52, Add), rhs = Counter(6)
- expression 33 operands: lhs = Expression(53, Add), rhs = Expression(54, Add)
- expression 34 operands: lhs = Counter(1), rhs = Counter(3)
- expression 35 operands: lhs = Counter(4), rhs = Counter(5)
- expression 36 operands: lhs = Expression(47, Add), rhs = Counter(5)
- expression 37 operands: lhs = Expression(48, Sub), rhs = Expression(49, Sub)
- expression 38 operands: lhs = Zero, rhs = Zero
- expression 39 operands: lhs = Expression(50, Sub), rhs = Counter(7)
- expression 40 operands: lhs = Expression(51, Sub), rhs = Counter(4)
- expression 41 operands: lhs = Expression(52, Add), rhs = Counter(6)
- expression 42 operands: lhs = Expression(53, Add), rhs = Expression(54, Add)
- expression 43 operands: lhs = Counter(1), rhs = Counter(3)
- expression 44 operands: lhs = Counter(4), rhs = Counter(5)
- expression 45 operands: lhs = Expression(46, Sub), rhs = Expression(55, Add)
- expression 46 operands: lhs = Expression(47, Add), rhs = Counter(5)
- expression 47 operands: lhs = Expression(48, Sub), rhs = Expression(49, Sub)
- expression 48 operands: lhs = Zero, rhs = Zero
- expression 49 operands: lhs = Expression(50, Sub), rhs = Counter(7)
- expression 50 operands: lhs = Expression(51, Sub), rhs = Counter(4)
- expression 51 operands: lhs = Expression(52, Add), rhs = Counter(6)
- expression 52 operands: lhs = Expression(53, Add), rhs = Expression(54, Add)
- expression 53 operands: lhs = Counter(1), rhs = Counter(3)
- expression 54 operands: lhs = Counter(4), rhs = Counter(5)
- expression 55 operands: lhs = Counter(6), rhs = Counter(9)
Number of file 0 mappings: 20
- Code(Counter(0)) at (prev + 34, 5) to (start + 1, 17)
- Code(Zero) at (prev + 1, 18) to (start + 1, 10)
- Code(Expression(0, Sub)) at (prev + 2, 16) to (start + 0, 21)
= (c0 - c1)
- Code(Zero) at (prev + 1, 23) to (start + 0, 27)
- Code(Zero) at (prev + 0, 28) to (start + 0, 30)
- Code(Expression(4, Sub)) at (prev + 1, 14) to (start + 0, 15)
= ((c0 - c1) - c2)
- Code(Expression(2, Add)) at (prev + 1, 13) to (start + 0, 30)
= ((Zero - Zero) + ((c0 - c1) - c2))
- Code(Counter(9)) at (prev + 0, 30) to (start + 0, 31)
- Code(Expression(51, Sub)) at (prev + 2, 13) to (start + 0, 14)
= (((c1 + c3) + (c4 + c5)) - c6)
- Code(Expression(52, Add)) at (prev + 0, 18) to (start + 0, 23)
= ((c1 + c3) + (c4 + c5))
- Code(Expression(12, Add)) at (prev + 1, 16) to (start + 0, 21)
= ((((c1 + c3) + (c4 + c5)) - c6) + Zero)
- Code(Zero) at (prev + 0, 22) to (start + 1, 14)
- Code(Expression(50, Sub)) at (prev + 2, 20) to (start + 0, 25)
= ((((c1 + c3) + (c4 + c5)) - c6) - c4)
- Code(Zero) at (prev + 1, 27) to (start + 0, 31)
- Code(Zero) at (prev + 0, 32) to (start + 0, 34)
- Code(Expression(49, Sub)) at (prev + 1, 18) to (start + 0, 19)
= (((((c1 + c3) + (c4 + c5)) - c6) - c4) - c7)
- Code(Expression(47, Add)) at (prev + 1, 17) to (start + 0, 34)
= ((Zero - Zero) + (((((c1 + c3) + (c4 + c5)) - c6) - c4) - c7))
- Code(Expression(46, Sub)) at (prev + 0, 34) to (start + 0, 35)
= (((Zero - Zero) + (((((c1 + c3) + (c4 + c5)) - c6) - c4) - c7)) - c5)
- Code(Counter(6)) at (prev + 3, 9) to (start + 0, 15)
- Code(Expression(45, Add)) at (prev + 1, 5) to (start + 0, 6)
= ((((Zero - Zero) + (((((c1 + c3) + (c4 + c5)) - c6) - c4) - c7)) - c5) + (c6 + c9))
Function name: loops_branches::main
Raw bytes (9): 0x[01, 01, 00, 01, 01, 37, 01, 05, 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 + 55, 1) to (start + 5, 2)