[lld] A better version of the fix in r359942.
authorAlexander Kornienko <alexfh@google.com>
Mon, 6 May 2019 12:11:30 +0000 (12:11 +0000)
committerAlexander Kornienko <alexfh@google.com>
Mon, 6 May 2019 12:11:30 +0000 (12:11 +0000)
Thanks to George Rimar for the suggestion.

llvm-svn: 360040

lld/test/ELF/lto/thinlto-index-only.ll

index 4a3764f..594b4bc 100644 (file)
@@ -41,7 +41,7 @@
 ; Ensure LLD generates an empty index for each bitcode file even if all bitcode files are lazy.
 ; RUN: rm -f %t1.o.thinlto.bc
 ; RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux-gnu /dev/null -o %tdummy.o
-; RUN: ld.lld --plugin-opt=thinlto-index-only -shared %tdummy.o --start-lib %t1.o --end-lib -o %t4
+; RUN: ld.lld --plugin-opt=thinlto-index-only -shared %tdummy.o --start-lib %t1.o --end-lib -o /dev/null
 ; RUN: ls %t1.o.thinlto.bc
 
 ; NM: T f