[compiler-rt] r216387 - [ASan/Win] Add /DEBUG to the MD RTL link flags
Timur Iskhodzhanov
timurrrr at google.com
Mon Aug 25 09:45:53 PDT 2014
Author: timurrrr
Date: Mon Aug 25 11:45:53 2014
New Revision: 216387
URL: http://llvm.org/viewvc/llvm-project?rev=216387&view=rev
Log:
[ASan/Win] Add /DEBUG to the MD RTL link flags
Modified:
compiler-rt/trunk/lib/asan/CMakeLists.txt
Modified: compiler-rt/trunk/lib/asan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/CMakeLists.txt?rev=216387&r1=216386&r2=216387&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/CMakeLists.txt Mon Aug 25 11:45:53 2014
@@ -58,6 +58,7 @@ append_if(WIN32 INTERCEPTION_DYNAMIC_CRT
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)
More information about the llvm-commits
mailing list