rust/tests/ui/mir/validate
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
..
issue-95978-validator-lifetime-comparison.rs
needs-reveal-all.rs
noncleanup-cleanup.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
noncleanup-resume.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
noncleanup-terminate.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
storage-live.rs MIR-Validate StorageLive. 2023-02-25 16:27:10 +00:00
storage-live.stderr Change default panic handler message format. 2023-07-29 11:42:50 +02:00
transmute_cast_sized.rs Fix transmute intrinsic mir validation ICE 2023-04-09 18:16:05 -07:00