Home
last modified time | relevance | path

Searched refs:mutexes (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_report.cpp37 , mutexes() in ReportDesc()
278 if (rep->mutexes.Size()) in ChooseSummaryStack()
279 return rep->mutexes[0]->stack; in ChooseSummaryStack()
320 PrintMutexShort(rep->mutexes[0], "\n\n"); in PrintReport()
321 CHECK_GT(rep->mutexes.Size(), 0U); in PrintReport()
326 PrintMutexShort(rep->mutexes[(i + 1) % rep->mutexes.Size()], in PrintReport()
335 PrintMutexShort(rep->mutexes[i], in PrintReport()
364 PrintMutex(rep->mutexes[i]); in PrintReport()
464 rep->mutexes[i]->id, in PrintReport()
465 rep->mutexes[(i + 1) % rep->mutexes.Size()]->id); in PrintReport()
[all …]
H A Dtsan_debugging.cpp83 *mutex_count = rep->mutexes.Size(); in __tsan_get_report_data()
156 CHECK_LT(idx, rep->mutexes.Size()); in __tsan_get_report_mutex()
157 ReportMutex *mutex = rep->mutexes[idx]; in __tsan_get_report_mutex()
H A Dtsan_report.h107 Vector<ReportMutex*> mutexes; variable
H A Dtsan_rtl_report.cpp273 for (uptr i = 0; i < rep_->mutexes.Size(); i++) { in AddMutex()
274 if (rep_->mutexes[i]->id == s->uid) in AddMutex()
278 rep_->mutexes.PushBack(rm); in AddMutex()
304 for (uptr i = 0; i < rep_->mutexes.Size(); i++) { in AddDeadMutex()
305 if (rep_->mutexes[i]->id == id) in AddDeadMutex()
309 rep_->mutexes.PushBack(rm); in AddDeadMutex()
H A Dtsan_flags.inc36 "Report incorrect usages of mutexes and mutex annotations?")
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cpp37 , mutexes() in ReportDesc()
272 if (rep->mutexes.Size()) in ChooseSummaryStack()
273 return rep->mutexes[0]->stack; in ChooseSummaryStack()
317 PrintMutexShort(rep->mutexes[0], "\n\n"); in PrintReport()
318 CHECK_GT(rep->mutexes.Size(), 0U); in PrintReport()
323 PrintMutexShort(rep->mutexes[(i + 1) % rep->mutexes.Size()], in PrintReport()
332 PrintMutexShort(rep->mutexes[i], in PrintReport()
361 PrintMutex(rep->mutexes[i]); in PrintReport()
461 rep->mutexes[i]->id, in PrintReport()
462 rep->mutexes[(i + 1) % rep->mutexes.Size()]->id); in PrintReport()
[all …]
H A Dtsan_debugging.cpp83 *mutex_count = rep->mutexes.Size(); in __tsan_get_report_data()
156 CHECK_LT(idx, rep->mutexes.Size()); in __tsan_get_report_mutex()
157 ReportMutex *mutex = rep->mutexes[idx]; in __tsan_get_report_mutex()
H A Dtsan_report.h106 Vector<ReportMutex*> mutexes; variable
H A Dtsan_rtl_report.cpp265 for (uptr i = 0; i < rep_->mutexes.Size(); i++) { in AddMutex()
266 if (rep_->mutexes[i]->addr == addr) in AddMutex()
267 return rep_->mutexes[i]->id; in AddMutex()
270 rep_->mutexes.PushBack(rm); in AddMutex()
271 rm->id = rep_->mutexes.Size() - 1; in AddMutex()
H A Dtsan_flags.inc32 "Report incorrect usages of mutexes and mutex annotations?")
/llvm-project-15.0.7/compiler-rt/lib/tsan/benchmarks/
H A Dvts_many_threads_bench.cpp43 Mutex mutexes[kNumMutexes]; variable
64 mutexes[(offset + i) % kNumMutexes].Lock(); in Thread()
65 mutexes[(offset + i) % kNumMutexes].Unlock(); in Thread()
/llvm-project-15.0.7/clang/docs/
H A DThreadSafetyAnalysis.rst73 that these are two separate mutexes, in two different objects.
344 annotate getter methods that return mutexes.
365 declarations, specifically declarations of mutexes or other capabilities.
859 // Defines an annotated interface for mutexes.
881 // Generic unlock, can unlock exclusive and shared mutexes.
940 // Acquire all associated mutexes exclusively.
946 // Try to acquire all associated mutexes exclusively.
951 // Acquire all associated mutexes in shared mode.
957 // Try to acquire all associated mutexes in shared mode.
962 // Release all associated mutexes. Warn on double unlock.
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp424 StructuredData::Array *mutexes = ConvertToStructuredArray( in RetrieveReportData() local
441 dict->AddItem("mutexes", StructuredData::ObjectSP(mutexes)); in RetrieveReportData()
/llvm-project-15.0.7/libcxx/include/
H A D__config958 // pthread_mutex_destroy as nop for regular mutexes. Additionally, Win32
959 // mutexes have no destroy mechanism.
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx14Issues.csv157 "`2288 <https://wg21.link/lwg2288>`__","Inconsistent requirements for shared mutexes","Issaquah","|…
/llvm-project-15.0.7/clang/docs/analyzer/
H A Dcheckers.rst1026 Check for nil pointers used as mutexes for @synchronized.
1537 the locking/unlocking of ``mtx_t`` mutexes.
1935 the locking/unlocking of fuchsia mutexes.
/llvm-project-15.0.7/llvm/docs/
H A DAtomics.rst537 use mutexes in for some sizes/alignments.
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td1118 HelpText<"Check for nil pointers used as mutexes for @synchronized">,