Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc337 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccessRange() local
351 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccessRange()
352 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); in MemoryAccessRange()
353 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccessRange()
355 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) { in MemoryAccessRange()
357 shadow_mem + size * kShadowCnt / 8 - 1, addr + size - 1); in MemoryAccessRange()
358 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))); in MemoryAccessRange()
364 if (*shadow_mem == kShadowRodata) { in MemoryAccessRange()
388 shadow_mem, cur); in MemoryAccessRange()
391 shadow_mem += kShadowCnt; in MemoryAccessRange()
[all …]
Dtsan_rtl.cc555 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace() argument
559 thr->racy_shadow_addr = shadow_mem; in HandleRace()
574 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl1() argument
620 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word); in MemoryAccessImpl1()
624 HandleRace(thr, shadow_mem, cur, old); in MemoryAccessImpl1()
739 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccess() local
743 (int)(1 << kAccessSizeLog), kAccessIsWrite, shadow_mem, in MemoryAccess()
744 (uptr)shadow_mem[0], (uptr)shadow_mem[1], in MemoryAccess()
745 (uptr)shadow_mem[2], (uptr)shadow_mem[3]); in MemoryAccess()
751 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccess()
[all …]
Dtsan_update_shadow_word_inl.h19 u64 *sp = &shadow_mem[idx];
Dtsan_rtl.h630 u64 *shadow_mem, Shadow cur);