blob: d1bb66d1529dea320f0767a590510326f7d4a1a0 [file] [log] [blame]
Tanya Lattner53a66d12008-02-19 01:41:04 +00001; RUN: llvm-as < %s | llc
Chris Lattnerfd387872005-05-05 17:57:24 +00002
Tanya Lattner53a66d12008-02-19 01:41:04 +00003 %lldb.compile_unit = type { i32, i16, i16, i8*, i8*, i8*, { }* }
4@d.compile_unit7 = external global %lldb.compile_unit ; <%lldb.compile_unit*> [#uses=1]
Chris Lattnerfd387872005-05-05 17:57:24 +00005
Tanya Lattner53a66d12008-02-19 01:41:04 +00006declare void @llvm.dbg.stoppoint(i32, i32, %lldb.compile_unit*)
Chris Lattnerfd387872005-05-05 17:57:24 +00007
Tanya Lattner53a66d12008-02-19 01:41:04 +00008define void @rb_raise(i32, ...) {
Chris Lattnerfd387872005-05-05 17:57:24 +00009entry:
Tanya Lattner53a66d12008-02-19 01:41:04 +000010 br i1 false, label %strlen.exit, label %no_exit.i
Chris Lattnerfd387872005-05-05 17:57:24 +000011
Tanya Lattner53a66d12008-02-19 01:41:04 +000012no_exit.i: ; preds = %entry
13 ret void
Chris Lattnerfd387872005-05-05 17:57:24 +000014
Tanya Lattner53a66d12008-02-19 01:41:04 +000015strlen.exit: ; preds = %entry
16 call void @llvm.dbg.stoppoint( i32 4358, i32 0, %lldb.compile_unit* @d.compile_unit7 )
17 unreachable
Chris Lattnerfd387872005-05-05 17:57:24 +000018}
Tanya Lattner53a66d12008-02-19 01:41:04 +000019