[lld] 85e2af7 - [lld][ELF] Don't write output to the test directory. NFC.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 26 10:12:55 PDT 2020


Author: Benjamin Kramer
Date: 2020-10-26T18:10:31+01:00
New Revision: 85e2af7ffeed1e4d2e07b502a2030eff09a06636

URL: https://github.com/llvm/llvm-project/commit/85e2af7ffeed1e4d2e07b502a2030eff09a06636
DIFF: https://github.com/llvm/llvm-project/commit/85e2af7ffeed1e4d2e07b502a2030eff09a06636.diff

LOG: [lld][ELF] Don't write output to the test directory. NFC.

Added: 
    

Modified: 
    lld/test/ELF/lto/warn-backrefs.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/lto/warn-backrefs.ll b/lld/test/ELF/lto/warn-backrefs.ll
index 0de73673c0e5..c63e47a79cdf 100644
--- a/lld/test/ELF/lto/warn-backrefs.ll
+++ b/lld/test/ELF/lto/warn-backrefs.ll
@@ -4,7 +4,7 @@
 ; RUN: split-file %s %t
 ; RUN: llvm-as %t/a.ll -o %ta.o
 ; RUN: llvm-as %t/b.ll -o %tb.o
-; RUN: ld.lld --warn-backrefs --start-lib %tb.o --end-lib %ta.o 2>&1 | FileCheck %s
+; RUN: ld.lld --warn-backrefs --start-lib %tb.o --end-lib %ta.o -o /dev/null 2>&1 | FileCheck %s
 
 ; CHECK: warning: backward reference detected: f in {{.*}}a.o refers to {{.*}}b.o
 


        


More information about the llvm-commits mailing list