xref: /llvm-project/llvm/test/tools/llvm-dwp/X86/nocompress.test (revision e601e2524458dbe53a4fe5e64e3f1723e3a9ec25)
1# UNSUPPORTED: zlib
2# RUN: yaml2obj %s -o %t.o
3# RUN: not llvm-dwp %t.o -o /dev/null 2>&1 | FileCheck %s
4
5# CHECK: error: failure while decompressing compressed section: '.debug_{{.*}}.dwo', LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at build time
6
7--- !ELF
8FileHeader:
9  Class:           ELFCLASS64
10  Data:            ELFDATA2LSB
11  Type:            ET_REL
12  Machine:         EM_X86_64
13Sections:
14  - Name:            .debug_info.dwo
15    Type:            SHT_PROGBITS
16    Flags:           [ SHF_COMPRESSED ]
17    AddressAlign:    0x8
18    Content:         01000000fd7f000056000000000000000100000000000000789c0b626060606100010e462083f1e6eb7f7c0d8b756299188480628c614ccc8c8ccc4c136b5818190381024066051b9c59c20e67167040980c2cacac2c0c00109a0afa
19