aboutsummaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll')
-rw-r--r--test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll b/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll
index c279720cdb03..02279226dd56 100644
--- a/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll
+++ b/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll
@@ -14,13 +14,13 @@ define void @throwException() {
unreachable
}
-define i32 @main() {
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
entry:
invoke void @throwException()
to label %try.cont unwind label %lpad
lpad:
- %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
+ %p = landingpad { i8*, i32 }
catch i8* bitcast (i8** @_ZTIi to i8*)
%e = extractvalue { i8*, i32 } %p, 0
call i8* @__cxa_begin_catch(i8* %e)