[compiler-rt] r203109 - tsan: better error message wording in deadlock reports
Dmitry Vyukov
dvyukov at google.com
Thu Mar 6 04:02:17 PST 2014
Author: dvyukov
Date: Thu Mar 6 06:02:17 2014
New Revision: 203109
URL: http://llvm.org/viewvc/llvm-project?rev=203109&view=rev
Log:
tsan: better error message wording in deadlock reports
Modified:
compiler-rt/trunk/lib/tsan/dd/dd_rtl.cc
Modified: compiler-rt/trunk/lib/tsan/dd/dd_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/dd/dd_rtl.cc?rev=203109&r1=203108&r2=203109&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/dd/dd_rtl.cc (original)
+++ compiler-rt/trunk/lib/tsan/dd/dd_rtl.cc Thu Mar 6 06:02:17 2014
@@ -42,7 +42,7 @@ static void ReportDeadlock(Thread *thr,
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);
}
More information about the llvm-commits
mailing list