Searched refs:SHADOW_SCALE (Results 1 – 18 of 18) sorted by relevance
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_mapping.h | 19 #define SHADOW_SCALE kDefaultShadowScale macro 23 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE) 40 (((mem & SHADOW_MASK) >> SHADOW_SCALE) + (SHADOW_OFFSET)) 63 inline uptr MemToShadowSize(uptr size) { return size >> SHADOW_SCALE; } in MemToShadowSize()
|
D | memprof_rtl.cpp | 112 kHighMemEnd |= (GetMmapGranularity() << SHADOW_SCALE) - 1; in InitializeHighMemEnd() 140 Printf("SHADOW_SCALE: %d\n", (int)SHADOW_SCALE); in PrintAddressSpaceLayout() 143 CHECK(SHADOW_SCALE >= 3 && SHADOW_SCALE <= 7); in PrintAddressSpaceLayout()
|
D | memprof_linux.cpp | 66 return MapDynamicShadow(shadow_size_bytes, SHADOW_SCALE, in FindDynamicShadowStart()
|
/external/swiftshader/third_party/subzero/runtime/ |
D | szrt_asan.c | 52 #define SHADOW_SCALE ((size_t)1 << SHADOW_SCALE_LOG2) macro 61 #define SHADOW_OFFSET(p) ((uintptr_t)(p) % SHADOW_SCALE) 138 (uintptr_t)ptr % SHADOW_SCALE, shadow_val); in __asan_check() 139 if (size == SHADOW_SCALE) { in __asan_check() 200 (IS_SHADOW_ALIGNED(size)) ? 0 : SHADOW_SCALE - SHADOW_OFFSET(size); in __asan_malloc() 204 int err = posix_memalign(&rz_left, SHADOW_SCALE, in __asan_malloc()
|
/external/compiler-rt/lib/asan/ |
D | asan_mapping.h | 145 #define SHADOW_SCALE kDefaultShadowScale macro 192 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE) 193 #define MEM_TO_SHADOW(mem) (((mem) >> SHADOW_SCALE) + (SHADOW_OFFSET)) 194 #define SHADOW_TO_MEM(shadow) (((shadow) - SHADOW_OFFSET) << SHADOW_SCALE)
|
D | asan_rtl.cc | 394 Printf("SHADOW_SCALE: %d\n", (int)SHADOW_SCALE); in PrintAddressSpaceLayout() 397 CHECK(SHADOW_SCALE >= 3 && SHADOW_SCALE <= 7); in PrintAddressSpaceLayout()
|
D | asan_debugging.cc | 138 *shadow_scale = SHADOW_SCALE; in __asan_get_shadow_mapping()
|
D | asan_fake_stack.cc | 31 CHECK_EQ(SHADOW_SCALE, 3); // This code expects SHADOW_SCALE=3. in SetShadow()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_mapping.h | 199 #define SHADOW_SCALE kDefaultShadowScale macro 257 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE) 293 #define MEM_TO_SHADOW(mem) (((mem) >> SHADOW_SCALE) + (SHADOW_OFFSET)) 377 static inline uptr MemToShadowSize(uptr size) { return size >> SHADOW_SCALE; } in MemToShadowSize()
|
D | asan_rtl.cpp | 323 kHighMemEnd |= (GetMmapGranularity() << SHADOW_SCALE) - 1; in InitializeHighMemEnd() 376 Printf("SHADOW_SCALE: %d\n", (int)SHADOW_SCALE); in PrintAddressSpaceLayout() 379 CHECK(SHADOW_SCALE >= 3 && SHADOW_SCALE <= 7); in PrintAddressSpaceLayout()
|
D | asan_premap_shadow.cpp | 29 return RoundUpTo(GetMaxVirtualAddress() >> SHADOW_SCALE, granularity); in PremapShadowSize()
|
D | asan_mapping_myriad.h | 18 (((RAW_ADDR(mem) - kLowMemBeg) >> SHADOW_SCALE) + (SHADOW_OFFSET))
|
D | asan_mapping_sparc64.h | 29 ((((mem) << HIGH_BITS) >> (HIGH_BITS + (SHADOW_SCALE))) + (SHADOW_OFFSET))
|
D | asan_linux.cpp | 109 return MapDynamicShadow(shadow_size_bytes, SHADOW_SCALE, in FindDynamicShadowStart()
|
D | asan_debugging.cpp | 143 *shadow_scale = SHADOW_SCALE; in __asan_get_shadow_mapping()
|
D | asan_mac.cpp | 58 return MapDynamicShadow(MemToShadowSize(kHighMemEnd), SHADOW_SCALE, in FindDynamicShadowStart()
|
D | asan_win.cpp | 256 return MapDynamicShadow(MemToShadowSize(kHighMemEnd), SHADOW_SCALE, in FindDynamicShadowStart()
|
D | asan_fake_stack.cpp | 31 if (SHADOW_SCALE == 3 && class_id <= 6) { in SetShadow()
|