Add UnwindAction::Terminate
This commit is contained in:
parent
5e6ed132fa
commit
0a5dac3062
16 changed files with 126 additions and 121 deletions
|
@ -763,6 +763,10 @@ pub enum UnwindAction {
|
|||
Continue,
|
||||
/// Triggers undefined behavior if unwind happens.
|
||||
Unreachable,
|
||||
/// Terminates the execution if unwind happens.
|
||||
///
|
||||
/// Depending on the platform and situation this may cause a non-unwindable panic or abort.
|
||||
Terminate,
|
||||
/// Cleanups to be done.
|
||||
Cleanup(BasicBlock),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue