summaryrefslogtreecommitdiff
path: root/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-31 21:50:07 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-31 21:50:07 +0000
commit08c28625409ec5c07f8c99ddda60d831ddf1203a (patch)
treed6c0be7529f1ed52b5bcb5096e389ed0a59f69c1 /test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
parenta29a6b9a6cc1683ddb922d05f3736cfee434afe7 (diff)
downloadllvm-08c28625409ec5c07f8c99ddda60d831ddf1203a.tar.gz
llvm-08c28625409ec5c07f8c99ddda60d831ddf1203a.tar.bz2
llvm-08c28625409ec5c07f8c99ddda60d831ddf1203a.tar.xz
Update to new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll')
-rw-r--r--test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll b/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
index 444ca8ec90..6bbcfdb67e 100644
--- a/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
+++ b/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
@@ -8,7 +8,9 @@ then: ; preds = %0
to label %invoke_cont unwind label %invoke_catch
invoke_catch: ; preds = %then
- unwind
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ resume { i8*, i32 } %exn
invoke_cont: ; preds = %then
ret void
@@ -17,3 +19,4 @@ endif: ; preds = %0
ret void
}
+declare i32 @__gxx_personality_v0(...)