[all-commits] [llvm/llvm-project] d427df: [clangd] Don't use zlib when it's unavailable.
Aleksandr Platonov via All-commits
all-commits at lists.llvm.org
Wed Sep 16 01:06:33 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d427df6369f1d229a9f498b4dc621433ada380d2
https://github.com/llvm/llvm-project/commit/d427df6369f1d229a9f498b4dc621433ada380d2
Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M clang-tools-extra/clangd/index/Serialization.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list