reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    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
# RUN: yaml2obj %s -o %t
# RUN: obj2yaml %t | FileCheck %s

# CHECK:      Sections:
# CHECK-NEXT:   - Name: known_type
# CHECK-NEXT:     Type: SHT_PROGBITS
# CHECK:        - Name: unknown_type
# CHECK-NEXT:     Type: 0x0000ABCD
# CHECK:        - Name: machine_specific
# CHECK-NEXT:     Type: SHT_X86_64_UNWIND
# CHECK:        - Name: unknown_machine_specific
# CHECK-NEXT:     Type: 0x70000000

--- !ELF
FileHeader:
  Class:   ELFCLASS64
  Data:    ELFDATA2LSB
  Type:    ET_REL
  Machine: EM_X86_64
Sections:
  - Name:  known_type
    Type:  SHT_PROGBITS
  - Name:  unknown_type
    Type:  0xabcd
  - Name:  machine_specific
    Type:  SHT_X86_64_UNWIND
  - Name:  unknown_machine_specific
    Type:  0x70000000