summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-05 17:56:56 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-05 17:56:56 +0000
commitf191d120b1ea9cb132270d35dc133b419183e687 (patch)
tree48d9d02af7750af18ef4cd083ffddce0af1b363e /test
parent3ef2c9f6d7c79120e0a1ed4e705c613d2abd8684 (diff)
downloadllvm-f191d120b1ea9cb132270d35dc133b419183e687.tar.gz
llvm-f191d120b1ea9cb132270d35dc133b419183e687.tar.bz2
llvm-f191d120b1ea9cb132270d35dc133b419183e687.tar.xz
test/COFF: Remove temp file usage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/COFF/align-nops.s5
-rw-r--r--test/MC/COFF/basic-coff.ll3
-rw-r--r--test/MC/COFF/symbol-fragment-offset.ll3
3 files changed, 4 insertions, 7 deletions
diff --git a/test/MC/COFF/align-nops.s b/test/MC/COFF/align-nops.s
index 8d9f8a5145..0824e2378a 100644
--- a/test/MC/COFF/align-nops.s
+++ b/test/MC/COFF/align-nops.s
@@ -1,6 +1,5 @@
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o %t
-// RUN: coff-dump.py %abs_tmp | FileCheck %s
-
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | coff-dump.py | FileCheck %s
+
// Test that we get optimal nops in text
.text
f0:
diff --git a/test/MC/COFF/basic-coff.ll b/test/MC/COFF/basic-coff.ll
index 1452934c5d..29e02f0e0b 100644
--- a/test/MC/COFF/basic-coff.ll
+++ b/test/MC/COFF/basic-coff.ll
@@ -1,8 +1,7 @@
; This test checks that the COFF object emitter works for the most basic
; programs.
-; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o %t
-; RUN: coff-dump.py %abs_tmp | FileCheck %s
+; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o - | coff-dump.py | FileCheck %s
; RUN: llc -filetype=obj -mtriple x86_64-pc-win32 %s -o %t
@.str = private constant [12 x i8] c"Hello World\00" ; <[12 x i8]*> [#uses=1]
diff --git a/test/MC/COFF/symbol-fragment-offset.ll b/test/MC/COFF/symbol-fragment-offset.ll
index 6ea424f00c..1f76e312e1 100644
--- a/test/MC/COFF/symbol-fragment-offset.ll
+++ b/test/MC/COFF/symbol-fragment-offset.ll
@@ -1,8 +1,7 @@
; The purpose of this test is to see if the COFF object writer is emitting the
; proper relocations for multiple pieces of data in a single data fragment.
-; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o %t
-; RUN: coff-dump.py %abs_tmp | FileCheck %s
+; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o - | coff-dump.py | FileCheck %s
; RUN: llc -filetype=obj -mtriple x86_64-pc-win32 %s -o %t
@.str = private constant [7 x i8] c"Hello \00" ; <[7 x i8]*> [#uses=1]