From dc8caada51697237ff2d83dbf237c2ad51a83234 Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Mon, 25 Aug 2014 16:45:53 +0000 Subject: [PATCH] [ASan/Win] Add /DEBUG to the MD RTL link flags llvm-svn: 216387 --- compiler-rt/lib/asan/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/lib/asan/CMakeLists.txt b/compiler-rt/lib/asan/CMakeLists.txt index 56d5ed6c422c..a304ff1ed9fe 100644 --- a/compiler-rt/lib/asan/CMakeLists.txt +++ b/compiler-rt/lib/asan/CMakeLists.txt @@ -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)