aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ObjectFile
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-07-14 10:12:48 -0700
committerFangrui Song <i@maskray.me>2022-07-14 10:12:48 -0700
commitecfaf4801cd0cc85fdced820110652f0281765fa (patch)
treeb4e683bccc5efb09f1813c659536f09bb4ffd9ed /lldb/test/Shell/ObjectFile
parent2f11b3a6d7b8083be570f79f4ca18dfb2648eda3 (diff)
downloadllvm-ecfaf4801cd0cc85fdced820110652f0281765fa.zip
llvm-ecfaf4801cd0cc85fdced820110652f0281765fa.tar.gz
llvm-ecfaf4801cd0cc85fdced820110652f0281765fa.tar.bz2
[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
Diffstat (limited to 'lldb/test/Shell/ObjectFile')
-rw-r--r--lldb/test/Shell/ObjectFile/ELF/compressed-sections.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/test/Shell/ObjectFile/ELF/compressed-sections.yaml b/lldb/test/Shell/ObjectFile/ELF/compressed-sections.yaml
index e252713..d4d2899 100644
--- a/lldb/test/Shell/ObjectFile/ELF/compressed-sections.yaml
+++ b/lldb/test/Shell/ObjectFile/ELF/compressed-sections.yaml
@@ -16,6 +16,7 @@ Sections:
Type: SHT_PROGBITS
Flags: [ SHF_COMPRESSED ]
Content: deadbeefbaadf00d
+## The legacy .zdebug format is not supported.
- Name: .zdebug_info
Type: SHT_PROGBITS
Content: 5A4C49420000000000000008789c5330700848286898000009c802c1
@@ -37,8 +38,8 @@ Sections:
# CHECK-NEXT: Data: ()
# CHECK: Name: .zdebug_info
-# CHECK: dwarf-info
+# CHECK: regular
# CHECK: File size: 28
# CHECK: Data: (
-# CHECK-NEXT: 20304050 60708090
+# CHECK-NEXT: 5A4C4942 00000000 00000008 789C5330 70084828 68980000 09C802C1
# CHECK-NEXT: )