reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
  216     MemoryReadAtomic(thr, pc, addr, kSizeLog1);
  217   SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
  218   thr->fast_state.IncrementEpoch();
  219   TraceAddEvent(thr, thr->fast_state, EventTypeUnlock, s->GetId());
  219   TraceAddEvent(thr, thr->fast_state, EventTypeUnlock, s->GetId());
  222   if (!SANITIZER_GO && (s->recursion == 0 || s->owner_tid != thr->tid)) {
  231       StatInc(thr, StatMutexUnlock);
  233       ReleaseStoreImpl(thr, pc, &s->clock);
  235       StatInc(thr, StatMutexRecUnlock);
  238   thr->mset.Del(s->GetId(), true);
  241     Callback cb(thr, pc);
  248     ReportMutexMisuse(thr, pc, ReportTypeMutexBadUnlock, addr, mid);
  250     Callback cb(thr, pc);
  251     ReportDeadlock(thr, pc, ctx->dd->GetReport(&cb));