blob: d1bb66d1529dea320f0767a590510326f7d4a1a0 [file] [log] [blame]
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00001; RUN: llvm-as < %s | llc
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattnerf28e0ce2008-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]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00006declare void @llvm.dbg.stoppoint(i32, i32, %lldb.compile_unit*)
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00008define void @rb_raise(i32, ...) {
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009entry:
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000010 br i1 false, label %strlen.exit, label %no_exit.i
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000012no_exit.i: ; preds = %entry
13 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +000014
Tanya Lattnerf28e0ce2008-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
Dan Gohmanf17a25c2007-07-18 16:29:46 +000018}
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000019