Home
last modified time | relevance | path

Searched refs:kLock (Results 1 – 6 of 6) sorted by relevance

/llvm-project/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_trace_test.cpp77 TraceMutexLock(thr, EventType::kLock, 0x4000, 0x5000, 0x6000); in TRACE_TEST()
78 TraceMutexLock(thr, EventType::kLock, 0x4001, 0x5001, 0x6001); in TRACE_TEST()
174 TraceMutexLock(thr, EventType::kLock, 0x4000, 0x5000, 0x6000); in TRACE_TEST()
184 bool res = RestoreStack(EventType::kLock, thr->fast_state.sid(), in TRACE_TEST()
252 TraceMutexLock(thr, EventType::kLock, 0x4000, 0x5000, 0x6000); in TRACE_TEST()
/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_trace.h25 kLock, enumerator
H A Dtsan_rtl_report.cpp385 case EventType::kLock: in TraceReplay()
560 case EventType::kLock: in RestoreStack()
564 bool is_write = ev->type == EventType::kLock; in RestoreStack()
574 if (match && type == EventType::kLock && addr == ev_addr && ev_pc) in RestoreStack()
H A Dtsan_rtl_mutex.cpp70 auto typ = write ? EventType::kLock : EventType::kRLock; in RecordMutexLock()
570 if (!RestoreStack(EventType::kLock, last_lock.sid(), last_lock.epoch(), addr, in ReportDestroyLocked()
H A Dtsan_rtl_access.cpp107 DCHECK(type == EventType::kLock || type == EventType::kRLock); in TraceMutexLock()
H A Dtsan_rtl.cpp1006 TraceMutexLock(thr, d.write ? EventType::kLock : EventType::kRLock, 0, in TraceSwitchPartImpl()