forked from OSchip/llvm-project
tsan: flush metamap per-thread cache when thread finishes
llvm-svn: 210347
This commit is contained in:
parent
feb4ede8ac
commit
ff194daead
|
@ -134,6 +134,7 @@ void ThreadContext::OnFinished() {
|
|||
ctx->dd->DestroyPhysicalThread(thr->dd_pt);
|
||||
ctx->dd->DestroyLogicalThread(thr->dd_lt);
|
||||
}
|
||||
ctx->metamap.OnThreadIdle(thr);
|
||||
#ifndef TSAN_GO
|
||||
AllocatorThreadFinish(thr);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue