| # REQUIRES: zlib | |
| # RUN: yaml2obj %s -o %t | |
| # RUN: not llvm-objcopy --decompress-debug-sections %t /dev/null 2>&1 | FileCheck %s -DFILE=%t | |
| # CHECK: error: '[[FILE]]': --decompress-debug-sections: ch_type (3) of section '.debug_info' is unsupported | |
| # CHECK-EMPTY: | |
| --- !ELF | |
| FileHeader: | |
| Class: ELFCLASS64 | |
| Data: ELFDATA2LSB | |
| Type: ET_REL | |
| Machine: EM_X86_64 | |
| Sections: | |
| - Name: .debug_info | |
| Type: SHT_PROGBITS | |
| Flags: [ SHF_COMPRESSED ] | |
| Content: 030000000000000004000000000000000000000000000000789c6360 | |
| AddressAlign: 8 | |
| - Name: .debug_str | |
| Type: SHT_PROGBITS | |
| Flags: [ SHF_COMPRESSED ] | |
| Content: 030000000000000004000000000000000000000000000000789c6360 | |
| AddressAlign: 8 |