Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform.h61 # define SANITIZER_WORDSIZE 64 macro
63 # define SANITIZER_WORDSIZE 32 macro
66 #if SANITIZER_WORDSIZE == 64
87 # define SANITIZER_CAN_USE_ALLOCATOR64 (SANITIZER_WORDSIZE == 64)
Dsanitizer_coverage_libcdep.cc370 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in BundlePcAndCounter()
375 CHECK_EQ(0, pc >> (SANITIZER_WORDSIZE - kBundleCounterBits)); in BundlePcAndCounter()
376 return pc | (counter << (SANITIZER_WORDSIZE - kBundleCounterBits)); in BundlePcAndCounter()
380 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundlePc()
386 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundleCounter()
388 return bundle >> (SANITIZER_WORDSIZE - kBundleCounterBits); in UnbundleCounter()
742 uptr num_words_for_magic = SANITIZER_WORDSIZE == 64 ? 1 : 2; in DumpOffsets()
768 *magic_p = SANITIZER_WORDSIZE == 64 ? kMagic64 : kMagic32; in DumpOffsets()
Dsanitizer_allocator_internal.h29 #if SANITIZER_WORDSIZE == 32
Dsanitizer_internal_defs.h105 #if (SANITIZER_WORDSIZE == 64) || SANITIZER_MAC
258 #if SANITIZER_WORDSIZE == 64
Dsanitizer_procmaps_freebsd.cc24 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
Dsanitizer_freebsd.h22 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
Dsanitizer_posix.cc50 #if SANITIZER_WORDSIZE == 32
90 #if SANITIZER_WORDSIZE == 64 in GetMaxVirtualAddress()
Dsanitizer_platform_interceptors.h178 ((SI_FREEBSD || SI_LINUX_NOT_ANDROID) && SANITIZER_WORDSIZE == 64)
Dsanitizer_common.h31 const uptr kWordSize = SANITIZER_WORDSIZE / 8;
346 up = SANITIZER_WORDSIZE - 1 - __builtin_clzl(x); in MostSignificantSetBitIndex()
Dsanitizer_platform_limits_posix.h80 #if SANITIZER_WORDSIZE == 64
543 #if defined(__mips__) && (SANITIZER_WORDSIZE == 32)
Dsanitizer_mac.cc344 # if SANITIZER_WORDSIZE == 64 in GetPcSpBp()
Dsanitizer_linux_libcdep.cc409 # 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.h128 # if SANITIZER_WORDSIZE == 32
130 # elif SANITIZER_WORDSIZE == 64
Dasan_internal.h41 #if SANITIZER_WORDSIZE == 32
Dasan_linux.cc52 #if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32) && \
Dasan_new_delete.cc54 #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.h116 # if SANITIZER_WORDSIZE == 32
Dasan_thread.cc227 uptr aligned_addr = addr & ~(SANITIZER_WORDSIZE/8 - 1); // align addr. in GetStackFrameAccessByAddr()
/external/compiler-rt/lib/msan/
Dmsan.h50 #elif SANITIZER_FREEBSD && SANITIZER_WORDSIZE == 64
71 #elif SANITIZER_LINUX && SANITIZER_WORDSIZE == 64
/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()
340 (SANITIZER_WORDSIZE == 32 || ASAN_AVOID_EXPENSIVE_TESTS) ? 30 : 1000; in TEST()
658 if (SANITIZER_WORDSIZE == 32) return; in TEST()
936 #if SANITIZER_WORDSIZE == 32 in TEST()
1219 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/lsan/
Dlsan_common.h26 && (SANITIZER_WORDSIZE == 64)

12