llvm-project/clang/lib/Driver
Duncan P. N. Exon Smith bb61825cd5 uselistorder: -mllvm -preserve-bc-use-list-order => -emit-llvm-uselists
Stop relying on `cl::opt` to pass along the driver's decision to
preserve use-lists.  Create a new `-cc1` option called
`-emit-llvm-uselists` that does the right thing (when -emit-llvm-bc).
Note that despite its generic name, it *doesn't* do the right thing when
-emit-llvm (LLVM assembly) yet.  I'll hook that up soon.

This doesn't really change the behaviour of the driver.  The default is
still to preserve use-lists for `clang -emit-llvm` and `clang
-save-temps`, and nothing else.  But it stops relying on global state
(and also is a nicer interface for hackers using `clang -cc1`).

llvm-svn: 234962
2015-04-15 01:16:18 +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 Report an error when -m<os>-version-min= does not specify a version. 2015-04-07 01:03:35 +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 Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +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 Revert r234786, it contained a bunch of stuff I did not mean to commit. 2015-04-13 20:03:03 +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 Don't claim exception related arguments when looking at RTTIMode 2015-03-20 23:33:23 +00:00
ToolChains.cpp [ASan] Don't link against libc++abi when not using libc++ 2015-04-09 18:47:01 +00:00
ToolChains.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
Tools.cpp uselistorder: -mllvm -preserve-bc-use-list-order => -emit-llvm-uselists 2015-04-15 01:16:18 +00:00
Tools.h [Mips] Generate warning for invalid '-mnan' and '-march' combinations 2015-04-14 12:49:08 +00:00
Types.cpp Ensure that we still parse preprocessed CUDA files as CUDA when we use 2015-03-19 17:32:06 +00:00