forked from OSchip/llvm-project
tsan: better message about found races for Go ThreadSanitizer
llvm-svn: 165376
This commit is contained in:
parent
8aa41a0908
commit
19ba50a8b9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue