tsan: use VReport instead of VPrintf in background thread
authorDmitry Vyukov <dvyukov@google.com>
Tue, 16 Nov 2021 07:41:36 +0000 (08:41 +0100)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 21 Dec 2021 18:51:48 +0000 (19:51 +0100)
commitc82bd4c5bafafc75a524e38e01915307fb63ee17
treef6bb78eff5f392afba907fbde299f98c05d17ffb
parent05ca57a0543bacfead83a870db900a90134c6d00
tsan: use VReport instead of VPrintf in background thread

If there are multiple processes, it's hard to understand
what output comes from what process.
VReport prepends pid to the output. Use it.

Depends on D113982.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D113983
compiler-rt/lib/tsan/rtl/tsan_rtl.cpp