26 lines · yaml
1# REQUIRES: zlib2## .zdebug is no longer recognized as zlib-gnu compressed sections. It's treated3## as an opaque non-debug section.4# RUN: yaml2obj %s -o %t5# RUN: llvm-objcopy --decompress-debug-sections %t %t.copy6# RUN: llvm-readelf -S %t.copy | FileCheck %s7 8# CHECK: .zdebug_str9 10--- !ELF11FileHeader:12 Class: ELFCLASS6413 Data: ELFDATA2LSB14 Type: ET_REL15 Machine: EM_X86_6416Sections:17 - Name: .text18 Type: SHT_PROGBITS19 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]20 Content: '00'21 - Name: .zdebug_str22 Type: SHT_PROGBITS23 Content: 5a4c49420000000000000002789c4b64000000c4006224 AddressAlign: 825...26