Go to file
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
clang Base optimization-record file names on the final output 2017-08-16 21:34:27 +00:00
clang-tools-extra [clang-tidy] Remove unused static variable. 2017-08-16 21:00:06 +00:00
compiler-rt Add C++17 aligned new/delete interceptors to standalone lsan 2017-08-16 18:09:29 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier 2017-08-16 17:09:00 +00:00
libcxx [libcxx] [test] Rename _Up to U, etc. NFCI. 2017-08-11 20:54:09 +00:00
libcxxabi [demangler] Fix some more -Wshadow warnings I missed in r310535 2017-08-10 02:48:13 +00:00
libunwind [CMake] Allow overriding lib dir suffix independently from LLVM 2017-08-08 00:37:59 +00:00
lld [ELF/LTO] -function-sections/-data-sections are exact options. 2017-08-16 08:21:04 +00:00
lldb convert hard tabs to spaces in PlatformOpenBSD.cpp 2017-08-16 13:10:07 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [ADCE][Dominators] Teach ADCE to preserve dominators 2017-08-16 20:50:23 +00:00
openmp [OpenMP] libomptarget: move debugging dumps under control of env var LIBOMPTARGET_DEBUG 2017-08-14 15:09:59 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopInfo] Clarify comment. NFC. 2017-08-16 09:28:02 +00:00