Home
last modified time | relevance | path

Searched refs:IsShadowMem (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_shadow_test.cc59 CHECK(IsShadowMem(MemToShadow((uptr)&global))); in TEST()
60 CHECK(IsShadowMem(MemToShadow((uptr)&stack))); in TEST()
61 CHECK(IsShadowMem(MemToShadow((uptr)heap))); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform.h141 static inline bool IsShadowMem(uptr mem) { in IsShadowMem() function
146 CHECK(IsShadowMem(shadow)); in ShadowToMem()
Dtsan_rtl_thread.cc336 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccessRange()
338 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccessRange()
340 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) { in MemoryAccessRange()
343 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))); in MemoryAccessRange()
Dtsan_rtl.cc726 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccess()
728 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccess()
821 CHECK(IsShadowMem((uptr)p)); in MemoryRangeSet()
822 CHECK(IsShadowMem((uptr)(p + size * kShadowCnt / kShadowCell - 1))); in MemoryRangeSet()