summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-25 23:48:37 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-25 23:48:37 +0000
commit1a9a2d0d6b16cea4cf98fdce5db597008453cbd6 (patch)
tree3359a7ce4ab061a65821816a9b2e92b633a8308b /test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
parent09908c4b4a0b25eab4cb496d95d9dcc93f2214f2 (diff)
downloadllvm-1a9a2d0d6b16cea4cf98fdce5db597008453cbd6.tar.gz
llvm-1a9a2d0d6b16cea4cf98fdce5db597008453cbd6.tar.bz2
llvm-1a9a2d0d6b16cea4cf98fdce5db597008453cbd6.tar.xz
Update to the new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll')
-rw-r--r--test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll b/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
index 22bd4d7e6a..3cbf4c5665 100644
--- a/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
+++ b/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
@@ -64,10 +64,16 @@ invcont38: ; preds = %invcont25, %bb1.i,
lpad: ; preds = %bb.i93, %invcont24, %bb1.i, %invcont8
%__extracted.1 = phi i32 [ 0, %invcont8 ], [ %2, %bb1.i ], [ undef, %bb.i93 ], [ undef, %invcont24 ] ; <i32> [#uses=0]
- %eh_ptr = call i8* @llvm.eh.exception() ; <i8*> [#uses=1]
+ %lpad1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ catch i8* null
+ %eh_ptr = extractvalue { i8*, i32 } %lpad1, 0
%6 = call i8* @__cxa_begin_catch(i8* %eh_ptr) nounwind ; <i8*> [#uses=0]
unreachable
lpad74: ; preds = %entry
+ %lpad2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ cleanup
unreachable
}
+
+declare i32 @__gxx_personality_v0(...)