reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
419 epoch = tctx->thr->fast_state.epoch(); 462 epoch = tctx->thr->fast_state.epoch();projects/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
236 ThreadState *thr = tctx->thr; 249 ThreadState *thr = tctx->thr;projects/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
53 thr = 0; 90 thr = args->thr; 95 new(thr) ThreadState(ctx, tid, unique_id, epoch0, reuse_count, 98 thr->shadow_stack = &ThreadTrace(thr->tid)->shadow_stack[0]; 98 thr->shadow_stack = &ThreadTrace(thr->tid)->shadow_stack[0]; 99 thr->shadow_stack_pos = thr->shadow_stack; 99 thr->shadow_stack_pos = thr->shadow_stack; 100 thr->shadow_stack_end = thr->shadow_stack + kShadowStackSize; 100 thr->shadow_stack_end = thr->shadow_stack + kShadowStackSize; 110 thr->dd_lt = ctx->dd->CreateLogicalThread(unique_id); 111 thr->fast_state.SetHistorySize(flags()->history_size); 114 TraceAddEvent(thr, thr->fast_state, EventTypeMop, 0); 114 TraceAddEvent(thr, thr->fast_state, EventTypeMop, 0); 116 thr->fast_synch_epoch = epoch0; 117 AcquireImpl(thr, 0, &sync); 118 StatInc(thr, StatSyncAcquire); 119 sync.Reset(&thr->proc()->clock_cache); 120 thr->is_inited = true; 135 thr->fast_state.IncrementEpoch(); 137 TraceAddEvent(thr, thr->fast_state, EventTypeMop, 0); 137 TraceAddEvent(thr, thr->fast_state, EventTypeMop, 0); 138 ReleaseImpl(thr, 0, &sync); 140 epoch1 = thr->fast_state.epoch(); 143 ctx->dd->DestroyLogicalThread(thr->dd_lt); 144 thr->clock.ResetCached(&thr->proc()->clock_cache); 144 thr->clock.ResetCached(&thr->proc()->clock_cache); 146 thr->last_sleep_clock.ResetCached(&thr->proc()->clock_cache); 146 thr->last_sleep_clock.ResetCached(&thr->proc()->clock_cache); 148 thr->~ThreadState(); 152 thr = 0;