summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2014-08-25 16:45:53 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2014-08-25 16:45:53 +0000
commitdc8caada51697237ff2d83dbf237c2ad51a83234 (patch)
treecc76fc48d1965add7266134ef3fa1ef388ed97c4 /compiler-rt
parent2311f4dfaaf9fa74bcc88c5b6df5b03942900207 (diff)
downloadbcm5719-llvm-dc8caada51697237ff2d83dbf237c2ad51a83234.tar.gz
bcm5719-llvm-dc8caada51697237ff2d83dbf237c2ad51a83234.zip
[ASan/Win] Add /DEBUG to the MD RTL link flags
llvm-svn: 216387
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/asan/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/CMakeLists.txt b/compiler-rt/lib/asan/CMakeLists.txt
index 56d5ed6c422..a304ff1ed9f 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)
OpenPOWER on IntegriCloud