diff options
author | Marcos Pividori <mpividori@google.com> | 2017-01-29 06:03:05 +0000 |
---|---|---|
committer | Marcos Pividori <mpividori@google.com> | 2017-01-29 06:03:05 +0000 |
commit | b130469bc9d569fdc25165cf6e370af5d081d234 (patch) | |
tree | 595b1e2524663e57b411ac78095c442e04372a5d /clang/lib/Lex/ModuleMap.cpp | |
parent | 8650f5d1a19aeaeb91757db6df82ad352eb25e9b (diff) | |
download | llvm-b130469bc9d569fdc25165cf6e370af5d081d234.zip llvm-b130469bc9d569fdc25165cf6e370af5d081d234.tar.gz llvm-b130469bc9d569fdc25165cf6e370af5d081d234.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions