diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-19 14:33:38 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-19 14:33:38 +0000 |
| commit | 0af672326a6b92c7231922da90064f93c1c4f58f (patch) | |
| tree | fa092314524bffa80711e3cb414410cf0045b0f8 /compiler-rt/lib/asan/asan_stack.cc | |
| parent | a0851a2cb01def8e5ba2da8c113c10be9e543c78 (diff) | |
| download | bcm5719-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.cc | 2 |
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; |

