about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-26 17:07:08 -0700
committerGitHub <noreply@github.com>2016-07-26 17:07:08 -0700
commitb541f5f0cc342dc6d31d7980f75c3d3d42f7587f (patch)
tree48fc1a7286673d72ca5264e6c012a1fabfd498e4 /src
parentfeeca945738ffc6d252ae0fbb2f35723e4eb95a6 (diff)
parent5fbcf08dd8cfc347c13d84c8ea20e3bfce6793fc (diff)
downloadrust-b541f5f0cc342dc6d31d7980f75c3d3d42f7587f.tar.gz
rust-b541f5f0cc342dc6d31d7980f75c3d3d42f7587f.zip
Auto merge of #35014 - vadimcn:travis-test, r=alexcrichton
Fix Travis tests

r? @vadimcn
Diffstat (limited to 'src')
-rw-r--r--src/libpanic_unwind/dwarf/eh.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libpanic_unwind/dwarf/eh.rs b/src/libpanic_unwind/dwarf/eh.rs
index 32fdf5c2048..1e9e9e30f5c 100644
--- a/src/libpanic_unwind/dwarf/eh.rs
+++ b/src/libpanic_unwind/dwarf/eh.rs
@@ -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: