diff options
Diffstat (limited to 'test/Transforms/Inline/crash.ll')
-rw-r--r-- | test/Transforms/Inline/crash.ll | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/Transforms/Inline/crash.ll b/test/Transforms/Inline/crash.ll index 1df4d60..e2cd49c 100644 --- a/test/Transforms/Inline/crash.ll +++ b/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 } |