diff options
author | Matt Morehouse <mascasa@google.com> | 2018-05-08 23:45:05 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2018-05-08 23:45:05 +0000 |
commit | 14cf71a3a505eea44bcea188df510107d9655205 (patch) | |
tree | 1343fd194379e1b5797a676ed78538c6717ef16c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 48283ba3a18235aad90877ef3bfe616bd902eb1b (diff) | |
download | llvm-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/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions