diff options
| author | Bill Wendling <isanbard@gmail.com> | 2011-09-01 01:08:21 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2011-09-01 01:08:21 +0000 |
| commit | d33e3007fab4637d73c3cc6ff86b883b2cb5de75 (patch) | |
| tree | ef6ad548083fbf4ae9dcaeab60be36f383f30114 /llvm/test/Transforms/Inline/crash.ll | |
| parent | 3b17c1b48d01f2674938a37f5919543c71e070c0 (diff) | |
| download | bcm5719-llvm-d33e3007fab4637d73c3cc6ff86b883b2cb5de75.tar.gz bcm5719-llvm-d33e3007fab4637d73c3cc6ff86b883b2cb5de75.zip | |
Update to new EH scheme.
llvm-svn: 138928
Diffstat (limited to 'llvm/test/Transforms/Inline/crash.ll')
| -rw-r--r-- | llvm/test/Transforms/Inline/crash.ll | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Inline/crash.ll b/llvm/test/Transforms/Inline/crash.ll index 1df4d6063e8..e2cd49c2516 100644 --- a/llvm/test/Transforms/Inline/crash.ll +++ b/llvm/test/Transforms/Inline/crash.ll @@ -69,9 +69,13 @@ invcont98: unreachable lpad156: + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup unreachable } +declare i32 @__gxx_personality_v0(...) + declare fastcc void @YYY() define internal fastcc void @XXX() { @@ -84,7 +88,9 @@ bb260: ret void lpad: - unwind + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup + resume { i8*, i32 } %exn } @@ -105,6 +111,8 @@ invcont3: ; preds = %bb1 ret void lpad18: ; preds = %invcont3, %bb1 + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup unreachable } |

