Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-ar / Inputs / coff.yaml
blob4fc1211dcf5b5b99d6a23fdf880300873882247b
1 --- !COFF
2 header:
3   Machine:         IMAGE_FILE_MACHINE_AMD64
4   Characteristics: [  ]
5 sections:
6   - Name:            .text
7     Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
8     Alignment:       4
9     SectionData:     ''
10   - Name:            .data
11     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
12     Alignment:       4
13     SectionData:     ''
14   - Name:            .bss
15     Characteristics: [ IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
16     Alignment:       4
17     SectionData:     ''
18 symbols:
19   - Name:            .text
20     Value:           0
21     SectionNumber:   1
22     SimpleType:      IMAGE_SYM_TYPE_NULL
23     ComplexType:     IMAGE_SYM_DTYPE_NULL
24     StorageClass:    IMAGE_SYM_CLASS_STATIC
25     SectionDefinition:
26       Length:          0
27       NumberOfRelocations: 0
28       NumberOfLinenumbers: 0
29       CheckSum:        0
30       Number:          1
31   - Name:            .data
32     Value:           0
33     SectionNumber:   2
34     SimpleType:      IMAGE_SYM_TYPE_NULL
35     ComplexType:     IMAGE_SYM_DTYPE_NULL
36     StorageClass:    IMAGE_SYM_CLASS_STATIC
37     SectionDefinition:
38       Length:          0
39       NumberOfRelocations: 0
40       NumberOfLinenumbers: 0
41       CheckSum:        0
42       Number:          2
43   - Name:            .bss
44     Value:           0
45     SectionNumber:   3
46     SimpleType:      IMAGE_SYM_TYPE_NULL
47     ComplexType:     IMAGE_SYM_DTYPE_NULL
48     StorageClass:    IMAGE_SYM_CLASS_STATIC
49     SectionDefinition:
50       Length:          0
51       NumberOfRelocations: 0
52       NumberOfLinenumbers: 0
53       CheckSum:        0
54       Number:          3
55 ...