19 lines · plain
1# UNSUPPORTED: zstd2# RUN: yaml2obj %s -o %t.o3# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s4 5# CHECK: error: {{.*}}.o:(.debug_info) is compressed with ELFCOMPRESS_ZSTD, but lld is not built with zstd support6 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: "020000000000000000000000000000000100000000000000789c030000000001"19