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 --sd %t-compressed.o | FileCheck %s
7 # CHECK: Name: .debug_foo
8 # CHECK-NEXT: Type: SHT_PROGBITS
10 # CHECK-NEXT: SHF_COMPRESSED
12 # CHECK: SectionData (
13 ## ch_type = ELFCOMPRESS_ZLIB (1)
14 # CHECK-NEXT: 0000: 01000000 {{.*}}
15 # CHECK-NOT: Name: .debug_foo