diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-07-15 11:18:53 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-07-15 21:00:11 +0200 |
| commit | c3c324dddf73bfc85034267901fce22002a4bb78 (patch) | |
| tree | b2e291bd5d34b34b85fe08c4212b6aaac06a9ea6 /lldb/test/API/python_api/process/main.cpp | |
| parent | b980d2f54bb652208eeb9a6543b8d838b65ad099 (diff) | |
tsan: lock ScopedErrorReportLock around fork
Currently we don't lock ScopedErrorReportLock around fork
and it mostly works becuase tsan has own report_mtx that
is locked around fork and tsan reports.
However, sanitizer_common code prints some own reports
which are not protected by tsan's report_mtx. So it's better
to lock ScopedErrorReportLock explicitly.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D106048
Diffstat (limited to 'lldb/test/API/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
