git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115641
91177308-0d34-0410-b5e6-
96231b3b80d8
-// 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:
; 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]
; The purpose of this test is to see if the COFF object writer is emitting the\r
; proper relocations for multiple pieces of data in a single data fragment.\r
\r
-; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o %t\r
-; RUN: coff-dump.py %abs_tmp | FileCheck %s\r
+; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o - | coff-dump.py | FileCheck %s\r
; RUN: llc -filetype=obj -mtriple x86_64-pc-win32 %s -o %t\r
\r
@.str = private constant [7 x i8] c"Hello \00" ; <[7 x i8]*> [#uses=1]\r