This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Remove ELF .zdebug support
ClosedPublic

Authored by MaskRay on Jul 13 2022, 8:09 PM.

Details

Summary

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.

Diff Detail

Event Timeline

MaskRay created this revision.Jul 13 2022, 8:09 PM
MaskRay requested review of this revision.Jul 13 2022, 8:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2022, 8:09 PM
labath accepted this revision.Jul 14 2022, 1:18 AM
labath added inline comments.
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
1610

I guess you can remove this as well now.

This revision is now accepted and ready to land.Jul 14 2022, 1:18 AM
MaskRay marked an inline comment as done.Jul 14 2022, 10:12 AM
MaskRay added inline comments.
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
1610

Thanks. Will delete when committing.

This revision was automatically updated to reflect the committed changes.
MaskRay marked an inline comment as done.
lldb/test/Shell/ObjectFile/ELF/compressed-sections.yaml