2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s
|
2009-06-04 05:42:06 +08:00
|
|
|
; PR4317
|
|
|
|
|
|
|
|
declare i32 @b()
|
|
|
|
|
|
|
|
define void @a() {
|
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
|
|
|
|
dummy:
|
|
|
|
invoke i32 @b() to label %reg unwind label %reg
|
|
|
|
|
|
|
|
reg:
|
2011-08-26 07:48:37 +08:00
|
|
|
%lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
|
|
|
|
catch i8* null
|
2009-06-04 05:42:06 +08:00
|
|
|
ret void
|
|
|
|
}
|
2011-08-26 07:48:37 +08:00
|
|
|
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|