Home
last modified time | relevance | path

Searched refs:SANITIZER_WORDSIZE (Results 1 – 25 of 34) sorted by relevance

12

/external/compiler-rt/test/msan/
Dtest.h2 # define SANITIZER_WORDSIZE 64 macro
4 # define SANITIZER_WORDSIZE 32 macro
9 #if SANITIZER_WORDSIZE == 64 in SystemVMA()
11 return SANITIZER_WORDSIZE - __builtin_clzll(vma); in SystemVMA()
13 return SANITIZER_WORDSIZE; in SystemVMA()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform.h85 # define SANITIZER_WORDSIZE 64 macro
87 # define SANITIZER_WORDSIZE 32 macro
90 #if SANITIZER_WORDSIZE == 64
174 # define SANITIZER_CAN_USE_ALLOCATOR64 (SANITIZER_WORDSIZE == 64)
Dsanitizer_coverage_libcdep.cc52 static const uptr kNumWordsForMagic = SANITIZER_WORDSIZE == 64 ? 1 : 2;
53 static const u64 kMagic = SANITIZER_WORDSIZE == 64 ? kMagic64 : kMagic32;
395 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in BundlePcAndCounter()
400 CHECK_EQ(0, pc >> (SANITIZER_WORDSIZE - kBundleCounterBits)); in BundlePcAndCounter()
401 return pc | (counter << (SANITIZER_WORDSIZE - kBundleCounterBits)); in BundlePcAndCounter()
405 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundlePc()
411 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundleCounter()
413 return bundle >> (SANITIZER_WORDSIZE - kBundleCounterBits); in UnbundleCounter()
Dsanitizer_allocator_internal.h29 #if SANITIZER_WORDSIZE == 32
Dsanitizer_internal_defs.h106 #if (SANITIZER_WORDSIZE == 64) || SANITIZER_MAC
269 #if SANITIZER_WORDSIZE == 64
Dsanitizer_platform_limits_posix.h340 #if !(SANITIZER_ANDROID && (SANITIZER_WORDSIZE == 32))
543 #if SANITIZER_ANDROID && (SANITIZER_WORDSIZE == 64)
562 #elif SANITIZER_ANDROID && (SANITIZER_WORDSIZE == 32)
597 #if defined(__mips__) && (SANITIZER_WORDSIZE == 32)
Dsanitizer_procmaps_freebsd.cc24 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
Dsanitizer_freebsd.h22 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
Dsanitizer_posix.cc51 #if SANITIZER_WORDSIZE == 32
91 #if SANITIZER_WORDSIZE == 64 in GetMaxVirtualAddress()
Dsanitizer_common.h36 const uptr kWordSize = SANITIZER_WORDSIZE / 8;
411 up = SANITIZER_WORDSIZE - 1 - __builtin_clzll(x); in MostSignificantSetBitIndex()
413 up = SANITIZER_WORDSIZE - 1 - __builtin_clzl(x); in MostSignificantSetBitIndex()
Dsanitizer_platform_interceptors.h223 ((SI_FREEBSD || SI_LINUX_NOT_ANDROID) && SANITIZER_WORDSIZE == 64)
Dsanitizer_linux.cc96 SANITIZER_WORDSIZE == 64)
999 #if SANITIZER_WORDSIZE == 32 in internal_clone()
1013 #if SANITIZER_WORDSIZE == 32 in internal_clone()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_test_utils.h62 # define SANITIZER_WORDSIZE 64 macro
64 # define SANITIZER_WORDSIZE 32 macro
Dsanitizer_bitvector_test.cc166 TestBitVector<BasicBitVector<> >(SANITIZER_WORDSIZE); in TEST()
170 uptr ws = SANITIZER_WORDSIZE; in TEST()
/external/compiler-rt/lib/asan/
Dasan_allocator.h135 # if SANITIZER_WORDSIZE == 32
137 # elif SANITIZER_WORDSIZE == 64
Dasan_internal.h39 # if SANITIZER_IOS || (SANITIZER_WORDSIZE == 32)
Dasan_linux.cc52 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32) && \
Dasan_new_delete.cc70 #if SANITIZER_FREEBSD && SANITIZER_WORDSIZE == 32
Dasan_poisoning.cc264 if (SANITIZER_WORDSIZE != 64) return; in __asan_poison_cxx_array_cookie()
272 if (SANITIZER_WORDSIZE != 64) return *p; in __asan_load_cxx_array_cookie()
Dasan_mapping.h148 #if SANITIZER_WORDSIZE == 32
/external/compiler-rt/lib/asan/tests/
Dasan_test.cc297 const int max_size = (SANITIZER_WORDSIZE == 32) ? 1 << 26 : 1 << 28; in TEST()
305 if (SANITIZER_WORDSIZE != 64 || ASAN_AVOID_EXPENSIVE_TESTS) return; in TEST()
344 (SANITIZER_WORDSIZE == 32 || ASAN_AVOID_EXPENSIVE_TESTS) ? 30 : 1000; in TEST()
662 if (SANITIZER_WORDSIZE == 32) return; in TEST()
937 #if SANITIZER_WORDSIZE == 32 in TEST()
1228 size_t size = SANITIZER_WORDSIZE == 64 ? (size_t)(1ULL << 40) : (0xf0000000); in TEST()
Dasan_oob_test.cc78 size_t max_access_size = SANITIZER_WORDSIZE == 64 ? 8 : 4; in TEST()
/external/compiler-rt/lib/msan/
Dmsan.h129 #elif SANITIZER_FREEBSD && SANITIZER_WORDSIZE == 64
150 #elif SANITIZER_LINUX && SANITIZER_WORDSIZE == 64
/external/compiler-rt/lib/esan/
Desan_shadow.h20 #if SANITIZER_WORDSIZE != 64
/external/compiler-rt/lib/lsan/
Dlsan_common.h25 #if (SANITIZER_LINUX && !SANITIZER_ANDROID) && (SANITIZER_WORDSIZE == 64) \

12