mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
Update to new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a8d1393093
commit
00c30d58a5
@ -10,6 +10,9 @@ invoke_cont: ; preds = %0
|
||||
ret float* %tmp.11
|
||||
|
||||
X: ; preds = %0
|
||||
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
||||
cleanup
|
||||
ret float* null
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
@ -23,6 +23,9 @@ cont: ; preds = %call, %entry
|
||||
ret i32 %V
|
||||
|
||||
N: ; preds = %call
|
||||
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
||||
cleanup
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
@ -29,5 +29,9 @@ invcont37: ; preds = %invcont31
|
||||
ret void
|
||||
|
||||
lpad: ; preds = %invcont31, %invcont, %entry
|
||||
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
||||
cleanup
|
||||
unreachable
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
@ -107,9 +107,13 @@ invoke.cont: ; preds = %entry
|
||||
unreachable
|
||||
|
||||
try.handler: ; preds = %entry
|
||||
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
||||
cleanup
|
||||
ret i8* null
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
||||
; Don't turn this into "unreachable": the callee and caller don't agree in
|
||||
; calling conv, but the implementation of test8a may actually end up using the
|
||||
; right calling conv.
|
||||
|
Loading…
Reference in New Issue
Block a user