Add an -fno-temp-file flag for compilation
authorHans Wennborg <hans@chromium.org>
Wed, 18 Dec 2019 14:00:15 +0000 (15:00 +0100)
committerHans Wennborg <hans@chromium.org>
Wed, 18 Dec 2019 14:07:43 +0000 (15:07 +0100)
commitd129aa1d5369781deff6c6b854cb612e160d3fb2
tree409ab8a08d2cdaab434a23df0d7e1f6442d2d4a9
parent5e5e99c041e48a69615eefd123dac23d9d0c7f73
Add an -fno-temp-file flag for compilation

Our build system does not handle randomly named files created during
the build well. We'd prefer to write compilation output directly
without creating a temporary file. Function parameters already
existed to control this behavior but were not exposed all the way out
to the command line.

Patch by Zachary Henkel!

Differential revision: https://reviews.llvm.org/D70615
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/FrontendOptions.h
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/FrontendActions.cpp
clang/test/Driver/clang_f_opts.c