HomePhabricator

[clangd] Don't use zlib when it's unavailable.

Authored by ArcsinX on Wed, Sep 16, 1:04 AM.

Description

[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

Details

Committed
ArcsinXWed, Sep 16, 1:05 AM
Reviewer
sammccall
Differential Revision
D87673: [clangd] Don't use zlib when it's unavailable.
Parents
rG070b96962f51: [ARM][MachineOutliner] Add calls handling.
Branches
Unknown
Tags
Unknown