2009-09-12 02:01:28 +08:00
|
|
|
; RUN: opt < %s -inline -disable-output
|
2003-10-09 02:26:10 +08:00
|
|
|
|
2015-06-18 04:52:32 +08:00
|
|
|
define i32 @main() personality i32 (...)* @__gxx_personality_v0 {
|
2003-10-09 02:26:10 +08:00
|
|
|
entry:
|
2008-03-01 17:15:35 +08:00
|
|
|
invoke void @__main( )
|
2013-03-22 02:30:10 +08:00
|
|
|
to label %LongJmpBlkPost unwind label %LongJmpBlkPre
|
2003-10-09 02:26:10 +08:00
|
|
|
|
2013-03-22 02:30:10 +08:00
|
|
|
LongJmpBlkPost:
|
|
|
|
ret i32 0
|
|
|
|
|
|
|
|
LongJmpBlkPre:
|
2015-03-28 06:04:28 +08:00
|
|
|
%i.3 = phi i32 [ 0, %entry ]
|
2015-06-18 04:52:32 +08:00
|
|
|
%exn = landingpad {i8*, i32}
|
2013-03-22 02:30:10 +08:00
|
|
|
cleanup
|
2008-03-01 17:15:35 +08:00
|
|
|
ret i32 0
|
2003-10-09 02:26:10 +08:00
|
|
|
}
|
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
define void @__main() {
|
|
|
|
ret void
|
2003-10-09 02:26:10 +08:00
|
|
|
}
|
|
|
|
|
2013-03-22 02:30:10 +08:00
|
|
|
declare i32 @__gxx_personality_v0(...)
|