llvm-project/clang/lib/Driver
Teresa Johnson 88c3c67997 Pass down the -flto option to the -cc1 job, and from there into the
CodeGenOptions and onto the PassManagerBuilder. This enables gating
the new EliminateAvailableExternally module pass on whether we are
preparing for LTO.

If we are preparing for LTO (e.g. a -flto -c compile), the new pass is not
included as we want to preserve available externally functions for possible
link time inlining.

llvm-svn: 239481
2015-06-10 17:49:45 +00:00
..
Action.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
CMakeLists.txt Driver: add CrossWindowsToolChain 2014-10-24 03:13:37 +00:00
Compilation.cpp Driver: Use pointee_iterator rather than iterating over unique_ptrs 2014-10-03 01:04:53 +00:00
CrossWindowsToolChain.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
Driver.cpp clang-cl: Ignore the /o option when /P is specified. 2015-06-09 10:24:06 +00:00
DriverOptions.cpp Remove the SUPPORT_ALIASARGS define 2013-08-01 00:12:13 +00:00
InputInfo.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Job.cpp Driver: Keep -isysroot flags in crash scripts if we're dumping a VFS 2015-03-12 00:52:56 +00:00
MSVCToolChain.cpp [Driver] Preserve the object file format in ComputeEffectiveClangTriple 2015-06-09 06:30:01 +00:00
Makefile
Multilib.cpp [multilib] Turn virtual functor into functin_ref 2015-03-22 15:56:12 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp [Driver] Improve unused-argument diagnostic for extra sanitizer features. 2015-05-21 01:07:52 +00:00
Tool.cpp Teach Clang how to use response files when calling other tools 2014-09-15 17:45:39 +00:00
ToolChain.cpp Allow case-insensitive values for -mcpu for ARM 2015-06-04 17:56:32 +00:00
ToolChains.cpp range-for'ify Args->filtered_begin(...) loops 2015-06-09 01:57:17 +00:00
ToolChains.h [Driver] Inject the MSVC compatibility version into the triple 2015-06-08 00:22:46 +00:00
Tools.cpp Pass down the -flto option to the -cc1 job, and from there into the 2015-06-10 17:49:45 +00:00
Tools.h [Driver] Inject the MSVC compatibility version into the triple 2015-06-08 00:22:46 +00:00
Types.cpp clang-cl: Implement /GL in terms of -flto. 2015-06-06 02:09:34 +00:00