llvm-project/clang/lib/Driver
Hal Finkel 67814df3ea Base optimization-record file names on the final output
Using Output.getFilename() to construct the file name used for optimization
recording in Clang::ConstructJob, when -c is provided, does not work correctly
if we're not using the integrated assembler. With -no-integrated-as (or
-save-temps) Output.getFilename() gives the name of the temporary assembly
file, not the final output file. Instead, use the final output (as provided by
-o). If this is not available, then fall back to using a name based on the
input file.

Fixes PR31532.

llvm-svn: 311041
2017-08-16 21:34:27 +00:00
..
ToolChains Base optimization-record file names on the final output 2017-08-16 21:34:27 +00:00
Action.cpp Fix MSVC "not all control paths return a value" warning 2016-10-28 10:09:35 +00:00
CMakeLists.txt Remove Bitrig: Clang Changes 2017-07-21 22:46:31 +00:00
Compilation.cpp Non-functional change. Fix previous patch D34784. 2017-08-07 18:43:37 +00:00
Distro.cpp Add support of the next Ubuntu (Ubuntu 17.10 - Artful Aardvark) 2017-05-04 12:46:38 +00:00
Driver.cpp [Driver] Search compiler-rt paths in -print-file-name= 2017-08-10 04:16:38 +00:00
DriverOptions.cpp [GSoC] Flag value completion for clang 2017-06-20 16:31:31 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp The -coverage-file flag was removed in r280306, and this piece was missed; NFC. 2017-05-01 13:05:04 +00:00
Multilib.cpp Multilib: add dump methods 2017-05-05 21:30:13 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp [Driver] SafeStack does not need a runtime library on Fuchsia 2017-08-16 19:06:05 +00:00
Tool.cpp Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
ToolChain.cpp Fix memory leak in ToolChain::TranslateOpenMPTargetArgs 2017-08-14 07:44:05 +00:00
Types.cpp [Driver][OpenMP] Update actions builder to create unbundling action when necessary. 2016-10-27 18:00:51 +00:00
XRayArgs.cpp [XRay][clang] Fix the -fxray-instruction-threshold flag processing 2017-03-30 22:46:45 +00:00