llvm-project/clang/lib/Driver
Hans Wennborg 1da044a4da clang-cl: Don't store the cl compiler Tool on the stack (PR20131)
The Command will refer back to the Tool as its source,
so it has to outlive the Command.

Having the Tool on the stack would cause us to crash
when using "clang-cl -GR -fallback", because if the
Command fails, Driver::ExecuteCompilation tries to
peek at the Command's source.

Differential Revision: http://reviews.llvm.org/D4314

llvm-svn: 211802
2014-06-26 19:59:02 +00:00
..
Action.cpp Move -verify-pch to use VerifyJobAction 2014-02-06 18:53:25 +00:00
CC1AsOptions.cpp Remove the SUPPORT_ALIASARGS define 2013-08-01 00:12:13 +00:00
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Compilation.cpp Driver: Record that we're in crashdump and push flags to ConstructJob 2014-06-20 22:16:00 +00:00
Driver.cpp Driver: Restore proper naming of crashdump files 2014-06-24 08:01:01 +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 Driver: Skip the -ivfsoverlay argument in driver crash diags 2014-06-22 20:35:10 +00:00
Makefile
Multilib.cpp [Driver] Range-based loop simplification. 2014-05-08 19:32:46 +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 Remove top-level Clang -fsanitize= flags for optional ASan features. 2014-06-13 17:53:44 +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 Implement the -fuse-ld= option. 2014-06-26 14:23:45 +00:00
ToolChains.cpp Implement the -fuse-ld= option. 2014-06-26 14:23:45 +00:00
ToolChains.h Use the integrated assembler by default on OpenBSD/powerpc. 2014-06-16 23:03:00 +00:00
Tools.cpp clang-cl: Don't store the cl compiler Tool on the stack (PR20131) 2014-06-26 19:59:02 +00:00
Tools.h clang-cl: Don't store the cl compiler Tool on the stack (PR20131) 2014-06-26 19:59:02 +00:00
Types.cpp Add a CC1 option -verify-pch 2014-02-05 22:21:15 +00:00
WindowsToolChain.cpp Use lowercase windows.h for mingw cross compilation. 2014-06-24 16:18:10 +00:00