summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_stack.cc
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-12-18 14:29:16 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-12-18 14:29:16 +0000
commit1c84bd64db9c7a97f8e0ecd74de2d60eb542cff2 (patch)
tree55808b16aa0a45f45a4520df7658f70ace3e67d7 /compiler-rt/lib/asan/asan_stack.cc
parentf1c31b95e0e5e8325f4434e6e8522232c40013b9 (diff)
downloadbcm5719-llvm-1c84bd64db9c7a97f8e0ecd74de2d60eb542cff2.tar.gz
bcm5719-llvm-1c84bd64db9c7a97f8e0ecd74de2d60eb542cff2.zip
[Sanitizer] Implement Symbolizer class on Windows
llvm-svn: 197571
Diffstat (limited to 'compiler-rt/lib/asan/asan_stack.cc')
-rw-r--r--compiler-rt/lib/asan/asan_stack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_stack.cc b/compiler-rt/lib/asan/asan_stack.cc
index 33b9fc9279b..8934913f34b 100644
--- a/compiler-rt/lib/asan/asan_stack.cc
+++ b/compiler-rt/lib/asan/asan_stack.cc
@@ -39,7 +39,7 @@ void PrintStack(StackTrace *stack) {
// Provide default implementation of __asan_symbolize that does nothing
// and may be overriden by user if he wants to use his own symbolization.
// ASan on Windows has its own implementation of this.
-#if !SANITIZER_WINDOWS && !SANITIZER_SUPPORTS_WEAK_HOOKS
+#if !SANITIZER_SUPPORTS_WEAK_HOOKS
SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE NOINLINE
bool __asan_symbolize(const void *pc, char *out_buffer, int out_size) {
return false;
OpenPOWER on IntegriCloud