Skip to content

Commit b541f5f

Browse files
authored
Auto merge of #35014 - vadimcn:travis-test, r=alexcrichton
Fix Travis tests r? @vadimcn
2 parents feeca94 + 5fbcf08 commit b541f5f

File tree

1 file changed

+3
-4
lines changed
  • src/libpanic_unwind/dwarf

1 file changed

+3
-4
lines changed

src/libpanic_unwind/dwarf/eh.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,9 @@ pub unsafe fn find_eh_action(lsda: *const u8, context: &EHContext) -> EHAction {
108108
}
109109
}
110110
}
111-
// If ip is not present in the table, call terminate. This is for
112-
// a destructor inside a cleanup, or a library routine the compiler
113-
// was not expecting to throw
114-
EHAction::Terminate
111+
// Ip is not present in the table. This should not hapen... but it does: issie #35011.
112+
// So rather than returning EHAction::Terminate, we do this.
113+
EHAction::None
115114
} else {
116115
// SjLj version:
117116
// The "IP" is an index into the call-site table, with two exceptions:

0 commit comments

Comments
 (0)