Skip to content

Commit

Permalink
Looser LSDA parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimcn committed Jul 25, 2016
1 parent 2c50f4e commit 5fbcf08
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/libpanic_unwind/dwarf/eh.rs
Expand Up @@ -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:
Expand Down

0 comments on commit 5fbcf08

Please sign in to comment.