summaryrefslogtreecommitdiff
path: root/lib/asan/asan_win.cc
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2012-03-12 11:45:09 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2012-03-12 11:45:09 +0000
commit2716a61d085a8fdf13a099822720e320414cc4dc (patch)
tree91d589d4acf738401151bf617b6c979e6c2e41ef /lib/asan/asan_win.cc
parent27a7800419497f6248e81b2aa35f96a21d78c9a0 (diff)
[ASan] Add back the support for /MT; intercept statically-linked functions
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_win.cc')
-rw-r--r--lib/asan/asan_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_win.cc b/lib/asan/asan_win.cc
index 51f32e91f..53d6777b6 100644
--- a/lib/asan/asan_win.cc
+++ b/lib/asan/asan_win.cc
@@ -224,8 +224,8 @@ void AsanTSDSet(void *tsd) {
// ---------------------- Various stuff ---------------- {{{1
void *AsanDoesNotSupportStaticLinkage() {
-#if !defined(_DLL) || defined(_DEBUG)
-#error Please build the runtime with /MD
+#if defined(_DEBUG)
+#error Please build the runtime with a non-debug CRT: /MD or /MT
#endif
return NULL;
}