summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr3522.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-31 21:39:05 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-31 21:39:05 +0000
commit935903191f0f1b62e78d68ec051be594fc4b4ce7 (patch)
tree40b848718999ceaa7ba3866ef57633493b5a95de /test/CodeGen/X86/pr3522.ll
parent24adac8b79a35af84fa19d210b00e9fba71e0085 (diff)
downloadllvm-935903191f0f1b62e78d68ec051be594fc4b4ce7.tar.gz
llvm-935903191f0f1b62e78d68ec051be594fc4b4ce7.tar.bz2
llvm-935903191f0f1b62e78d68ec051be594fc4b4ce7.tar.xz
Update more tests to the new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr3522.ll')
-rw-r--r--test/CodeGen/X86/pr3522.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/X86/pr3522.ll b/test/CodeGen/X86/pr3522.ll
index da1623721d..112253038b 100644
--- a/test/CodeGen/X86/pr3522.ll
+++ b/test/CodeGen/X86/pr3522.ll
@@ -21,6 +21,8 @@ return: ; preds = %lpad
ret void
lpad: ; preds = %entry
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
%2 = icmp eq i8 %1, 90 ; <i1> [#uses=1]
br i1 %2, label %return, label %bb22
}
@@ -28,3 +30,5 @@ lpad: ; preds = %entry
declare void @__gnat_rcheck_12(i8*, i32) noreturn
declare i32 @report__ident_int(i32)
+
+declare i32 @__gxx_personality_v0(...)