[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / compressed-input-err-zstd.s
blob31a88916f3c4964ae49ae712d82a96eca23e50cb
1 # UNSUPPORTED: zstd
2 # RUN: yaml2obj %s -o %t.o
3 # RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
5 # CHECK: error: {{.*}}.o:(.debug_info) is compressed with ELFCOMPRESS_ZSTD, but lld is not built with zstd support
7 --- !ELF
8 FileHeader:
9 Class: ELFCLASS64
10 Data: ELFDATA2LSB
11 Type: ET_REL
12 Machine: EM_X86_64
13 Sections:
14 - Type: SHT_PROGBITS
15 Name: .debug_info
16 Flags: [ SHF_COMPRESSED ]
17 AddressAlign: 8
18 Content: "020000000000000000000000000000000100000000000000789c030000000001"