summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-29 20:39:23 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-29 20:39:23 +0000
commite79ce47ad718459183998034a42061da70ec58e0 (patch)
treee70e9eb939f2f2b903f60e7932baa0cc628076ef /llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
parent4d5c8f894d137dd538283b4f1c41512dbb6d0961 (diff)
downloadbcm5719-llvm-e79ce47ad718459183998034a42061da70ec58e0.tar.gz
bcm5719-llvm-e79ce47ad718459183998034a42061da70ec58e0.zip
Update tests to new EH model. Add landingpad instructions to landing pads.
llvm-svn: 138759
Diffstat (limited to 'llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll')
-rw-r--r--llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll b/llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
index c019931c07e..7551e8fb747 100644
--- a/llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
+++ b/llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
@@ -8,6 +8,9 @@ define i32 @test() {
Ret: ; preds = %0
ret i32 %A
Ret2: ; preds = %0
+ %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
+ catch i8* null
ret i32 undef
}
+declare i32 @__gxx_personality_v0(...)
OpenPOWER on IntegriCloud