rust/tests/mir-opt/asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
370 B
Rust
Raw Normal View History

// MIR for `main` after AbortUnwindingCalls
fn main() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let _1: ();
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_1);
_1 = const ();
2024-08-28 12:00:21 -05:00
asm!("", options(MAY_UNWIND)) -> [return: bb1, unwind: bb2];
}
bb1: {
2023-06-06 08:47:00 -05:00
StorageDead(_1);
_0 = const ();
return;
}
2024-08-28 12:00:21 -05:00
bb2 (cleanup): {
terminate(abi);
}
}