rust/tests/mir-opt/building/custom
Tomasz Miąsko 78da577650 Custom MIR: Support cleanup blocks
Cleanup blocks are declared with `bb (cleanup) = { ... }`.

`Call` and `Drop` terminators take an additional argument describing the
unwind action, which is one of the following:

* `UnwindContinue()`
* `UnwindUnreachable()`
* `UnwindTerminate(reason)`, where reason is `ReasonAbi` or `ReasonInCleanup`
* `UnwindCleanup(block)`

Also support unwind resume and unwind terminate terminators:

* `UnwindResume()`
* `UnwindTerminate(reason)`
2023-11-14 08:23:58 +01:00
..
aggregate_exprs.adt.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
aggregate_exprs.array.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
aggregate_exprs.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
aggregate_exprs.tuple.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
arbitrary_let.arbitrary_let.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
arbitrary_let.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
arrays.arrays.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
arrays.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
as_cast.float_to_int.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
as_cast.int_to_int.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
as_cast.int_to_ptr.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
as_cast.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
composite_return.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
composite_return.tuple.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
consts.consts.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
consts.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
consts.statics.built.after.mir Normalize alloc-id in tests. 2023-10-16 16:29:35 +00:00
debuginfo.numbered.built.after.mir Support debuginfo for custom MIR. 2023-09-01 16:16:31 +00:00
debuginfo.pointee.built.after.mir Support debuginfo for custom MIR. 2023-09-01 16:16:31 +00:00
debuginfo.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
debuginfo.structured.built.after.mir Support debuginfo for custom MIR. 2023-09-01 16:16:31 +00:00
debuginfo.variant_deref.built.after.mir Support debuginfo for custom MIR. 2023-09-01 16:16:31 +00:00
debuginfo.variant.built.after.mir Support debuginfo for custom MIR. 2023-09-01 16:16:31 +00:00
enums.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
enums.set_discr_repr.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enums.set_discr.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enums.switch_bool.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enums.switch_option_repr.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enums.switch_option.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
operators.f.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
operators.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
projections.copy_for_deref.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
projections.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
projections.set.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
projections.simple_index.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
projections.tuples.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
projections.unions.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
projections.unwrap_deref.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
projections.unwrap.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
references.immut_ref.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
references.mut_ref.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
references.raw_pointer_offset.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
references.raw_pointer.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
references.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
simple_assign.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
simple_assign.simple_ref.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
simple_assign.simple.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
terminators.assert_nonzero.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
terminators.direct_call.built.after.mir Bless tests 2023-06-23 18:36:25 +01:00
terminators.drop_first.built.after.mir Bless tests 2023-06-23 18:36:25 +01:00
terminators.drop_second.built.after.mir Bless tests 2023-06-23 18:36:25 +01:00
terminators.indirect_call.built.after.mir Bless tests 2023-06-23 18:36:25 +01:00
terminators.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
unwind_action.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
unwind_terminate.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00