[compiler-rt] r195858 - tsan: clarify "thread ended with ignores enabled" message

Dmitry Vyukov dvyukov at google.com
Wed Nov 27 10:23:53 PST 2013


Author: dvyukov
Date: Wed Nov 27 12:23:52 2013
New Revision: 195858

URL: http://llvm.org/viewvc/llvm-project?rev=195858&view=rev
Log:
tsan: clarify "thread ended with ignores enabled" message


Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc?rev=195858&r1=195857&r2=195858&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc Wed Nov 27 12:23:52 2013
@@ -169,6 +169,8 @@ static void ReportIgnoresEnabled(ThreadC
       " created at:\n", tctx->tid, tctx->name);
     PrintStack(SymbolizeStackId(tctx->creation_stack_id));
   }
+  Printf("  One of the following ignores was not ended"
+      " (in order of probability)\n");
   for (uptr i = 0; i < set->Size(); i++) {
     Printf("  Ignore was enabled at:\n");
     PrintStack(SymbolizeStackId(set->At(i)));





More information about the llvm-commits mailing list