Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-objcopy / ELF / Inputs / compress-debug-sections.yaml
blob67d8435fa486c180fa0db75eb7f5983b97f81da7
1 --- !ELF
2 FileHeader:
3   Class:           ELFCLASS[[BITS=64]]
4   Data:            ELFDATA2LSB
5   Type:            ET_REL
6   Machine:         EM_X86_64
7 Sections:
8   - Name:            .debug_foo
9     Type:            SHT_PROGBITS
10     Content:         0000000000000000
11   - Name:            .notdebug_foo
12     Type:            SHT_PROGBITS
13     Content:         0000000000000000
14   - Name:            .rela.debug_foo
15     Type:            SHT_RELA
16     Info:            .debug_foo
17     Relocations:
18       - Offset:          0x1
19         Symbol:          1
20         Type:            R_X86_64_32
21       - Offset:          0x2
22         Symbol:          2
23         Type:            R_X86_64_32
24 ## This section should not be involved in relocations.
25   - Name:            .debug_bar
26     Type:            SHT_PROGBITS
27     Content:         0000000000000000
28   - Name:            .group
29     Type:            SHT_GROUP
30     Link:            .symtab
31     AddressAlign:    4
32     EntSize:         0x0000000000000004
33     Info:            groupname
34     Members:
35       - SectionOrType:   GRP_COMDAT
36       - SectionOrType:   .text.in.group
37       - SectionOrType:   .debug_in_group
38   - Name:            .text.in.group
39     Type:            SHT_PROGBITS
40     Flags:           [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ]
41     Content:         '00'
42   - Name:            .debug_in_group
43     Type:            SHT_PROGBITS
44     Flags:           [ SHF_GROUP ]
45     Content:         '00'
46 Symbols:
47   - Type:    STT_SECTION
48     Section: .debug_foo
49     Binding:  STB_GLOBAL
50   - Type:    STT_SECTION
51     Section: .notdebug_foo
52     Binding:  STB_GLOBAL
53   - Name:    .Linfo_string0
54     Section: .debug_bar
55     Binding:  STB_GLOBAL
56   - Name:    groupname
57     Section: .group
58     Binding:  STB_GLOBAL
59 ...