diff options
author | Sam McCall <sam.mccall@gmail.com> | 2021-11-20 01:10:30 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2021-11-20 01:13:38 +0100 |
commit | f764a1a5bd7c281d3d7cc3c6d7f1430711176762 (patch) | |
tree | 15f4f15f4d0d75289bd3b2553ab245607b21d1db /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | de11de308b6480fc35d901c7104f46918674418c (diff) | |
download | llvm-f764a1a5bd7c281d3d7cc3c6d7f1430711176762.zip llvm-f764a1a5bd7c281d3d7cc3c6d7f1430711176762.tar.gz llvm-f764a1a5bd7c281d3d7cc3c6d7f1430711176762.tar.bz2 |
[clangd] Avoid possible crash: apply configuration after binding methods
The configuration may kick off indexing, which may involve sending LSP
messages.
The crash is fiddly to reproduce in a hermetic test (we need background
indexing on without disk storage, and to handle server->client messages
in LSPClient...)
Fixes https://github.com/clangd/clangd/issues/926
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions