diff options
author | Aleksandr Platonov <platonov.aleksandr@huawei.com> | 2020-09-16 11:04:53 +0300 |
---|---|---|
committer | Aleksandr Platonov <platonov.aleksandr@huawei.com> | 2020-09-16 11:05:18 +0300 |
commit | d427df6369f1d229a9f498b4dc621433ada380d2 (patch) | |
tree | 66f0e457b8c9c136ce37f966797e313a38991473 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 070b96962f517772fff4bf3c27cc825b46a136b5 (diff) | |
download | llvm-d427df6369f1d229a9f498b4dc621433ada380d2.zip llvm-d427df6369f1d229a9f498b4dc621433ada380d2.tar.gz llvm-d427df6369f1d229a9f498b4dc621433ada380d2.tar.bz2 |
[clangd] Don't use zlib when it's unavailable.
Without this patch `clangd` crashes at try to load compressed string table when `zlib` is not available.
Example:
- Build `clangd` with MinGW (`zlib` found)
- Build index
- Build `clangd` with Visual Studio compiler (`zlib` not found)
- Try to load index
Reviewed By: sammccall, adamcz
Differential Revision: https://reviews.llvm.org/D87673
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions