diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
commit | b1e1e82c54c060ea5dae09dae043234826ca2539 (patch) | |
tree | 97db9bdf6b44f9fd60eb81fa17ea54281587f89d /test/DebugInfo | |
parent | ee7110f0478cc90ffa419759e21557ed8d669562 (diff) | |
download | external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.zip external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.gz external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.bz2 |
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r-- | test/DebugInfo/2008-11-05-InlinedFuncStart.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-01-15-RecordVariableCrash.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-01-15-dbg_declare.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-01-15-member.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-02-18-DefaultScope-Crash.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-03-03-cheapdse.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-03-03-deadstore.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-03-03-store-to-load-forward.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-06-12-Inline.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-06-12-InlineFuncStart.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-06-15-InlineFuncStart.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/2009-06-15-abstract_origin.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/deaddebuglabel.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/printdbginfo2.ll | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/test/DebugInfo/2008-11-05-InlinedFuncStart.ll b/test/DebugInfo/2008-11-05-InlinedFuncStart.ll index c494190..1175b85 100644 --- a/test/DebugInfo/2008-11-05-InlinedFuncStart.ll +++ b/test/DebugInfo/2008-11-05-InlinedFuncStart.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -; RUN: llvm-as < %s | llc -O0 +; RUN: llc %s -o - -O0 %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/test/DebugInfo/2009-01-15-RecordVariableCrash.ll b/test/DebugInfo/2009-01-15-RecordVariableCrash.ll index 3ed85c3..42fb54c 100644 --- a/test/DebugInfo/2009-01-15-RecordVariableCrash.ll +++ b/test/DebugInfo/2009-01-15-RecordVariableCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null -verify-dom-info +; RUN: llc %s -o /dev/null -verify-dom-info %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32, i8*, i8* } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/test/DebugInfo/2009-01-15-dbg_declare.ll b/test/DebugInfo/2009-01-15-dbg_declare.ll index 2a7823b..ab404af 100644 --- a/test/DebugInfo/2009-01-15-dbg_declare.ll +++ b/test/DebugInfo/2009-01-15-dbg_declare.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null +; RUN: llc %s -o /dev/null %llvm.dbg.variable.type = type { i32, { }*, i8*, { }*, i32, { }*, i8*, i8* } @llvm.dbg.variable24 = external constant %llvm.dbg.variable.type ; <%llvm.dbg.variable.type*> [#uses=1] diff --git a/test/DebugInfo/2009-01-15-member.ll b/test/DebugInfo/2009-01-15-member.ll index dc72bb7..a0fb0db 100644 --- a/test/DebugInfo/2009-01-15-member.ll +++ b/test/DebugInfo/2009-01-15-member.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null +; RUN: llc %s -o /dev/null %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32, i8*, i8* } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/test/DebugInfo/2009-02-18-DefaultScope-Crash.ll b/test/DebugInfo/2009-02-18-DefaultScope-Crash.ll index ea9e046..27bcef7 100644 --- a/test/DebugInfo/2009-02-18-DefaultScope-Crash.ll +++ b/test/DebugInfo/2009-02-18-DefaultScope-Crash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null +; RUN: llc %s -o /dev/null %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* } diff --git a/test/DebugInfo/2009-03-03-cheapdse.ll b/test/DebugInfo/2009-03-03-cheapdse.ll index d9b18aa..20f8e0c 100644 --- a/test/DebugInfo/2009-03-03-cheapdse.ll +++ b/test/DebugInfo/2009-03-03-cheapdse.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep store | count 5 +; RUN: opt %s -instcombine | llvm-dis | grep store | count 5 ; ModuleID = '<stdin>' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin9.6" diff --git a/test/DebugInfo/2009-03-03-deadstore.ll b/test/DebugInfo/2009-03-03-deadstore.ll index 795393d..de9e1ef 100644 --- a/test/DebugInfo/2009-03-03-deadstore.ll +++ b/test/DebugInfo/2009-03-03-deadstore.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep alloca +; RUN: opt %s -instcombine | llvm-dis | not grep alloca ; ModuleID = '<stdin>' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin9.6" diff --git a/test/DebugInfo/2009-03-03-store-to-load-forward.ll b/test/DebugInfo/2009-03-03-store-to-load-forward.ll index 72866ec..6ed1e50 100644 --- a/test/DebugInfo/2009-03-03-store-to-load-forward.ll +++ b/test/DebugInfo/2009-03-03-store-to-load-forward.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep alloca +; RUN: opt %s -instcombine | llvm-dis | not grep alloca ; ModuleID = '<stdin>' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin9.6" diff --git a/test/DebugInfo/2009-06-12-Inline.ll b/test/DebugInfo/2009-06-12-Inline.ll index f699337..de40468 100644 --- a/test/DebugInfo/2009-06-12-Inline.ll +++ b/test/DebugInfo/2009-06-12-Inline.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null +; RUN: llc %s -o /dev/null %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8*, i32 } diff --git a/test/DebugInfo/2009-06-12-InlineFuncStart.ll b/test/DebugInfo/2009-06-12-InlineFuncStart.ll index 32e20ff..e87c523 100644 --- a/test/DebugInfo/2009-06-12-InlineFuncStart.ll +++ b/test/DebugInfo/2009-06-12-InlineFuncStart.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -; RUN: llvm-as < %s | llc -O0 +; RUN: llc %s -o - -O0 %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/test/DebugInfo/2009-06-15-InlineFuncStart.ll b/test/DebugInfo/2009-06-15-InlineFuncStart.ll index 2ece6a3..41cff0a 100644 --- a/test/DebugInfo/2009-06-15-InlineFuncStart.ll +++ b/test/DebugInfo/2009-06-15-InlineFuncStart.ll @@ -2,7 +2,7 @@ ; 2009-06-12-InlineFunctStart.ll with one change. In function main, the bb1 ; does not have llvm.dbg.stoppiont intrinsic before llvm.dbg.func.start. ; RUN: llvm-as < %s | llc -; RUN: llvm-as < %s | llc -O0 +; RUN: llc %s -o - -O0 %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/test/DebugInfo/2009-06-15-abstract_origin.ll b/test/DebugInfo/2009-06-15-abstract_origin.ll index 3029da0..d442a30 100644 --- a/test/DebugInfo/2009-06-15-abstract_origin.ll +++ b/test/DebugInfo/2009-06-15-abstract_origin.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -asm-verbose -O0 | not grep ".long 0x0 ## DW_AT_abstract_origin" +; RUN: llc %s -o - -asm-verbose -O0 | not grep ".long 0x0 ## DW_AT_abstract_origin" %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } diff --git a/test/DebugInfo/deaddebuglabel.ll b/test/DebugInfo/deaddebuglabel.ll index edab7e8..a9af12b 100644 --- a/test/DebugInfo/deaddebuglabel.ll +++ b/test/DebugInfo/deaddebuglabel.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -O0 | grep "label" | count 8 +; RUN: llc %s -o - -O0 | grep "label" | count 8 ; PR2614 ; XFAIL: * diff --git a/test/DebugInfo/printdbginfo2.ll b/test/DebugInfo/printdbginfo2.ll index a82bf80..68b1227 100644 --- a/test/DebugInfo/printdbginfo2.ll +++ b/test/DebugInfo/printdbginfo2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -print-dbginfo -disable-output | FileCheck %s +; RUN: opt %s -print-dbginfo -disable-output | FileCheck %s ; grep {%b is variable b of type x declared at x.c:7} %t1 ; grep {%2 is variable b of type x declared at x.c:7} %t1 ; grep {@c.1442 is variable c of type int declared at x.c:4} %t1 |