[all-commits] [llvm/llvm-project] ecfaf4: [lldb] Remove ELF .zdebug support

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jul 14 10:13:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecfaf4801cd0cc85fdced820110652f0281765fa
      https://github.com/llvm/llvm-project/commit/ecfaf4801cd0cc85fdced820110652f0281765fa
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    M lldb/test/Shell/ObjectFile/ELF/compressed-sections.yaml
    R lldb/test/Shell/SymbolFile/DWARF/x86/gnu-style-compression.yaml

  Log Message:
  -----------
  [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




More information about the All-commits mailing list