Home
last modified time | relevance | path

Searched refs:thr_ (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h632 : thr_(thr), locked_(recursive ? thr->slot_locked : false) { in thr_() function
641 SlotLock(thr_); in thr_()
647 SlotUnlock(thr_); in ~SlotLocker()
651 ThreadState *thr_;
657 SlotUnlocker(ThreadState *thr) : thr_(thr), locked_(thr->slot_locked) { in SlotUnlocker()
659 SlotUnlock(thr_); in SlotUnlocker()
664 SlotLock(thr_); in ~SlotUnlocker()
668 ThreadState *thr_;
H A Dtsan_interface_ann.cpp33 : thr_(thr) { in ScopedAnnotation()
34 FuncEntry(thr_, pc); in ScopedAnnotation()
35 DPrintf("#%d: annotation %s()\n", thr_->tid, aname); in ScopedAnnotation()
39 FuncExit(thr_); in ~ScopedAnnotation()
43 ThreadState *const thr_; member in __tsan::ScopedAnnotation
H A Dtsan_interceptors_posix.cpp277 : thr_(thr) { in ScopedInterceptor()
289 if (!thr_->is_inited) return; in ScopedInterceptor()
290 if (!thr_->ignore_interceptors) FuncEntry(thr, pc); in ScopedInterceptor()
291 DPrintf("#%d: intercept %s()\n", thr_->tid, fname); in ScopedInterceptor()
293 !thr_->in_ignored_lib && (flags()->ignore_interceptors_accesses || in ScopedInterceptor()
299 if (!thr_->is_inited) return; in ~ScopedInterceptor()
302 EnterBlockingFunc(thr_); in ~ScopedInterceptor()
303 if (!thr_->ignore_interceptors) { in ~ScopedInterceptor()
304 ProcessPendingSignals(thr_); in ~ScopedInterceptor()
305 FuncExit(thr_); in ~ScopedInterceptor()
[all …]
H A Dtsan_interceptors.h23 ThreadState *const thr_;