Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-objcopy / ELF / decompress-debug-sections-unsupported-zlib.test
blob34ca53c270fc3f98ac8ec38ff6ea49b4d76f4772
1 # UNSUPPORTED: zlib
2 # RUN: yaml2obj %s -o %t
3 # RUN: not llvm-objcopy --decompress-debug-sections %t /dev/null 2>&1 | FileCheck %s -DFILE=%t
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 time
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:      "010000000000000001000000000000000100000000000000789c63040000020002"