[PATCH] D75605: [lld] Avoid creating files outside of work directory.

Stephan Herhut via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 06:11:51 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG573c9d666c0f: [lld] Avoid creating files outside of work directory. (authored by herhut).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75605/new/

https://reviews.llvm.org/D75605

Files:
  lld/test/ELF/lto/thinlto.ll


Index: lld/test/ELF/lto/thinlto.ll
===================================================================
--- lld/test/ELF/lto/thinlto.ll
+++ lld/test/ELF/lto/thinlto.ll
@@ -26,7 +26,7 @@
 ; RUN: mkdir -p %t.dir
 ; RUN: cp %t2.o %t.dir/t.o
 ; RUN: llvm-ar rcsT %t.dir/t.a %t.dir/t.o
-; RUN: ld.lld -save-temps %t1.o %t.dir/t.a -o - > /dev/null
+; RUN: ld.lld -save-temps %t1.o %t.dir/t.a -o %t.null
 ; RUN: ls '%t.dir/t.a(t.o at 0).0.preopt.bc'
 
 ; NM1: T f


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75605.248165.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200304/a6e58747/attachment-0001.bin>


More information about the llvm-commits mailing list