[llvm-dlltool] Respect NONAME keyword
[llvm-complete.git] / test / tools / obj2yaml / section-type.yaml
blobca054ebcd62b6376a368e77f373cc7a45450c8b4
1 # RUN: yaml2obj %s -o %t
2 # RUN: obj2yaml %t | FileCheck %s
4 # CHECK:      Sections:
5 # CHECK-NEXT:   - Name: known_type
6 # CHECK-NEXT:     Type: SHT_PROGBITS
7 # CHECK:        - Name: unknown_type
8 # CHECK-NEXT:     Type: 0x0000ABCD
9 # CHECK:        - Name: machine_specific
10 # CHECK-NEXT:     Type: SHT_X86_64_UNWIND
11 # CHECK:        - Name: unknown_machine_specific
12 # CHECK-NEXT:     Type: 0x70000000
14 --- !ELF
15 FileHeader:
16   Class:   ELFCLASS64
17   Data:    ELFDATA2LSB
18   Type:    ET_REL
19   Machine: EM_X86_64
20 Sections:
21   - Name:  known_type
22     Type:  SHT_PROGBITS
23   - Name:  unknown_type
24     Type:  0xabcd
25   - Name:  machine_specific
26     Type:  SHT_X86_64_UNWIND
27   - Name:  unknown_machine_specific
28     Type:  0x70000000