aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-09-26 05:48:29 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-09-26 05:48:29 +0000
commit652364b765cdd8a84e4e78f904d0b0049ca33960 (patch)
treee73de07073ab2ae5b053f6f85bf809a0aae29eb5 /llvm/lib/CodeGen/MachineFunction.cpp
parent4f98470deac92aeb7eb6e9cf208bd0b87c99b30d (diff)
downloadllvm-652364b765cdd8a84e4e78f904d0b0049ca33960.zip
llvm-652364b765cdd8a84e4e78f904d0b0049ca33960.tar.gz
llvm-652364b765cdd8a84e4e78f904d0b0049ca33960.tar.bz2
[clangd] Fix crash if pending computations were active on exit
Summary: Make sure JSONRPCDispatcher outlives the worker threads, they access its fields to remove the stored cancellations when Context dies. Reviewers: sammccall, ioeric Reviewed By: ioeric Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits Differential Revision: https://reviews.llvm.org/D52420 llvm-svn: 343067
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions