Lines Matching refs:Printf
96 Printf(" [failed to restore the stack]\n\n");
100 Printf(" #%d %s %s:%d", i, ent->func, ent->file, ent->line);
102 Printf(":%d", ent->col);
104 Printf(" (%s+%p)\n", ent->module, (void*)ent->offset);
106 Printf(" (%p)\n", (void*)ent->pc);
108 Printf("\n");
114 Printf(" (mutexes:");
116 Printf(" %s M%llu", m.write ? "write" : "read", m.id);
117 Printf(i == mset.Size() - 1 ? ")" : ",");
131 Printf("%s", d.Access());
132 Printf(" %s of size %d at %p by %s",
137 Printf(":\n");
138 Printf("%s", d.EndAccess());
146 Printf("%s", d.Location());
148 Printf(" Location is global '%s' of size %zu at %p (%s+%p)\n\n",
152 Printf(" Location is heap block of size %zu at %p allocated by %s:\n",
156 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid));
158 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid));
160 Printf(" Location is file descriptor %d created by %s at:\n",
164 Printf("%s", d.EndLocation());
171 Printf("%sM%zd%s%s", d.Mutex(), rm->id, d.EndMutex(), after);
177 Printf("%sM%zd (%p)%s%s", d.Mutex(), rm->id, rm->addr, d.EndMutex(), after);
183 Printf("%s", d.Mutex());
184 Printf(" Mutex M%llu is already destroyed.\n\n", rm->id);
185 Printf("%s", d.EndMutex());
187 Printf("%s", d.Mutex());
188 Printf(" Mutex M%llu (%p) created at:\n", rm->id, rm->addr);
189 Printf("%s", d.EndMutex());
198 Printf("%s", d.ThreadDescription());
199 Printf(" Thread T%d", rt->id);
201 Printf(" '%s'", rt->name);
203 Printf(" (tid=%zu, %s) created by %s",
207 Printf(" at:");
208 Printf("\n");
209 Printf("%s", d.EndThreadDescription());
215 Printf("%s", d.Sleep());
216 Printf(" As if synchronized via sleep:\n");
217 Printf("%s", d.EndSleep());
241 Printf("==================\n");
243 Printf("%s", d.Warning());
244 Printf("WARNING: ThreadSanitizer: %s (pid=%d)\n", rep_typ_str,
246 Printf("%s", d.EndWarning());
250 Printf(" Cycle in lock order graph: ");
258 Printf(" Mutex ");
262 Printf("%s", d.ThreadDescription());
263 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i]));
264 Printf("%s", d.EndThreadDescription());
267 Printf(" Mutex ");
274 Printf(" Hint: use TSAN_OPTIONS=second_deadlock_stack=1 "
281 Printf(" and:\n");
304 Printf(" And %d more similar thread leaks.\n\n", rep->count - 1);
309 Printf("==================\n");
318 Printf(" [failed to restore the stack]\n");
322 Printf(" %s()\n %s:%d +0x%zx\n",
328 Printf("\n");
329 Printf("%s by ",
333 Printf("main goroutine:\n");
335 Printf("goroutine %d:\n", mop->tid);
342 Printf("\n");
343 Printf("Goroutine %d (%s) created at:\n",
349 Printf("==================\n");
351 Printf("WARNING: DATA RACE");
357 Printf("WARNING: DEADLOCK\n");
359 Printf("Goroutine %d lock mutex %d while holding mutex %d:\n",
363 Printf("\n");
364 Printf("Mutex %d was previously locked here:\n",
367 Printf("\n");
370 Printf("==================\n");