Searched refs:shadow_mem (Results 1 – 8 of 8) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cc | 325 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccessRange() local 339 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccessRange() 340 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); in MemoryAccessRange() 341 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccessRange() 343 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) { in MemoryAccessRange() 345 shadow_mem + size * kShadowCnt / 8 - 1, addr + size - 1); in MemoryAccessRange() 346 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))); in MemoryAccessRange() 352 if (*shadow_mem == kShadowRodata) { in MemoryAccessRange() 376 shadow_mem, cur); in MemoryAccessRange() 379 shadow_mem += kShadowCnt; in MemoryAccessRange() [all …]
|
D | tsan_rtl.cc | 563 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace() argument 567 thr->racy_shadow_addr = shadow_mem; in HandleRace() 582 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl1() argument 628 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word); in MemoryAccessImpl1() 632 HandleRace(thr, shadow_mem, cur, old); in MemoryAccessImpl1() 747 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccess() local 751 (int)(1 << kAccessSizeLog), kAccessIsWrite, shadow_mem, in MemoryAccess() 752 (uptr)shadow_mem[0], (uptr)shadow_mem[1], in MemoryAccess() 753 (uptr)shadow_mem[2], (uptr)shadow_mem[3]); in MemoryAccess() 759 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccess() [all …]
|
D | tsan_update_shadow_word_inl.h | 19 u64 *sp = &shadow_mem[idx];
|
D | tsan_rtl.h | 663 u64 *shadow_mem, Shadow cur);
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cpp | 349 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccessRange() local 363 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccessRange() 364 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); in MemoryAccessRange() 365 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccessRange() 367 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) { in MemoryAccessRange() 369 shadow_mem + size * kShadowCnt / 8 - 1, addr + size - 1); in MemoryAccessRange() 370 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))); in MemoryAccessRange() 376 if (*shadow_mem == kShadowRodata) { in MemoryAccessRange() 401 shadow_mem, cur); in MemoryAccessRange() 404 shadow_mem += kShadowCnt; in MemoryAccessRange() [all …]
|
D | tsan_rtl.cpp | 637 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace() argument 641 thr->racy_shadow_addr = shadow_mem; in HandleRace() 656 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl1() argument 715 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word); in MemoryAccessImpl1() 719 HandleRace(thr, shadow_mem, cur, old); in MemoryAccessImpl1() 834 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccess() local 838 (int)(1 << kAccessSizeLog), kAccessIsWrite, shadow_mem, in MemoryAccess() 839 (uptr)shadow_mem[0], (uptr)shadow_mem[1], in MemoryAccess() 840 (uptr)shadow_mem[2], (uptr)shadow_mem[3]); in MemoryAccess() 846 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccess() [all …]
|
D | tsan_update_shadow_word_inl.h | 18 u64 *sp = &shadow_mem[idx];
|
D | tsan_rtl.h | 727 u64 *shadow_mem, Shadow cur);
|