| 1 |
# REQUIRES: zlib |
| 2 |
# RUN: yaml2obj %s -o %t |
| 3 |
# RUN: not llvm-objcopy --decompress-debug-sections %t /dev/null 2>&1 | FileCheck %s -DFILE=%t |
| 4 |
|
| 5 |
# CHECK: error: '[[FILE]]': --decompress-debug-sections: ch_type (3) of section '.debug_info' is unsupported |
| 6 |
# CHECK-EMPTY: |
| 7 |
|
| 8 |
--- !ELF |
| 9 |
FileHeader: |
| 10 |
Class: ELFCLASS64 |
| 11 |
Data: ELFDATA2LSB |
| 12 |
Type: ET_REL |
| 13 |
Machine: EM_X86_64 |
| 14 |
Sections: |
| 15 |
- Name: .debug_info |
| 16 |
Type: SHT_PROGBITS |
| 17 |
Flags: [ SHF_COMPRESSED ] |
| 18 |
Content: 030000000000000004000000000000000000000000000000789c6360 |
| 19 |
AddressAlign: 8 |
| 20 |
- Name: .debug_str |
| 21 |
Type: SHT_PROGBITS |
| 22 |
Flags: [ SHF_COMPRESSED ] |
| 23 |
Content: 030000000000000004000000000000000000000000000000789c6360 |
| 24 |
AddressAlign: 8 |