tsan: better message about found races for Go ThreadSanitizer

llvm-svn: 165376
This commit is contained in:
Dmitry Vyukov 2012-10-07 14:21:24 +00:00
parent 8aa41a0908
commit 19ba50a8b9
1 changed files with 4 additions and 0 deletions

View File

@ -228,7 +228,11 @@ int Finalize(ThreadState *thr) {
if (ctx->nreported) {
failed = true;
#ifndef TSAN_GO
TsanPrintf("ThreadSanitizer: reported %d warnings\n", ctx->nreported);
#else
TsanPrintf("Found %d data race(s)\n", ctx->nreported);
#endif
}
if (ctx->nmissed_expected) {