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_rtl_thread.cc339 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccessRange()
341 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccessRange()
343 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) { in MemoryAccessRange()
346 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))); in MemoryAccessRange()
Dtsan_rtl.cc300 CHECK(IsShadowMem(s)); in CheckShadowMapping()
759 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccess()
761 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccess()
854 CHECK(IsShadowMem((uptr)p)); in MemoryRangeSet()
855 CHECK(IsShadowMem((uptr)(p + size * kShadowCnt / kShadowCell - 1))); in MemoryRangeSet()
Dtsan_platform.h539 bool IsShadowMem(uptr mem) { in IsShadowMem() function
653 DCHECK(IsShadowMem(s)); in ShadowToMemImpl()