1# UNSUPPORTED: zlib 2# RUN: yaml2obj %s -o %t.o 3# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s 4 5# CHECK: error: {{.*}}.o:(.debug_info) is compressed with ELFCOMPRESS_ZLIB, but lld is not built with zlib support 6 7--- !ELF 8FileHeader: 9 Class: ELFCLASS64 10 Data: ELFDATA2LSB 11 Type: ET_REL 12 Machine: EM_X86_64 13Sections: 14 - Type: SHT_PROGBITS 15 Name: .debug_info 16 Flags: [ SHF_COMPRESSED ] 17 AddressAlign: 8 18 Content: "010000000000000000000000000000000100000000000000789c030000000001" 19