llvm-project/llvm/tools/llvm-objcopy
Fangrui Song e18b7c7ae0 [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
2022-10-12 11:52:05 -07:00
..
BitcodeStripOpts.td [llvm] add -r functionality to llvm-bitcode-strip 2022-03-04 13:28:28 -08:00
CMakeLists.txt LLVM Driver Multicall tool 2022-06-06 04:27:32 +00:00
CommonOpts.td
InstallNameToolOpts.td
ObjcopyOptions.cpp [llvm-objcopy] Support --decompress-debug-sections when zlib is disabled 2022-10-12 11:52:05 -07:00
ObjcopyOptions.h [llvm] add -r functionality to llvm-bitcode-strip 2022-03-04 13:28:28 -08:00
ObjcopyOpts.td [llvm-objcopy] Support --{,de}compress-debug-sections for zstd 2022-09-08 00:59:14 -07:00
StripOpts.td
llvm-objcopy.cpp LLVM Driver Multicall tool 2022-06-06 04:27:32 +00:00