[lld] r359942 - [lld] Specify output file explicitly
Alexander Kornienko via llvm-commits
llvm-commits at lists.llvm.org
Fri May 3 16:11:33 PDT 2019
Author: alexfh
Date: Fri May 3 16:11:32 2019
New Revision: 359942
URL: http://llvm.org/viewvc/llvm-project?rev=359942&view=rev
Log:
[lld] Specify output file explicitly
The test shouldn't try to create `a.out` in the current directory, which can be
read-only (and it is in our test setup).
Modified:
lld/trunk/test/ELF/lto/thinlto-index-only.ll
Modified: lld/trunk/test/ELF/lto/thinlto-index-only.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/thinlto-index-only.ll?rev=359942&r1=359941&r2=359942&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thinlto-index-only.ll (original)
+++ lld/trunk/test/ELF/lto/thinlto-index-only.ll Fri May 3 16:11:32 2019
@@ -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
+; RUN: ld.lld --plugin-opt=thinlto-index-only -shared %tdummy.o --start-lib %t1.o --end-lib -o %t4
; RUN: ls %t1.o.thinlto.bc
; NM: T f
More information about the llvm-commits
mailing list