3 # RUN: yaml2obj %s -o %t1.o
4 # RUN: llvm-objcopy --compress-debug-sections %t1.o %t2.o
5 # RUN: llvm-readobj -S %t2.o | FileCheck %s
7 # Non-.zdebug* sections whose data does start with "ZLIB" should
8 # not be considered as zlib-gnu compressed sections.
10 # In this test we have 2 normal sections, one of them starts with "ZLIB",
11 # another starts with "ZZZZ". Check we compress both as expected.
13 # CHECK: Name: .debug_foo
14 # CHECK-NEXT: Type: SHT_PROGBITS
16 # CHECK-NEXT: SHF_COMPRESSED
19 # CHECK: Name: .debug_bar
20 # CHECK-NEXT: Type: SHT_PROGBITS
22 # CHECK-NEXT: SHF_COMPRESSED
34 AddressAlign: 0x0000000000000001
36 Content: 5A4C49420000000000000000
39 AddressAlign: 0x0000000000000001
41 Content: 5A5A5A5A0000000000000000