llvm-project/clang/lib/Driver
Marcos Pividori b130469bc9 [windows] [asan] Add linker flag when including "asan_dynamic_runtime_thunk".
I modify clang driver for windows to include:
"-wholearchive:asan_dynamic_runtime_thunk", so all object files in the
static library: asan_dynamic_runtime_thunk are considered by the linker.
This is necessary, because some object files only include linker pragmas,
and doesn't resolve any symbol. If we don't include that flag, the
linker will ignore them, and won't read the linker pragmas.

Differential Revision: https://reviews.llvm.org/D29159

llvm-svn: 293420
2017-01-29 06:03:05 +00:00
..
Action.cpp Fix MSVC "not all control paths return a value" warning 2016-10-28 10:09:35 +00:00
CMakeLists.txt [Driver] Refactor distro detection & classification as a separate API 2016-11-28 21:11:14 +00:00
Compilation.cpp [Driver][OpenMP] Add logic for offloading-specific argument translation. 2016-10-27 17:39:44 +00:00
CrossWindowsToolChain.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Distro.cpp [Driver] Fix recognizing newer OpenSUSE versions 2016-11-28 21:11:18 +00:00
Driver.cpp clang-cl: Warn about /U flags that look like filenames (PR31662) 2017-01-27 17:09:41 +00:00
DriverOptions.cpp unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp [CrashReproducer] Collect PCH included via -include-pch 2016-12-12 19:28:25 +00:00
MSVCToolChain.cpp [Driver] Driver changes to support CUDA compilation on Windows. 2017-01-05 16:52:29 +00:00
MinGWToolChain.cpp [ToolChains] Use "static" instead of an anonymous namespace for a function. NFC 2017-01-05 16:52:47 +00:00
Multilib.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp [sanitizers] lsan+sancov doesn't need ubsanrt (multi def error) 2016-12-08 22:25:01 +00:00
Tool.cpp Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
ToolChain.cpp [Driver] Allow setting the default linker during build 2016-12-14 16:46:50 +00:00
ToolChains.cpp ARM-Darwin: re-enable -momit-leaf-frame-pointer. 2017-01-27 17:53:42 +00:00
ToolChains.h [Driver] Driver changes to support CUDA compilation on Windows. 2017-01-05 16:52:29 +00:00
Tools.cpp [windows] [asan] Add linker flag when including "asan_dynamic_runtime_thunk". 2017-01-29 06:03:05 +00:00
Tools.h Add AVR target and toolchain to Clang 2017-01-05 05:20:27 +00:00
Types.cpp [Driver][OpenMP] Update actions builder to create unbundling action when necessary. 2016-10-27 18:00:51 +00:00