1# REQUIRES: zlib
2
3# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
4# RUN: llvm-objcopy --compress-debug-sections %t.o %t-compressed.o
5# RUN: llvm-readobj -S %t-compressed.o | FileCheck %s
6
7# CHECK: Name: .debug_foo
8# CHECK-NEXT: Type: SHT_PROGBITS
9# CHECK-NEXT: Flags [
10# CHECK-NEXT: SHF_COMPRESSED
11# CHECK-NEXT: ]
12# CHECK-NOT: Name: .debug_foo
13
14