summaryrefslogtreecommitdiff
path: root/test/fuzzer/SymbolizeDeadlock.cpp
AgeCommit message (Collapse)Author
2018-05-08[libFuzzer] Guard symbolization with try-lock.Matt Morehouse
Summary: When out-of-memory or timeout occurs, threads can be stopped during symbolization, thereby causing a deadlock when the OOM/TO handlers attempt symbolization. We avoid this deadlock by skipping symbolization if another thread is symbolizing. Reviewers: kcc Reviewed By: kcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D46605 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331825 91177308-0d34-0410-b5e6-96231b3b80d8