Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/
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
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_;
Dtsan_interceptors_posix.cpp272 : thr_(thr) { in ScopedInterceptor()
284 if (!thr_->is_inited) return; in ScopedInterceptor()
285 if (!thr_->ignore_interceptors) FuncEntry(thr, pc); in ScopedInterceptor()
286 DPrintf("#%d: intercept %s()\n", thr_->tid, fname); in ScopedInterceptor()
288 !thr_->in_ignored_lib && (flags()->ignore_interceptors_accesses || in ScopedInterceptor()
294 if (!thr_->is_inited) return; in ~ScopedInterceptor()
297 EnterBlockingFunc(thr_); in ~ScopedInterceptor()
298 if (!thr_->ignore_interceptors) { in ~ScopedInterceptor()
299 ProcessPendingSignals(thr_); in ~ScopedInterceptor()
300 FuncExit(thr_); in ~ScopedInterceptor()
[all …]
Dtsan_interceptors.h23 ThreadState *const thr_;