[lld] r365001 - Revert r364999: [lld] Use -o /dev/null in test when output is not needed.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 22:52:36 PDT 2019


Author: ruiu
Date: Tue Jul  2 22:52:35 2019
New Revision: 365001

URL: http://llvm.org/viewvc/llvm-project?rev=365001&view=rev
Log:
Revert r364999: [lld] Use -o /dev/null in test when output is not needed.

This reverts commit r364999 as it broke a build. Looks like `%t.archive.o`
is used two lines below where it was created.

Modified:
    lld/trunk/test/ELF/archive-no-index.s

Modified: lld/trunk/test/ELF/archive-no-index.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/archive-no-index.s?rev=365001&r1=365000&r2=365001&view=diff
==============================================================================
--- lld/trunk/test/ELF/archive-no-index.s (original)
+++ lld/trunk/test/ELF/archive-no-index.s Tue Jul  2 22:52:35 2019
@@ -1,7 +1,7 @@
 # REQUIRES: x86
 # Tests error on archive file without a symbol table
 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t.o %s
-# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o /dev/null %S/Inputs/archive.s
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t.archive.o %S/Inputs/archive.s
 # RUN: rm -f %t.a
 # RUN: llvm-ar crS %t.a %t.archive.o
 




More information about the llvm-commits mailing list