tsan: better error message wording in deadlock reports

llvm-svn: 203109
This commit is contained in:
Dmitry Vyukov 2014-03-06 12:02:17 +00:00
parent 178d599143
commit 69bd9ca91c
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ static void ReportDeadlock(Thread *thr, DDReport *rep) {
Printf("==============================\n");
Printf("WARNING: lock-order-inversion (potential deadlock)\n");
for (int i = 0; i < rep->n; i++) {
Printf("Thread %d locks mutex %llu under mutex %llu:\n",
Printf("Thread %d locks mutex %llu while holding mutex %llu:\n",
rep->loop[i].thr_ctx, rep->loop[i].mtx_ctx1, rep->loop[i].mtx_ctx0);
PrintStackTrace(thr, rep->loop[i].stk);
}