From dcba4d12881e44fe7c19e15567f805b82c47875e Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 13 Nov 2012 13:53:43 +0000 Subject: [PATCH] tsan: fix stats collection llvm-svn: 167832 --- compiler-rt/lib/tsan/rtl/tsan_rtl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl.cc b/compiler-rt/lib/tsan/rtl/tsan_rtl.cc index 6bc9066..8c75674 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_rtl.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_rtl.cc @@ -256,6 +256,7 @@ int Finalize(ThreadState *thr) { ctx->nmissed_expected); } + StatAggregate(ctx->stat, thr->stat); StatOutput(ctx->stat); return failed ? flags()->exitcode : 0; } -- 2.7.4