Home
last modified time | relevance | path

Searched refs:fast_state (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp137 FastState fast_state = thr->fast_state; in TraceTime() local
142 ev.sid = static_cast<u64>(fast_state.sid()); in TraceTime()
143 ev.epoch = static_cast<u64>(fast_state.epoch()); in TraceTime()
425 static_cast<int>(thr->fast_state.sid()), in MemoryAccess()
426 static_cast<int>(thr->fast_state.epoch()), (void*)addr, size, in MemoryAccess()
432 FastState fast_state = thr->fast_state; in MemoryAccess() local
433 Shadow cur(fast_state, addr, size, typ); in MemoryAccess()
438 if (UNLIKELY(fast_state.GetIgnoreBit())) in MemoryAccess()
457 FastState fast_state = thr->fast_state; in MemoryAccess16() local
458 if (UNLIKELY(fast_state.GetIgnoreBit())) in MemoryAccess16()
[all …]
H A Dtsan_rtl.cpp288 slot->SetEpoch(slot->thr->fast_state.epoch()); in FindSlotAndLock()
306 thr->fast_state.SetSid(slot->sid); in SlotAttachAndLock()
307 thr->fast_state.SetEpoch(epoch); in SlotAttachAndLock()
347 CHECK(exiting || thr->fast_state.epoch() == kEpochLast); in SlotDetachImpl()
348 slot->SetEpoch(thr->fast_state.epoch()); in SlotDetachImpl()
369 if (LIKELY(thr == slot->thr && thr->fast_state.epoch() != kEpochLast)) in SlotLock()
1041 thr->fast_state.SetIgnoreBit(); in ThreadIgnoreBegin()
1053 thr->fast_state.ClearIgnoreBit(); in ThreadIgnoreEnd()
H A Dtsan_rtl_mutex.cpp183 s->last_lock = thr->fast_state; in MutexPostLock()
304 s->last_lock = thr->fast_state; in MutexPostReadLock()
505 Epoch epoch = EpochInc(thr->fast_state.epoch()); in IncrementEpoch()
507 Sid sid = thr->fast_state.sid(); in IncrementEpoch()
509 thr->fast_state.SetEpoch(epoch); in IncrementEpoch()
H A Dtsan_rtl.h160 FastState fast_state; member
781 DPrintf2("#%d: FuncEntry %p\n", (int)thr->fast_state.sid(), (void *)pc); in FuncEntry()
797 DPrintf2("#%d: FuncExit\n", (int)thr->fast_state.sid()); in FuncExit()
H A Dtsan_platform_mac.cpp78 dts->fast_state.SetIgnoreBit(); in InitializeThreadStateStorage()
H A Dtsan_platform_linux.cpp622 dead_thread_state->fast_state.SetIgnoreBit(); in cur_thread()
H A Dtsan_interceptors_posix.cpp2099 thr->fast_state.ClearIgnoreBit(); in CallUserSignalHandler()
2122 thr->fast_state.SetIgnoreBit(); in CallUserSignalHandler()