aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2018-05-08 23:45:05 +0000
committerMatt Morehouse <mascasa@google.com>2018-05-08 23:45:05 +0000
commit14cf71a3a505eea44bcea188df510107d9655205 (patch)
tree1343fd194379e1b5797a676ed78538c6717ef16c /clang/lib/Frontend/CompilerInvocation.cpp
parent48283ba3a18235aad90877ef3bfe616bd902eb1b (diff)
downloadllvm-14cf71a3a505eea44bcea188df510107d9655205.zip
llvm-14cf71a3a505eea44bcea188df510107d9655205.tar.gz
llvm-14cf71a3a505eea44bcea188df510107d9655205.tar.bz2
[libFuzzer] Guard symbolization with try-lock.
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 llvm-svn: 331825
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions