summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_stack.cc
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-03-19 14:33:38 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-03-19 14:33:38 +0000
commit0af672326a6b92c7231922da90064f93c1c4f58f (patch)
treefa092314524bffa80711e3cb414410cf0045b0f8 /compiler-rt/lib/asan/asan_stack.cc
parenta0851a2cb01def8e5ba2da8c113c10be9e543c78 (diff)
downloadbcm5719-llvm-0af672326a6b92c7231922da90064f93c1c4f58f.tar.gz
bcm5719-llvm-0af672326a6b92c7231922da90064f93c1c4f58f.zip
[sanitizer] Replace more platform checks with SANITIZER_ constants.
llvm-svn: 177400
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 a50ab1d22ae..de125f0b310 100644
--- a/compiler-rt/lib/asan/asan_stack.cc
+++ b/compiler-rt/lib/asan/asan_stack.cc
@@ -35,7 +35,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 !defined(_WIN32) && !SANITIZER_SUPPORTS_WEAK_HOOKS
+#if !SANITIZER_WINDOWS && !SANITIZER_SUPPORTS_WEAK_HOOKS
SANITIZER_WEAK_ATTRIBUTE SANITIZER_INTERFACE_ATTRIBUTE NOINLINE
bool __asan_symbolize(const void *pc, char *out_buffer, int out_size) {
return false;
OpenPOWER on IntegriCloud