[ASan/Win] Add /DEBUG to the MD RTL link flags

llvm-svn: 216387
This commit is contained in:
Timur Iskhodzhanov 2014-08-25 16:45:53 +00:00
parent 2311f4dfaa
commit dc8caada51
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ append_if(WIN32 INTERCEPTION_DYNAMIC_CRT ASAN_DYNAMIC_DEFINITIONS)
set(ASAN_DYNAMIC_CFLAGS ${ASAN_CFLAGS})
append_if(COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC
-ftls-model=initial-exec ASAN_DYNAMIC_CFLAGS)
append_if(MSVC /DEBUG ASAN_DYNAMIC_CFLAGS)
append_if(COMPILER_RT_HAS_LIBC c ASAN_DYNAMIC_LIBS)
append_if(COMPILER_RT_HAS_LIBDL dl ASAN_DYNAMIC_LIBS)