llvm.org GIT mirror llvm / 502fe92
Simplify this testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26699 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 2 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
None ;; RUN: echo create > %t.commands
1 ;; RUN: echo s >> %t.commands
2 ;; RUN: echo s >> %t.commands
3 ;; RUN: echo finish >> %t.commands
4 ;; RUN: echo bt >> %t.commands
5 ;; RUN: echo q >> %t.commands
6 ;; RUN: echo y >> %t.commands
7 ;; RUN: llvm-as -f %s -o %t.bc
8 ;; RUN: llvm-db %t.bc < %t.commands | grep 'in main at funccall.c:11:2'
9
10 ; XFAIL: alpha|ia64
0 ;; RUN: llvm-as < %s | llc
111
122 ;; Debugger type declarations
133 %lldb.compile_unit = type { uint, ushort, ushort, sbyte*, sbyte*, sbyte*, {}* }
2010 declare {}* %llvm.dbg.func.start(%lldb.global*)
2111 declare {}* %llvm.dbg.region.start({}*)
2212 declare {}* %llvm.dbg.region.end({}*)
23 declare {}* %llvm.dbg.declare({}*, ...)
2413
2514 ;; Global object anchors
2615 %llvm.dbg.translation_units = linkonce global {} {}
9988 %.1 = call {}* %llvm.dbg.func.start(%lldb.global* %d.foo)
10089 %.2 = call {}* %llvm.dbg.stoppoint({}* %.1, uint 5, uint 2, %lldb.compile_unit* %d.compile_unit)
10190
102 %.3 = call {}*({}*, ...)* %llvm.dbg.declare({}* %.2, %lldb.local* %d.t, int* %t)
10391 %tmp.0 = load int* %q
10492 store int %tmp.0, int* %t
105 %.4 = call {}* %llvm.dbg.stoppoint({}* %.3, uint 6, uint 2, %lldb.compile_unit* %d.compile_unit)
93 %.4 = call {}* %llvm.dbg.stoppoint({}* %.2, uint 6, uint 2, %lldb.compile_unit* %d.compile_unit)
10694 %tmp.01 = load int* %t
10795 %tmp.1 = add int %tmp.01, 1
10896 store int %tmp.1, int* %q