[lldb] Remove ELF .zdebug support
authorFangrui Song <i@maskray.me>
Thu, 14 Jul 2022 17:12:48 +0000 (10:12 -0700)
committerFangrui Song <i@maskray.me>
Thu, 14 Jul 2022 17:12:48 +0000 (10:12 -0700)
commitecfaf4801cd0cc85fdced820110652f0281765fa
treeb4e683bccc5efb09f1813c659536f09bb4ffd9ed
parent2f11b3a6d7b8083be570f79f4ca18dfb2648eda3
[lldb] Remove ELF .zdebug support

clang 14 removed -gz=zlib-gnu support and ld.lld/llvm-objcopy removed zlib-gnu
support recently. Remove lldb support by migrating away from
llvm::object::Decompressor::isCompressedELFSection.
The API has another user llvm-dwp, so it is not removed in this patch.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D129724
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
lldb/test/Shell/ObjectFile/ELF/compressed-sections.yaml
lldb/test/Shell/SymbolFile/DWARF/x86/gnu-style-compression.yaml [deleted file]