Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform.h99 bool IsShadowMem(uptr mem) { in IsShadowMem() function
124 CHECK(IsShadowMem(s)); in ShadowToMem()
167 bool IsShadowMem(uptr mem) {
191 CHECK(IsShadowMem(s));
228 bool IsShadowMem(uptr mem) {
252 CHECK(IsShadowMem(s));
Dtsan_rtl_thread.cc347 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccessRange()
349 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccessRange()
351 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) { in MemoryAccessRange()
354 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))); in MemoryAccessRange()
Dtsan_rtl.cc295 CHECK(IsShadowMem(s)); in CheckShadowMapping()
737 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccess()
739 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccess()
832 CHECK(IsShadowMem((uptr)p)); in MemoryRangeSet()
833 CHECK(IsShadowMem((uptr)(p + size * kShadowCnt / kShadowCell - 1))); in MemoryRangeSet()
/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()