Home
last modified time | relevance | path

Searched refs:SANITIZER_WORDSIZE (Results 1 – 25 of 33) 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.h67 # define SANITIZER_WORDSIZE 64 macro
69 # define SANITIZER_WORDSIZE 32 macro
72 #if SANITIZER_WORDSIZE == 64
93 # define SANITIZER_CAN_USE_ALLOCATOR64 (SANITIZER_WORDSIZE == 64)
Dsanitizer_coverage_libcdep.cc379 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in BundlePcAndCounter()
384 CHECK_EQ(0, pc >> (SANITIZER_WORDSIZE - kBundleCounterBits)); in BundlePcAndCounter()
385 return pc | (counter << (SANITIZER_WORDSIZE - kBundleCounterBits)); in BundlePcAndCounter()
389 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundlePc()
395 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundleCounter()
397 return bundle >> (SANITIZER_WORDSIZE - kBundleCounterBits); in UnbundleCounter()
753 uptr num_words_for_magic = SANITIZER_WORDSIZE == 64 ? 1 : 2; in DumpOffsets()
779 *magic_p = SANITIZER_WORDSIZE == 64 ? kMagic64 : kMagic32; in DumpOffsets()
Dsanitizer_allocator_internal.h29 #if SANITIZER_WORDSIZE == 32
Dsanitizer_platform_limits_posix.h80 #if SANITIZER_WORDSIZE == 64
336 #if !(SANITIZER_ANDROID && (SANITIZER_WORDSIZE == 32))
535 #if SANITIZER_ANDROID && (SANITIZER_WORDSIZE == 64)
545 #elif SANITIZER_ANDROID && (SANITIZER_WORDSIZE == 32)
576 #if defined(__mips__) && (SANITIZER_WORDSIZE == 32)
Dsanitizer_internal_defs.h105 #if (SANITIZER_WORDSIZE == 64) || SANITIZER_MAC
265 #if SANITIZER_WORDSIZE == 64
Dsanitizer_procmaps_freebsd.cc24 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
Dsanitizer_posix.cc51 #if SANITIZER_WORDSIZE == 32
91 #if SANITIZER_WORDSIZE == 64 in GetMaxVirtualAddress()
Dsanitizer_freebsd.h22 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
Dsanitizer_common.h36 const uptr kWordSize = SANITIZER_WORDSIZE / 8;
388 up = SANITIZER_WORDSIZE - 1 - __builtin_clzll(x); in MostSignificantSetBitIndex()
390 up = SANITIZER_WORDSIZE - 1 - __builtin_clzl(x); in MostSignificantSetBitIndex()
Dsanitizer_platform_interceptors.h187 ((SI_FREEBSD || SI_LINUX_NOT_ANDROID) && SANITIZER_WORDSIZE == 64)
Dsanitizer_linux_libcdep.cc408 # elif SANITIZER_WORDSIZE == 32 && __FreeBSD_version <= 902001 // v9.2
/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.h132 # if SANITIZER_WORDSIZE == 32
134 # elif SANITIZER_WORDSIZE == 64
Dasan_internal.h39 #if SANITIZER_WORDSIZE == 32
Dasan_linux.cc52 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32) && \
Dasan_new_delete.cc54 #if SANITIZER_FREEBSD && SANITIZER_WORDSIZE == 32
Dasan_mapping.h132 #if 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_thread.cc226 uptr aligned_addr = addr & ~(SANITIZER_WORDSIZE/8 - 1); // align addr. in GetStackFrameAccessByAddr()
/external/compiler-rt/lib/asan/tests/
Dasan_test.cc297 const int max_size = (SANITIZER_WORDSIZE == 32) ? 1 << 26 : 1 << 28; in TEST()
304 if (SANITIZER_WORDSIZE != 64 || ASAN_AVOID_EXPENSIVE_TESTS) return; in TEST()
342 (SANITIZER_WORDSIZE == 32 || ASAN_AVOID_EXPENSIVE_TESTS) ? 30 : 1000; in TEST()
661 if (SANITIZER_WORDSIZE == 32) return; in TEST()
939 #if SANITIZER_WORDSIZE == 32 in TEST()
1222 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/lsan/
Dlsan_common.h25 #if (SANITIZER_LINUX && !SANITIZER_ANDROID) && (SANITIZER_WORDSIZE == 64) \

12