| 1 |
# REQUIRES: zlib |
| 2 |
## .zdebug is no longer recognized as zlib-gnu compressed sections. It's treated |
| 3 |
## as an opaque non-debug section. |
| 4 |
# RUN: yaml2obj %s -o %t |
| 5 |
# RUN: llvm-objcopy --decompress-debug-sections %t %t.copy |
| 6 |
# RUN: llvm-readelf -S %t.copy | FileCheck %s |
| 7 |
|
| 8 |
# CHECK: .zdebug_str |
| 9 |
|
| 10 |
--- !ELF |
| 11 |
FileHeader: |
| 12 |
Class: ELFCLASS64 |
| 13 |
Data: ELFDATA2LSB |
| 14 |
Type: ET_REL |
| 15 |
Machine: EM_X86_64 |
| 16 |
Sections: |
| 17 |
- Name: .text |
| 18 |
Type: SHT_PROGBITS |
| 19 |
Flags: [ SHF_ALLOC, SHF_EXECINSTR ] |
| 20 |
Content: '00' |
| 21 |
- Name: .zdebug_str |
| 22 |
Type: SHT_PROGBITS |
| 23 |
Content: 5a4c49420000000000000002789c4b64000000c40062 |
| 24 |
AddressAlign: 8 |
| 25 |
... |