summaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-31 20:55:40 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-31 20:55:40 +0000
commitb072dd9ba434d97aac2f3b40fc81202f36c0a075 (patch)
tree10f483f79f3c0a62c65acac4350dc954ec40cac4 /test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
parent4f8aaa0928caf36d7982534748c8390c5186d534 (diff)
downloadllvm-b072dd9ba434d97aac2f3b40fc81202f36c0a075.tar.gz
llvm-b072dd9ba434d97aac2f3b40fc81202f36c0a075.tar.bz2
llvm-b072dd9ba434d97aac2f3b40fc81202f36c0a075.tar.xz
Update the tests to the new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SCCP/2007-05-16-InvokeCrash.ll')
-rw-r--r--test/Transforms/SCCP/2007-05-16-InvokeCrash.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll b/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
index b84fe6db2f..a5a42f1b40 100644
--- a/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
+++ b/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
@@ -31,7 +31,9 @@ bb149: ; preds = %bb114
bb177: ; preds = %bb149
unreachable
cleanup: ; preds = %bb149, %bb114, %bb67
- unwind
+ %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
+ cleanup
+ resume { i8*, i32 } %val
}
declare double @sin(double)
@@ -39,3 +41,5 @@ declare double @sin(double)
declare double @log(double)
declare double @sqrt(double)
+
+declare i32 @__gxx_personality_v0(...)