aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-10-02 17:21:04 +0000
committerPetr Hosek <phosek@chromium.org>2018-10-02 17:21:04 +0000
commita70ece45ebb2f9ecc8ecb349c03ed628b3c26d59 (patch)
tree611730f3b6834f0a7c65f3037f9c0654ca655783 /clang/lib/Frontend/CompilerInvocation.cpp
parent6d6c9150f935e5193d7b1922001d9386f646d031 (diff)
downloadllvm-a70ece45ebb2f9ecc8ecb349c03ed628b3c26d59.zip
llvm-a70ece45ebb2f9ecc8ecb349c03ed628b3c26d59.tar.gz
llvm-a70ece45ebb2f9ecc8ecb349c03ed628b3c26d59.tar.bz2
[lib/fuzzer] Fix logging for Fuchsia
This change fixes two aspects of logging on Fuchsia: 1. When logging to stdout, the output file descriptor should not be closed in ExecuteCommand, as it prevent fdio_spawn_etc from succeeding in subsequent calls. 2. When logging to a file in anything other than standalone Zircon, the log file needs to be created in mutable storage. The best indicator where this is relative to the Fuchsia component will be given by '-artifact_prefix=...', so save the log file relative to that path. Patch by: aarongreen Differential Revision: https://reviews.llvm.org/D52562 llvm-svn: 343607
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions