llvm-project/clang/lib/Driver
Hans Wennborg b6331dcb51 clang-cl: fix passing optimization level to cl.exe in /fallback mode
We were previously mostly passing it through, but -O0 and -O3 are not valid
options to cl.exe.

We should translate -O0 to /Od and -O3 to /Ox. -O{1,2,s} get passed through.

llvm-svn: 191323
2013-09-24 18:17:21 +00:00
..
Action.cpp [Driver] Refactor clang driver to use LLVM's Option library 2013-06-14 17:17:23 +00:00
CC1AsOptions.cpp Remove the SUPPORT_ALIASARGS define 2013-08-01 00:12:13 +00:00
CMakeLists.txt Re-apply r188666 2013-08-19 13:59:22 +00:00
Compilation.cpp Move the execution code from Compilation::ExecuteCommand to Command::Execute 2013-09-12 18:35:08 +00:00
Driver.cpp Produce errors for unknown options. 2013-09-23 23:55:25 +00:00
DriverOptions.cpp Remove the SUPPORT_ALIASARGS define 2013-08-01 00:12:13 +00:00
InputInfo.h [Driver] Remove the using namespace directives from headers 2013-06-17 13:59:19 +00:00
Job.cpp clang-cl: implement /fallback mode 2013-09-19 20:32:16 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Phases.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
SanitizerArgs.cpp Enable -fsanitize=use-after-return by default under -fsanitize=address 2013-09-23 09:52:37 +00:00
Tool.cpp Remove stray emacs mode markers in all these files that was causing emacs to 2010-12-31 17:31:54 +00:00
ToolChain.cpp Add more Cortex CPUs and tests 2013-09-13 17:02:54 +00:00
ToolChains.cpp Remove a use of OPT_m_Joined. 2013-09-24 13:28:24 +00:00
ToolChains.h Teach the Linux toolchain about more modern Gentoo installations of GCC 2013-08-26 08:59:53 +00:00
Tools.cpp clang-cl: fix passing optimization level to cl.exe in /fallback mode 2013-09-24 18:17:21 +00:00
Tools.h clang-cl: implement /fallback mode 2013-09-19 20:32:16 +00:00
Types.cpp clang-cl: Support the /Fe option 2013-08-12 21:56:42 +00:00
WindowsToolChain.cpp Revert r188531: "Windows ToolChain: add VS bin dir to PogramPaths" 2013-08-30 09:42:06 +00:00