mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 14:57:14 +00:00
Looser LSDA parsing
This commit is contained in:
parent
2c50f4e484
commit
5fbcf08dd8
@ -108,10 +108,9 @@ pub unsafe fn find_eh_action(lsda: *const u8, context: &EHContext) -> EHAction {
|
||||
}
|
||||
}
|
||||
}
|
||||
// If ip is not present in the table, call terminate. This is for
|
||||
// a destructor inside a cleanup, or a library routine the compiler
|
||||
// was not expecting to throw
|
||||
EHAction::Terminate
|
||||
// Ip is not present in the table. This should not hapen... but it does: issie #35011.
|
||||
// So rather than returning EHAction::Terminate, we do this.
|
||||
EHAction::None
|
||||
} else {
|
||||
// SjLj version:
|
||||
// The "IP" is an index into the call-site table, with two exceptions:
|
||||
|
Loading…
Reference in New Issue
Block a user