Lines Matching +full:deadlock +full:- +full:detector
1 //===-- tsan_flags.cc -----------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
10 // This file is a part of ThreadSanitizer (TSan), a race detector.
12 //===----------------------------------------------------------------------===//
25 return &ctx->flags; in flags()
48 RegisterFlag(parser, #Name, Description, &f->Name); in RegisterTsanFlags()
53 "Report where each mutex is locked in deadlock reports", in RegisterTsanFlags()
54 &f->second_deadlock_stack); in RegisterTsanFlags()
78 f->SetDefaults(); in InitializeFlags()
86 uf->SetDefaults(); in InitializeFlags()
106 if (!f->report_bugs) { in InitializeFlags()
107 f->report_thread_leaks = false; in InitializeFlags()
108 f->report_destroy_locked = false; in InitializeFlags()
109 f->report_signal_unsafe = false; in InitializeFlags()
116 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
118 if (f->history_size < 0 || f->history_size > 7) { in InitializeFlags()
124 if (f->io_sync < 0 || f->io_sync > 2) { in InitializeFlags()