diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-10 22:32:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-10 22:32:18 +0000 |
commit | 502fe92a688859370e30d04e59c9707a24d829b5 (patch) | |
tree | a3fa9301688d0e7e050625366a514ce0bb87c9cc /test/Debugger | |
parent | be3c2f210c4d069bb1a2a55fd49653f6e8d190ed (diff) | |
download | external_llvm-502fe92a688859370e30d04e59c9707a24d829b5.zip external_llvm-502fe92a688859370e30d04e59c9707a24d829b5.tar.gz external_llvm-502fe92a688859370e30d04e59c9707a24d829b5.tar.bz2 |
Simplify this testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Debugger')
-rw-r--r-- | test/Debugger/funccall.ll | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/test/Debugger/funccall.ll b/test/Debugger/funccall.ll index b1c1e2a..ba218c8 100644 --- a/test/Debugger/funccall.ll +++ b/test/Debugger/funccall.ll @@ -1,14 +1,4 @@ -;; RUN: echo create > %t.commands -;; RUN: echo s >> %t.commands -;; RUN: echo s >> %t.commands -;; RUN: echo finish >> %t.commands -;; RUN: echo bt >> %t.commands -;; RUN: echo q >> %t.commands -;; RUN: echo y >> %t.commands -;; RUN: llvm-as -f %s -o %t.bc -;; RUN: llvm-db %t.bc < %t.commands | grep 'in main at funccall.c:11:2' - -; XFAIL: alpha|ia64 +;; RUN: llvm-as < %s | llc ;; Debugger type declarations %lldb.compile_unit = type { uint, ushort, ushort, sbyte*, sbyte*, sbyte*, {}* } @@ -21,7 +11,6 @@ declare {}* %llvm.dbg.stoppoint({}*, uint, uint, %lldb.compile_unit*) declare {}* %llvm.dbg.func.start(%lldb.global*) declare {}* %llvm.dbg.region.start({}*) declare {}* %llvm.dbg.region.end({}*) -declare {}* %llvm.dbg.declare({}*, ...) ;; Global object anchors %llvm.dbg.translation_units = linkonce global {} {} @@ -100,10 +89,9 @@ entry: %.1 = call {}* %llvm.dbg.func.start(%lldb.global* %d.foo) %.2 = call {}* %llvm.dbg.stoppoint({}* %.1, uint 5, uint 2, %lldb.compile_unit* %d.compile_unit) - %.3 = call {}*({}*, ...)* %llvm.dbg.declare({}* %.2, %lldb.local* %d.t, int* %t) %tmp.0 = load int* %q store int %tmp.0, int* %t - %.4 = call {}* %llvm.dbg.stoppoint({}* %.3, uint 6, uint 2, %lldb.compile_unit* %d.compile_unit) + %.4 = call {}* %llvm.dbg.stoppoint({}* %.2, uint 6, uint 2, %lldb.compile_unit* %d.compile_unit) %tmp.01 = load int* %t %tmp.1 = add int %tmp.01, 1 store int %tmp.1, int* %q |