[all-commits] [llvm/llvm-project] 573c9d: [lld] Avoid creating files outside of work directory.
Stephan Herhut via All-commits
all-commits at lists.llvm.org
Wed Mar 4 05:46:47 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 573c9d666c0fa8a4c6787f873bebf3f6ec4de7cc
https://github.com/llvm/llvm-project/commit/573c9d666c0fa8a4c6787f873bebf3f6ec4de7cc
Author: Stephan Herhut <herhut at google.com>
Date: 2020-03-04 (Wed, 04 Mar 2020)
Changed paths:
M lld/test/ELF/lto/thinlto.ll
Log Message:
-----------
[lld] Avoid creating files outside of work directory.
Summary:
A test is passing `-o -` to lld in the hope of writing the output to
standard out but that is not the case. Instead it creates a file named
`-.lto.o`. This fixes it by creating a temporary file in the work
directory.
Differential Revision: https://reviews.llvm.org/D75605
More information about the All-commits
mailing list