Revert "[Support] Add llvm::compression::{getReasonIfUnsupported,compress,decompress}"
authorNikita Popov <npopov@redhat.com>
Thu, 8 Sep 2022 07:32:54 +0000 (09:32 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 8 Sep 2022 07:33:12 +0000 (09:33 +0200)
commit0444b40ed3392dd4a439912a0e8ab6db4e83fce0
tree14abe080012551c49a176f54fd9790c16b0c36d0
parent10842b44759f987777b08e7714ef77da2526473a
Revert "[Support] Add llvm::compression::{getReasonIfUnsupported,compress,decompress}"

This reverts commit 19dc3cff0f771bb8933136ef68e782553e920d04.
This reverts commit 5b19a1f8e88da9ec92b995bfee90043795c2c252.
This reverts commit 9397648ac8ad192f7e6e6a8e6894c27bf7e024e9.
This reverts commit 10842b44759f987777b08e7714ef77da2526473a.

Breaks the GCC build, as reported here:
https://reviews.llvm.org/D130506#3776415
21 files changed:
llvm/docs/CommandGuide/llvm-objcopy.rst
llvm/include/llvm/BinaryFormat/ELF.h
llvm/include/llvm/MC/MCTargetOptions.h
llvm/include/llvm/Support/Compression.h
llvm/lib/MC/ELFObjectWriter.cpp
llvm/lib/ObjCopy/ELF/ELFObject.cpp
llvm/lib/ObjCopy/ELF/ELFObject.h
llvm/lib/Support/Compression.cpp
llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s
llvm/test/MC/ELF/compress-debug-sections-zstd-unavailable.s [deleted file]
llvm/test/MC/ELF/compress-debug-sections-zstd.s [deleted file]
llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-default.test
llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd-err.test [deleted file]
llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test [deleted file]
llvm/test/tools/llvm-objcopy/ELF/decompress-debug-sections-err.test [deleted file]
llvm/tools/llvm-mc/llvm-mc.cpp
llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
llvm/tools/llvm-objcopy/ObjcopyOpts.td
llvm/unittests/Support/CompressionTest.cpp
llvm/utils/lit/lit/llvm/config.py