reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
590 CheckNoLocks(thr); 598 if (!flags()->report_atomic_races && !RaceBetweenAtomicAndFree(thr)) 603 Shadow s(thr->racy_state[1]); 605 thr->racy_state[1] = s.raw(); 608 uptr addr = ShadowToMem((uptr)thr->racy_shadow_addr); 612 uptr a0 = addr + Shadow(thr->racy_state[0]).addr0(); 613 uptr a1 = addr + Shadow(thr->racy_state[1]).addr0(); 614 uptr e0 = a0 + Shadow(thr->racy_state[0]).size(); 615 uptr e1 = a1 + Shadow(thr->racy_state[1]).size(); 623 if (thr->is_vptr_access && freed) 625 else if (thr->is_vptr_access) 636 uptr toppc = TraceTopPC(thr); 657 ObtainCurrentStack(thr, toppc, &traces[0], &tags[0]); 666 Shadow s2(thr->racy_state[1]); 671 if (HandleRacyStacks(thr, traces, addr_min, addr_max)) 687 Shadow s(thr->racy_state[i]); 689 i == 0 ? &thr->mset : mset2); 693 FastState s(thr->racy_state[i]); 705 Shadow s(thr->racy_state[1]); 706 if (s.epoch() <= thr->last_sleep_clock.get(s.tid())) 707 rep.AddSleep(thr->last_sleep_stack_id); 711 if (!OutputReport(thr, rep)) 714 AddRacyStacks(thr, traces, addr_min, addr_max);