summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/Inputs/compress-debug-sections.yaml
blob: a3c607cc72bca8516d3ebe309b2738a5ccc8ff83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- !ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64
Sections:
  - Name:            .debug_foo
    Type:            SHT_PROGBITS
    Content:         0000000000000000
  - Name:            .notdebug_foo
    Type:            SHT_PROGBITS
    Content:         0000000000000000
  - Name:            .rela.debug_foo
    Type:            SHT_RELA
    Info:            .debug_foo
    Relocations:
      - Offset:          0x1
        Symbol:          .debug_foo
        Type:            R_X86_64_32
      - Offset:          0x2
        Symbol:          .notdebug_foo
        Type:            R_X86_64_32
## This section should not be involved in relocations.
  - Name:            .debug_bar
    Type:            SHT_PROGBITS
    Content:         0000000000000000
Symbols:
  Global:
    - Name:    .debug_foo
      Type:    STT_SECTION
      Section: .debug_foo
    - Name:    .notdebug_foo
      Type:    STT_SECTION
      Section: .notdebug_foo
    - Name:    .Linfo_string0
      Section: .debug_bar
...
OpenPOWER on IntegriCloud