diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2021-08-05 15:21:37 +0200 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2021-08-05 16:53:15 +0200 |
commit | fc545c52cdfe1593967598ac9c3645095d5405c6 (patch) | |
tree | ded137f9a5b853216114d360a543c9cec65a8bbc /llvm/tools/llvm-diff/lib | |
parent | 15eb431537dc88d1e4fe4d276ecaa453647b9802 (diff) | |
download | llvm-fc545c52cdfe1593967598ac9c3645095d5405c6.zip llvm-fc545c52cdfe1593967598ac9c3645095d5405c6.tar.gz llvm-fc545c52cdfe1593967598ac9c3645095d5405c6.tar.bz2 |
tsan: handle bugs in symbolizer more gracefully
For symbolizer we only process SIGSEGV signals synchronously
(which means bug in symbolizer or in tsan).
But we still want to reset in_symbolizer to fail gracefully.
Symbolizer and user code use different memory allocators,
so if we don't reset in_symbolizer we can get memory allocated
with one being feed with another, which can cause more crashes.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D107564
Diffstat (limited to 'llvm/tools/llvm-diff/lib')
0 files changed, 0 insertions, 0 deletions