2017-12-15 22:23:58 +08:00
|
|
|
# REQUIRES: zlib
|
|
|
|
# RUN: yaml2obj %s > %t
|
|
|
|
# RUN: lldb-test module-sections --contents %t | FileCheck %s
|
|
|
|
--- !ELF
|
|
|
|
FileHeader:
|
|
|
|
Class: ELFCLASS32
|
|
|
|
Data: ELFDATA2LSB
|
|
|
|
Type: ET_REL
|
|
|
|
Machine: EM_386
|
|
|
|
Sections:
|
|
|
|
- Name: .hello_elf
|
|
|
|
Type: SHT_PROGBITS
|
|
|
|
Flags: [ SHF_COMPRESSED ]
|
|
|
|
Content: 010000000800000001000000789c5330700848286898000009c802c1
|
|
|
|
- Name: .bogus
|
|
|
|
Type: SHT_PROGBITS
|
|
|
|
Flags: [ SHF_COMPRESSED ]
|
|
|
|
Content: deadbeefbaadf00d
|
|
|
|
|
|
|
|
# CHECK: Name: .hello_elf
|
2018-04-30 03:47:48 +08:00
|
|
|
# CHECK-NEXT: Type: regular
|
2017-12-15 22:23:58 +08:00
|
|
|
# CHECK-NEXT: VM size: 0
|
|
|
|
# CHECK-NEXT: File size: 28
|
|
|
|
# CHECK-NEXT: Data:
|
|
|
|
# CHECK-NEXT: 20304050 60708090
|
|
|
|
|
|
|
|
# CHECK: Name: .bogus
|
2018-04-30 03:47:48 +08:00
|
|
|
# CHECK-NEXT: Type: regular
|
2017-12-15 22:23:58 +08:00
|
|
|
# CHECK-NEXT: VM size: 0
|
|
|
|
# CHECK-NEXT: File size: 8
|
|
|
|
# CHECK-NEXT: Data:
|
|
|
|
# CHECK-NEXT: DEADBEEF BAADF00D
|