From: Alexander Kornienko Date: Fri, 3 May 2019 23:11:32 +0000 (+0000) Subject: [lld] Specify output file explicitly X-Git-Tag: llvmorg-10-init~6300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f796f974d75e11fbc7267020aa15d5e0f556a74;p=platform%2Fupstream%2Fllvm.git [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). llvm-svn: 359942 --- diff --git a/lld/test/ELF/lto/thinlto-index-only.ll b/lld/test/ELF/lto/thinlto-index-only.ll index 3abc18e..4a3764f 100644 --- a/lld/test/ELF/lto/thinlto-index-only.ll +++ b/lld/test/ELF/lto/thinlto-index-only.ll @@ -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