1# RUN: yaml2obj %s -o %t
2# RUN: lldb-test object-file %t | FileCheck %s
3
4# CHECK-LABEL: Name: .one
5# CHECK: VM address: 0x0
6
7# CHECK-LABEL: Name: .nonalloc
8# CHECK: VM address: 0x0
9
10# CHECK-LABEL: Name: .two
11# CHECK: VM address: 0x8
12
13# CHECK-LABEL: Name: .three
14# CHECK: VM address: 0xc
15
16# CHECK-LABEL: Name: .four
17# CHECK: VM address: 0xc
18
19# CHECK-LABEL: Name: .five
20# CHECK: VM address: 0x1000
21
22--- !ELF
23FileHeader:
24  Class:           ELFCLASS64
25  Data:            ELFDATA2LSB
26  Type:            ET_REL
27  Machine:         EM_X86_64
28  Entry:           0x00000000000007A0
29Sections:
30  - Name:            .one
31    Type:            SHT_PROGBITS
32    Flags:           [ SHF_ALLOC ]
33    AddressAlign:    0x0000000000000004
34    Content:         DEADBEEFBAADF00D
35  - Name:            .nonalloc
36    Type:            SHT_PROGBITS
37    AddressAlign:    0x0000000000000004
38    Content:         DEADBEEFBAADF00D
39  - Name:            .two
40    Type:            SHT_PROGBITS
41    Flags:           [ SHF_ALLOC ]
42    AddressAlign:    0x0000000000000004
43    Content:         DE
44  - Name:            .three
45    Type:            SHT_PROGBITS
46    Flags:           [ SHF_ALLOC ]
47    AddressAlign:    0x0000000000000004
48  - Name:            .four
49    Type:            SHT_PROGBITS
50    Flags:           [ SHF_ALLOC ]
51    AddressAlign:    0x0000000000000004
52    Content:         DEADBEEFBAADF00D
53  - Name:            .five
54    Type:            SHT_PROGBITS
55    Flags:           [ SHF_ALLOC ]
56    AddressAlign:    0x0000000000001000
57    Content:         DEADBEEFBAADF00D
58...
59