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.h635 : thr_(thr), locked_(recursive ? thr->slot_locked : false) { in thr_() function
644 SlotLock(thr_); in thr_()
650 SlotUnlock(thr_); in ~SlotLocker()
654 ThreadState *thr_;
660 SlotUnlocker(ThreadState *thr) : thr_(thr), locked_(thr->slot_locked) { in SlotUnlocker()
662 SlotUnlock(thr_); in SlotUnlocker()
667 SlotLock(thr_); in ~SlotUnlocker()
671 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.cpp287 : thr_(thr) { in ScopedInterceptor()
299 if (!thr_->is_inited) return; in ScopedInterceptor()
300 if (!thr_->ignore_interceptors) FuncEntry(thr, pc); in ScopedInterceptor()
301 DPrintf("#%d: intercept %s()\n", thr_->tid, fname); in ScopedInterceptor()
303 !thr_->in_ignored_lib && (flags()->ignore_interceptors_accesses || in ScopedInterceptor()
309 if (!thr_->is_inited) return; in ~ScopedInterceptor()
312 EnterBlockingFunc(thr_); in ~ScopedInterceptor()
313 if (!thr_->ignore_interceptors) { in ~ScopedInterceptor()
314 ProcessPendingSignals(thr_); in ~ScopedInterceptor()
315 FuncExit(thr_); in ~ScopedInterceptor()
[all …]
H A Dtsan_interceptors.h23 ThreadState *const thr_;