diff options
author | Matt Morehouse <mascasa@google.com> | 2018-05-01 21:01:53 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2018-05-01 21:01:53 +0000 |
commit | 52fd16903569c0f8c3ca3dfe89d664969739f2f0 (patch) | |
tree | a9f129880c7874b0097db3342c415ae3954c0de5 /lldb/packages/Python/lldbsuite/test/settings | |
parent | f70671582d6fead1f12ce35ad894db77c51b099a (diff) | |
download | bcm5719-llvm-52fd16903569c0f8c3ca3dfe89d664969739f2f0.tar.gz bcm5719-llvm-52fd16903569c0f8c3ca3dfe89d664969739f2f0.zip |
[libFuzzer] Report at most one crash per input.
Summary:
Fixes https://github.com/google/sanitizers/issues/788/, a deadlock
caused by multiple crashes happening at the same time. Before printing
a crash report, we now test and set an atomic flag. If the flag was
already set, the crash handler returns immediately.
Reviewers: kcc
Reviewed By: kcc
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D46277
llvm-svn: 331310
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/settings')
0 files changed, 0 insertions, 0 deletions