19 lines · plain
1# UNSUPPORTED: 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]]': failed to decompress section '.debug_info': LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at build time6 7--- !ELF8FileHeader:9 Class: ELFCLASS6410 Data: ELFDATA2LSB11 Type: ET_REL12 Machine: EM_X86_6413Sections:14 - Type: SHT_PROGBITS15 Name: .debug_info16 Flags: [ SHF_COMPRESSED ]17 AddressAlign: 818 Content: "010000000000000001000000000000000100000000000000789c63040000020002"19