summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_internal_defs.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-12-26 13:52:38 +0000
committerKostya Serebryany <kcc@google.com>2013-12-26 13:52:38 +0000
commit88f19f7bfb270a92dc3cdcf30cad4fb598989c98 (patch)
tree6c2d74773ef5d6302e249d32e4b6221705532aac /lib/sanitizer_common/sanitizer_internal_defs.h
parent58160d86db2d33c2735cd9e66cb1f2f09b2ffa06 (diff)
downloadcompiler-rt-88f19f7bfb270a92dc3cdcf30cad4fb598989c98.tar.gz
[asan] allow asan to use SizeClassAllocator32 on a 64-bit platform (if SANITIZER_CAN_USE_ALLOCATOR64=0). No functionality change by default is intended
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@198044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_internal_defs.h')
-rw-r--r--lib/sanitizer_common/sanitizer_internal_defs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/sanitizer_common/sanitizer_internal_defs.h b/lib/sanitizer_common/sanitizer_internal_defs.h
index becf5fc20..b6dce2cea 100644
--- a/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -34,12 +34,6 @@
# define SANITIZER_SUPPORTS_WEAK_HOOKS 0
#endif
-#if __LP64__ || defined(_WIN64)
-# define SANITIZER_WORDSIZE 64
-#else
-# define SANITIZER_WORDSIZE 32
-#endif
-
// GCC does not understand __has_feature
#if !defined(__has_feature)
# define __has_feature(x) 0