summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/2007-12-17-InvokeAsm.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/2007-12-17-InvokeAsm.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/2007-12-17-InvokeAsm.ll')
-rw-r--r--test/CodeGen/Generic/2007-12-17-InvokeAsm.ll12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll b/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll
index 5df2200dec..ed1d2f8b83 100644
--- a/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll
+++ b/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll
@@ -2,12 +2,16 @@
define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
entry:
- invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
- to label %.noexc unwind label %cleanup144
+ invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
+ to label %.noexc unwind label %cleanup144
.noexc: ; preds = %entry
- ret void
+ ret void
cleanup144: ; preds = %entry
- unwind
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ unwind
}
+
+declare i32 @__gxx_personality_v0(...)