| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/ |
| H A D | tsan_mutexset_test.cpp | 27 MutexSet mset; in TEST() local 33 mset.Del(1, true); in TEST() 41 mset.Del(3, true); in TEST() 48 MutexSet mset; in TEST() local 57 mset.Del(1, true); in TEST() 61 mset.Del(1, true); in TEST() 66 MutexSet mset; in TEST() local 76 MutexSet mset; in TEST() local 83 mset.Remove(1); in TEST() 89 MutexSet mset; in TEST() local [all …]
|
| H A D | tsan_trace_test.cpp | 94 MutexSet mset; in TRACE_TEST() local 105 CHECK_EQ(mset.Size(), 2); in TRACE_TEST() 106 CHECK_EQ(mset.Get(0).addr, 0x5001); in TRACE_TEST() 108 CHECK_EQ(mset.Get(0).write, true); in TRACE_TEST() 154 MutexSet mset; in TRACE_TEST() local 182 MutexSet mset; in TRACE_TEST() local 191 CHECK_EQ(mset.Size(), 2); in TRACE_TEST() 225 MutexSet mset; in TRACE_TEST() local 237 CHECK_EQ(mset.Size(), 2); in TRACE_TEST() 240 CHECK_EQ(mset.Get(0).count, 2); in TRACE_TEST() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_rtl_report.cpp | 191 MutexSet::Desc d = mset->Get(i); in AddMemoryAccess() 194 mop->mset.PushBack(mtx); in AddMemoryAccess() 413 if (mset) in RestoreStack() 414 *mset = hdr->mset0; in RestoreStack() 432 if (mset) { in RestoreStack() 434 mset->Add(pc, true, epoch0 + i); in RestoreStack() 436 mset->Del(pc, true); in RestoreStack() 440 mset->Del(pc, false); in RestoreStack() 515 *pmset = *mset; in RestoreStackMatch() 563 DynamicMutexSet mset; in RestoreStack() local [all …]
|
| H A D | tsan_report.cpp | 45 : mset() { in ReportMop() 124 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) { in PrintMutexSet() argument 125 for (uptr i = 0; i < mset.Size(); i++) { in PrintMutexSet() 128 const ReportMopMutex m = mset[i]; in PrintMutexSet() 130 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet() 162 PrintMutexSet(mop->mset); in PrintMop()
|
| H A D | tsan_rtl_mutex.cpp | 131 thr->mset.Remove(mid); in MutexDestroy() 193 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); in MutexPostLock() 238 thr->mset.Del(s->GetId(), true); in MutexUnlock() 291 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); in MutexPostReadLock() 334 thr->mset.Del(mid, false); in MutexReadUnlock() 374 thr->mset.Del(s->GetId(), write); in MutexReadOrWriteUnlock()
|
| H A D | tsan_report.h | 57 Vector<ReportMopMutex> mset; member
|
| H A D | tsan_rtl.cpp | 676 for (uptr i = 0; i < thr->mset.Size(); i++) { in TraceSwitchPart() 677 MutexSet::Desc d = thr->mset.Get(i); in TraceSwitchPart() 697 hdr->mset0 = thr->mset; in TraceSwitch()
|
| H A D | tsan_rtl.h | 168 MutexSet mset; member 352 const MutexSet *mset); 393 MutexSet *mset, uptr *tag = nullptr);
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_report.cpp | 179 const MutexSet *mset) { in AddMemoryAccess() argument 194 for (uptr i = 0; i < mset->Size(); i++) { in AddMemoryAccess() 195 MutexSet::Desc d = mset->Get(i); in AddMemoryAccess() 198 mop->mset.PushBack(mtx); in AddMemoryAccess() 413 *pmset = *mset; in RestoreStackMatch() 478 DynamicMutexSet mset; in RestoreStack() local 493 mset->Reset(); in RestoreStack() 513 RestoreStackMatch(pstk, pmset, &stack, mset, ev_pc, &found); in RestoreStack() 572 mset->AddAddr(ev_addr, stack_id, is_write); in RestoreStack() 583 mset->DelAddr(ev_addr); in RestoreStack() [all …]
|
| H A D | tsan_report.cpp | 45 : mset() { in ReportMop() 124 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) { in PrintMutexSet() argument 125 for (uptr i = 0; i < mset.Size(); i++) { in PrintMutexSet() 128 const ReportMopMutex m = mset[i]; in PrintMutexSet() 130 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet() 162 PrintMutexSet(mop->mset); in PrintMop()
|
| H A D | tsan_rtl_mutex.cpp | 77 thr->mset.AddAddr(addr, stack_id, write); in RecordMutexLock() 83 thr->mset.DelAddr(addr); in RecordMutexUnlock() 136 thr->mset.DelAddr(addr, true); in MutexDestroy() 568 DynamicMutexSet mset; in ReportDestroyLocked() local 571 0, kAccessWrite, &tid, &trace, mset, &tag)) in ReportDestroyLocked()
|
| H A D | tsan_report.h | 57 Vector<ReportMopMutex> mset; member
|
| H A D | tsan_rtl.h | 197 MutexSet mset; member 408 StackTrace stack, const MutexSet *mset);
|
| H A D | tsan_rtl.cpp | 993 for (uptr i = 0; i < thr->mset.Size(); i++) { in TraceSwitchPartImpl() 994 MutexSet::Desc d = thr->mset.Get(i); in TraceSwitchPartImpl()
|