25 lines · plain
1# REQUIRES: zlib2# RUN: yaml2obj %s -o %t3# RUN: not llvm-objcopy --decompress-debug-sections %t /dev/null 2>&1 | FileCheck %s -DFILE=%t4 5# CHECK: error: '[[FILE]]': --decompress-debug-sections: ch_type (3) of section '.debug_info' is unsupported6# CHECK-EMPTY:7 8--- !ELF9FileHeader:10 Class: ELFCLASS6411 Data: ELFDATA2LSB12 Type: ET_REL13 Machine: EM_X86_6414Sections:15 - Name: .debug_info16 Type: SHT_PROGBITS17 Flags: [ SHF_COMPRESSED ]18 Content: 030000000000000004000000000000000000000000000000789c636019 AddressAlign: 820 - Name: .debug_str21 Type: SHT_PROGBITS22 Flags: [ SHF_COMPRESSED ]23 Content: 030000000000000004000000000000000000000000000000789c636024 AddressAlign: 825