diff options
author | Fangrui Song <i@maskray.me> | 2022-10-12 11:52:05 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-10-12 11:52:05 -0700 |
commit | e18b7c7ae0c13909d7f1304aee8621781a3c27a0 (patch) | |
tree | a016d934f49155829701b84074b0c42c6a0794b8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e143e52c2201b689d2de39394f059f8ef1a27fc4 (diff) | |
download | llvm-e18b7c7ae0c13909d7f1304aee8621781a3c27a0.zip llvm-e18b7c7ae0c13909d7f1304aee8621781a3c27a0.tar.gz llvm-e18b7c7ae0c13909d7f1304aee8621781a3c27a0.tar.bz2 |
[llvm-objcopy] Support --decompress-debug-sections when zlib is disabled
When zlib is disabled at build time, the diagnostic `LLVM was not compiled with
LLVM_ENABLE_ZLIB: cannot decompress` for --decompress-debug-sections may be
inaccurate: if zstd is enabled, we should still support zstd decompression.
It's not useful to test zlib and zstd. Just remove the diagnostic and add a new
one before `compression::decompress`.
This fixes compress-debug-sections-zstd.test
Reviewed By: mariusz-sikora-at-amd, jhenderson, phosek
Differential Revision: https://reviews.llvm.org/D135744
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions