aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll')
-rw-r--r--test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll b/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
index fc58577f67ab..92603d9e634e 100644
--- a/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
+++ b/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
@@ -10,6 +10,9 @@ Cont: ; preds = %EB
ret i32 %V
Unw: ; preds = %EB
- unwind
+ %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0
+ catch i8* null
+ resume { i8*, i32 } %exn
}
+declare i32 @__gcc_personality_v0(...)