diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-05 17:57:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-05 17:57:24 +0000 |
commit | fd38787a8bd28e18cc0d80a6381bf8e560825a12 (patch) | |
tree | bfccaa1007fa7c641bae0f22256dbc0b56af38f4 | |
parent | 7ea0ade1b6a16b5836645b61da671715180ab039 (diff) |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21699 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/Generic/debug-info.ll | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/debug-info.ll b/test/CodeGen/Generic/debug-info.ll new file mode 100644 index 0000000000..0c69ea0eb6 --- /dev/null +++ b/test/CodeGen/Generic/debug-info.ll @@ -0,0 +1,19 @@ +; RUN: llvm-as < %s | llc +%lldb.compile_unit = type { uint, ushort, ushort, sbyte*, sbyte*, sbyte*, { }* } +%d.compile_unit7 = external global %lldb.compile_unit ; <%lldb.compile_unit*> [#uses=1] + +implementation ; Functions: + +declare { }* %llvm.dbg.stoppoint({ }*, uint, uint, %lldb.compile_unit*) + +void %rb_raise(int, ...) { +entry: + br bool false, label %strlen.exit, label %no_exit.i + +no_exit.i: ; preds = %entry + ret void + +strlen.exit: ; preds = %entry + %dbg.tmp.1.i2 = call { }* %llvm.dbg.stoppoint( { }* null, uint 4358, uint 0, %lldb.compile_unit* %d.compile_unit7 ) ; <{ }*> [#uses=0] + unreachable +} |