3141177995
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.
227 lines
14 KiB
Plaintext
227 lines
14 KiB
Plaintext
Function name: <try_error_result::Thing1>::get_thing_2
|
|
Raw bytes (28): 0x[01, 01, 02, 01, 05, 05, 02, 04, 01, 28, 05, 01, 18, 05, 02, 0d, 00, 14, 02, 02, 0d, 00, 1a, 07, 02, 05, 00, 06]
|
|
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 = Expression(0, Sub)
|
|
Number of file 0 mappings: 4
|
|
- Code(Counter(0)) at (prev + 40, 5) to (start + 1, 24)
|
|
- Code(Counter(1)) at (prev + 2, 13) to (start + 0, 20)
|
|
- Code(Expression(0, Sub)) at (prev + 2, 13) to (start + 0, 26)
|
|
= (c0 - c1)
|
|
- Code(Expression(1, Add)) at (prev + 2, 5) to (start + 0, 6)
|
|
= (c1 + (c0 - c1))
|
|
|
|
Function name: <try_error_result::Thing2>::call
|
|
Raw bytes (28): 0x[01, 01, 02, 01, 05, 05, 02, 04, 01, 33, 05, 01, 18, 05, 02, 0d, 00, 14, 02, 02, 0d, 00, 13, 07, 02, 05, 00, 06]
|
|
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 = Expression(0, Sub)
|
|
Number of file 0 mappings: 4
|
|
- Code(Counter(0)) at (prev + 51, 5) to (start + 1, 24)
|
|
- Code(Counter(1)) at (prev + 2, 13) to (start + 0, 20)
|
|
- Code(Expression(0, Sub)) at (prev + 2, 13) to (start + 0, 19)
|
|
= (c0 - c1)
|
|
- Code(Expression(1, Add)) at (prev + 2, 5) to (start + 0, 6)
|
|
= (c1 + (c0 - c1))
|
|
|
|
Function name: try_error_result::call
|
|
Raw bytes (28): 0x[01, 01, 02, 01, 05, 05, 02, 04, 01, 04, 01, 01, 14, 05, 02, 09, 00, 10, 02, 02, 09, 00, 0f, 07, 02, 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 = Expression(0, Sub)
|
|
Number of file 0 mappings: 4
|
|
- Code(Counter(0)) at (prev + 4, 1) to (start + 1, 20)
|
|
- Code(Counter(1)) at (prev + 2, 9) to (start + 0, 16)
|
|
- Code(Expression(0, Sub)) at (prev + 2, 9) to (start + 0, 15)
|
|
= (c0 - c1)
|
|
- Code(Expression(1, Add)) at (prev + 2, 1) to (start + 0, 2)
|
|
= (c1 + (c0 - c1))
|
|
|
|
Function name: try_error_result::main
|
|
Raw bytes (28): 0x[01, 01, 02, 01, 05, 05, 02, 04, 01, 70, 01, 02, 0c, 05, 03, 05, 00, 06, 02, 02, 05, 00, 0b, 07, 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 = Expression(0, Sub)
|
|
Number of file 0 mappings: 4
|
|
- Code(Counter(0)) at (prev + 112, 1) to (start + 2, 12)
|
|
- 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)
|
|
- Code(Expression(1, Add)) at (prev + 1, 1) to (start + 0, 2)
|
|
= (c1 + (c0 - c1))
|
|
|
|
Function name: try_error_result::test1
|
|
Raw bytes (77): 0x[01, 01, 09, 01, 07, 05, 09, 03, 0d, 1d, 11, 16, 1d, 03, 0d, 1f, 0d, 11, 23, 15, 19, 0b, 01, 0c, 01, 02, 17, 03, 07, 09, 00, 0e, 16, 02, 09, 04, 1a, 1d, 06, 0d, 00, 29, 11, 00, 29, 00, 2a, 0e, 01, 0d, 00, 2a, 15, 00, 2a, 00, 2b, 12, 04, 0d, 00, 2a, 19, 00, 2a, 00, 2b, 0d, 03, 05, 00, 0b, 1b, 01, 01, 00, 02]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 9
|
|
- expression 0 operands: lhs = Counter(0), rhs = Expression(1, Add)
|
|
- expression 1 operands: lhs = Counter(1), rhs = Counter(2)
|
|
- expression 2 operands: lhs = Expression(0, Add), rhs = Counter(3)
|
|
- expression 3 operands: lhs = Counter(7), rhs = Counter(4)
|
|
- expression 4 operands: lhs = Expression(5, Sub), rhs = Counter(7)
|
|
- expression 5 operands: lhs = Expression(0, Add), rhs = Counter(3)
|
|
- expression 6 operands: lhs = Expression(7, Add), rhs = Counter(3)
|
|
- expression 7 operands: lhs = Counter(4), rhs = Expression(8, Add)
|
|
- expression 8 operands: lhs = Counter(5), rhs = Counter(6)
|
|
Number of file 0 mappings: 11
|
|
- Code(Counter(0)) at (prev + 12, 1) to (start + 2, 23)
|
|
- Code(Expression(0, Add)) at (prev + 7, 9) to (start + 0, 14)
|
|
= (c0 + (c1 + c2))
|
|
- Code(Expression(5, Sub)) at (prev + 2, 9) to (start + 4, 26)
|
|
= ((c0 + (c1 + c2)) - c3)
|
|
- Code(Counter(7)) at (prev + 6, 13) to (start + 0, 41)
|
|
- Code(Counter(4)) at (prev + 0, 41) to (start + 0, 42)
|
|
- Code(Expression(3, Sub)) at (prev + 1, 13) to (start + 0, 42)
|
|
= (c7 - c4)
|
|
- Code(Counter(5)) at (prev + 0, 42) to (start + 0, 43)
|
|
- Code(Expression(4, Sub)) at (prev + 4, 13) to (start + 0, 42)
|
|
= (((c0 + (c1 + c2)) - c3) - c7)
|
|
- Code(Counter(6)) at (prev + 0, 42) to (start + 0, 43)
|
|
- Code(Counter(3)) at (prev + 3, 5) to (start + 0, 11)
|
|
- Code(Expression(6, Add)) at (prev + 1, 1) to (start + 0, 2)
|
|
= ((c4 + (c5 + c6)) + c3)
|
|
|
|
Function name: try_error_result::test2
|
|
Raw bytes (373): 0x[01, 01, 41, 01, 07, 05, 09, 03, 0d, 41, 11, 52, 15, 41, 11, 4a, 1d, 4e, 19, 52, 15, 41, 11, 4e, 00, 52, 15, 41, 11, 4e, 19, 52, 15, 41, 11, 46, 00, 4a, 1d, 4e, 19, 52, 15, 41, 11, 6a, 25, 49, 21, 49, 21, 66, 00, 6a, 25, 49, 21, 9a, 01, 2d, 9e, 01, 29, a2, 01, 41, 03, 0d, a2, 01, 41, 03, 0d, 9e, 01, 29, a2, 01, 41, 03, 0d, 96, 01, 00, 9a, 01, 2d, 9e, 01, 29, a2, 01, 41, 03, 0d, ba, 01, 35, 45, 31, 45, 31, b6, 01, 00, ba, 01, 35, 45, 31, d2, 01, 3d, 4d, 39, 4d, 39, ce, 01, 00, d2, 01, 3d, 4d, 39, db, 01, 0d, 11, df, 01, e3, 01, f3, 01, 15, e7, 01, eb, 01, ef, 01, 19, 1d, 21, 25, f7, 01, fb, 01, 29, 2d, ff, 01, 83, 02, 31, 35, 39, 3d, 28, 01, 3c, 01, 03, 17, 03, 08, 09, 00, 0e, a2, 01, 02, 09, 04, 1a, 41, 06, 0d, 00, 2f, 11, 00, 2f, 00, 30, 52, 00, 31, 03, 35, 15, 04, 11, 00, 12, 4e, 02, 11, 04, 12, 46, 05, 11, 00, 14, 2b, 00, 17, 00, 41, 19, 00, 41, 00, 42, 4a, 00, 43, 00, 5f, 1d, 00, 5f, 00, 60, 43, 01, 0d, 00, 20, 66, 01, 11, 00, 14, 49, 00, 17, 00, 41, 21, 00, 41, 00, 42, 6a, 00, 43, 00, 60, 25, 00, 60, 00, 61, 63, 01, 0d, 00, 20, 96, 01, 04, 11, 00, 14, 9e, 01, 00, 17, 00, 42, 29, 00, 42, 00, 43, 9a, 01, 00, 44, 00, 61, 2d, 00, 61, 00, 62, 93, 01, 01, 0d, 00, 20, b6, 01, 01, 11, 00, 14, 45, 00, 17, 01, 36, 31, 01, 36, 00, 37, ba, 01, 01, 12, 00, 2f, 35, 00, 2f, 00, 30, b3, 01, 01, 0d, 00, 20, ce, 01, 01, 11, 00, 14, 4d, 00, 17, 01, 36, 39, 02, 11, 00, 12, d2, 01, 01, 12, 00, 2f, 3d, 01, 11, 00, 12, cb, 01, 02, 0d, 00, 20, 0d, 03, 05, 00, 0b, d7, 01, 01, 01, 00, 02]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 65
|
|
- expression 0 operands: lhs = Counter(0), rhs = Expression(1, Add)
|
|
- expression 1 operands: lhs = Counter(1), rhs = Counter(2)
|
|
- expression 2 operands: lhs = Expression(0, Add), rhs = Counter(3)
|
|
- expression 3 operands: lhs = Counter(16), rhs = Counter(4)
|
|
- expression 4 operands: lhs = Expression(20, Sub), rhs = Counter(5)
|
|
- expression 5 operands: lhs = Counter(16), rhs = Counter(4)
|
|
- expression 6 operands: lhs = Expression(18, Sub), rhs = Counter(7)
|
|
- expression 7 operands: lhs = Expression(19, Sub), rhs = Counter(6)
|
|
- expression 8 operands: lhs = Expression(20, Sub), rhs = Counter(5)
|
|
- expression 9 operands: lhs = Counter(16), rhs = Counter(4)
|
|
- expression 10 operands: lhs = Expression(19, Sub), rhs = Zero
|
|
- expression 11 operands: lhs = Expression(20, Sub), rhs = Counter(5)
|
|
- expression 12 operands: lhs = Counter(16), rhs = Counter(4)
|
|
- expression 13 operands: lhs = Expression(19, Sub), rhs = Counter(6)
|
|
- expression 14 operands: lhs = Expression(20, Sub), rhs = Counter(5)
|
|
- expression 15 operands: lhs = Counter(16), rhs = Counter(4)
|
|
- expression 16 operands: lhs = Expression(17, Sub), rhs = Zero
|
|
- expression 17 operands: lhs = Expression(18, Sub), rhs = Counter(7)
|
|
- expression 18 operands: lhs = Expression(19, Sub), rhs = Counter(6)
|
|
- expression 19 operands: lhs = Expression(20, Sub), rhs = Counter(5)
|
|
- expression 20 operands: lhs = Counter(16), rhs = Counter(4)
|
|
- expression 21 operands: lhs = Expression(26, Sub), rhs = Counter(9)
|
|
- expression 22 operands: lhs = Counter(18), rhs = Counter(8)
|
|
- expression 23 operands: lhs = Counter(18), rhs = Counter(8)
|
|
- expression 24 operands: lhs = Expression(25, Sub), rhs = Zero
|
|
- expression 25 operands: lhs = Expression(26, Sub), rhs = Counter(9)
|
|
- expression 26 operands: lhs = Counter(18), rhs = Counter(8)
|
|
- expression 27 operands: lhs = Expression(38, Sub), rhs = Counter(11)
|
|
- expression 28 operands: lhs = Expression(39, Sub), rhs = Counter(10)
|
|
- expression 29 operands: lhs = Expression(40, Sub), rhs = Counter(16)
|
|
- expression 30 operands: lhs = Expression(0, Add), rhs = Counter(3)
|
|
- expression 31 operands: lhs = Expression(40, Sub), rhs = Counter(16)
|
|
- expression 32 operands: lhs = Expression(0, Add), rhs = Counter(3)
|
|
- expression 33 operands: lhs = Expression(39, Sub), rhs = Counter(10)
|
|
- expression 34 operands: lhs = Expression(40, Sub), rhs = Counter(16)
|
|
- expression 35 operands: lhs = Expression(0, Add), rhs = Counter(3)
|
|
- expression 36 operands: lhs = Expression(37, Sub), rhs = Zero
|
|
- expression 37 operands: lhs = Expression(38, Sub), rhs = Counter(11)
|
|
- expression 38 operands: lhs = Expression(39, Sub), rhs = Counter(10)
|
|
- expression 39 operands: lhs = Expression(40, Sub), rhs = Counter(16)
|
|
- expression 40 operands: lhs = Expression(0, Add), rhs = Counter(3)
|
|
- expression 41 operands: lhs = Expression(46, Sub), rhs = Counter(13)
|
|
- expression 42 operands: lhs = Counter(17), rhs = Counter(12)
|
|
- expression 43 operands: lhs = Counter(17), rhs = Counter(12)
|
|
- expression 44 operands: lhs = Expression(45, Sub), rhs = Zero
|
|
- expression 45 operands: lhs = Expression(46, Sub), rhs = Counter(13)
|
|
- expression 46 operands: lhs = Counter(17), rhs = Counter(12)
|
|
- expression 47 operands: lhs = Expression(52, Sub), rhs = Counter(15)
|
|
- expression 48 operands: lhs = Counter(19), rhs = Counter(14)
|
|
- expression 49 operands: lhs = Counter(19), rhs = Counter(14)
|
|
- expression 50 operands: lhs = Expression(51, Sub), rhs = Zero
|
|
- expression 51 operands: lhs = Expression(52, Sub), rhs = Counter(15)
|
|
- expression 52 operands: lhs = Counter(19), rhs = Counter(14)
|
|
- expression 53 operands: lhs = Expression(54, Add), rhs = Counter(3)
|
|
- expression 54 operands: lhs = Counter(4), rhs = Expression(55, Add)
|
|
- expression 55 operands: lhs = Expression(56, Add), rhs = Expression(60, Add)
|
|
- expression 56 operands: lhs = Counter(5), rhs = Expression(57, Add)
|
|
- expression 57 operands: lhs = Expression(58, Add), rhs = Expression(59, Add)
|
|
- expression 58 operands: lhs = Counter(6), rhs = Counter(7)
|
|
- expression 59 operands: lhs = Counter(8), rhs = Counter(9)
|
|
- expression 60 operands: lhs = Expression(61, Add), rhs = Expression(62, Add)
|
|
- expression 61 operands: lhs = Counter(10), rhs = Counter(11)
|
|
- expression 62 operands: lhs = Expression(63, Add), rhs = Expression(64, Add)
|
|
- expression 63 operands: lhs = Counter(12), rhs = Counter(13)
|
|
- expression 64 operands: lhs = Counter(14), rhs = Counter(15)
|
|
Number of file 0 mappings: 40
|
|
- Code(Counter(0)) at (prev + 60, 1) to (start + 3, 23)
|
|
- Code(Expression(0, Add)) at (prev + 8, 9) to (start + 0, 14)
|
|
= (c0 + (c1 + c2))
|
|
- Code(Expression(40, Sub)) at (prev + 2, 9) to (start + 4, 26)
|
|
= ((c0 + (c1 + c2)) - c3)
|
|
- Code(Counter(16)) at (prev + 6, 13) to (start + 0, 47)
|
|
- Code(Counter(4)) at (prev + 0, 47) to (start + 0, 48)
|
|
- Code(Expression(20, Sub)) at (prev + 0, 49) to (start + 3, 53)
|
|
= (c16 - c4)
|
|
- Code(Counter(5)) at (prev + 4, 17) to (start + 0, 18)
|
|
- Code(Expression(19, Sub)) at (prev + 2, 17) to (start + 4, 18)
|
|
= ((c16 - c4) - c5)
|
|
- Code(Expression(17, Sub)) at (prev + 5, 17) to (start + 0, 20)
|
|
= ((((c16 - c4) - c5) - c6) - c7)
|
|
- Code(Expression(10, Add)) at (prev + 0, 23) to (start + 0, 65)
|
|
= (((c16 - c4) - c5) + Zero)
|
|
- Code(Counter(6)) at (prev + 0, 65) to (start + 0, 66)
|
|
- Code(Expression(18, Sub)) at (prev + 0, 67) to (start + 0, 95)
|
|
= (((c16 - c4) - c5) - c6)
|
|
- Code(Counter(7)) at (prev + 0, 95) to (start + 0, 96)
|
|
- Code(Expression(16, Add)) at (prev + 1, 13) to (start + 0, 32)
|
|
= (((((c16 - c4) - c5) - c6) - c7) + Zero)
|
|
- Code(Expression(25, Sub)) at (prev + 1, 17) to (start + 0, 20)
|
|
= ((c18 - c8) - c9)
|
|
- Code(Counter(18)) at (prev + 0, 23) to (start + 0, 65)
|
|
- Code(Counter(8)) at (prev + 0, 65) to (start + 0, 66)
|
|
- Code(Expression(26, Sub)) at (prev + 0, 67) to (start + 0, 96)
|
|
= (c18 - c8)
|
|
- Code(Counter(9)) at (prev + 0, 96) to (start + 0, 97)
|
|
- Code(Expression(24, Add)) at (prev + 1, 13) to (start + 0, 32)
|
|
= (((c18 - c8) - c9) + Zero)
|
|
- Code(Expression(37, Sub)) at (prev + 4, 17) to (start + 0, 20)
|
|
= (((((c0 + (c1 + c2)) - c3) - c16) - c10) - c11)
|
|
- Code(Expression(39, Sub)) at (prev + 0, 23) to (start + 0, 66)
|
|
= (((c0 + (c1 + c2)) - c3) - c16)
|
|
- Code(Counter(10)) at (prev + 0, 66) to (start + 0, 67)
|
|
- Code(Expression(38, Sub)) at (prev + 0, 68) to (start + 0, 97)
|
|
= ((((c0 + (c1 + c2)) - c3) - c16) - c10)
|
|
- Code(Counter(11)) at (prev + 0, 97) to (start + 0, 98)
|
|
- Code(Expression(36, Add)) at (prev + 1, 13) to (start + 0, 32)
|
|
= ((((((c0 + (c1 + c2)) - c3) - c16) - c10) - c11) + Zero)
|
|
- Code(Expression(45, 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(12)) at (prev + 1, 54) to (start + 0, 55)
|
|
- Code(Expression(46, Sub)) at (prev + 1, 18) to (start + 0, 47)
|
|
= (c17 - c12)
|
|
- Code(Counter(13)) at (prev + 0, 47) to (start + 0, 48)
|
|
- Code(Expression(44, Add)) at (prev + 1, 13) to (start + 0, 32)
|
|
= (((c17 - c12) - c13) + Zero)
|
|
- Code(Expression(51, Sub)) at (prev + 1, 17) to (start + 0, 20)
|
|
= ((c19 - c14) - c15)
|
|
- Code(Counter(19)) at (prev + 0, 23) to (start + 1, 54)
|
|
- Code(Counter(14)) at (prev + 2, 17) to (start + 0, 18)
|
|
- Code(Expression(52, Sub)) at (prev + 1, 18) to (start + 0, 47)
|
|
= (c19 - c14)
|
|
- Code(Counter(15)) at (prev + 1, 17) to (start + 0, 18)
|
|
- Code(Expression(50, Add)) at (prev + 2, 13) to (start + 0, 32)
|
|
= (((c19 - c14) - c15) + Zero)
|
|
- Code(Counter(3)) at (prev + 3, 5) to (start + 0, 11)
|
|
- Code(Expression(53, Add)) at (prev + 1, 1) to (start + 0, 2)
|
|
= ((c4 + ((c5 + ((c6 + c7) + (c8 + c9))) + ((c10 + c11) + ((c12 + c13) + (c14 + c15))))) + c3)
|
|
|