[Dexter][NFC] Add Missing Commands to Commands.md Contents
[llvm-project.git] / lld / test / COFF / Inputs / pdb_lines_2_relative.yaml
blob1b051d82d9a46ba44c88fd74515471391bfe35b5
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:       16
9     SectionData:     C3
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   - Name:            .drectve
19     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
20     Alignment:       1
21     SectionData:     202F44454641554C544C49423A6C6962636D742E6C6962202F44454641554C544C49423A6F6C646E616D65732E6C6962
22   - Name:            '.debug$S'
23     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
24     Alignment:       4
25     SectionData:     04000000F10000002F0000002D003C1100000000D0000700000000000000581B000000000000636C616E672076657273696F6E20372E302E30200000F10000002F0000002900471100000000000000000000000001000000000000000000000002100000000000000000006261720002004F1100F2000000200000000000000000000000010000000000000001000000140000000000000002000000F400000018000000010000001001DF91CB3A2B8D917486574BB50CAC4CC70000F300000014000000002E5C7064625F6C696E65735F322E6300000000
26     Subsections:
27       - !Symbols
28         Records:
29           - Kind:            S_COMPILE3
30             Compile3Sym:
31               Flags:           [  ]
32               Machine:         X64
33               FrontendMajor:   7
34               FrontendMinor:   0
35               FrontendBuild:   0
36               FrontendQFE:     0
37               BackendMajor:    7000
38               BackendMinor:    0
39               BackendBuild:    0
40               BackendQFE:      0
41               Version:         'clang version 7.0.0 '
42       - !Symbols
43         Records:
44           - Kind:            S_GPROC32_ID
45             ProcSym:
46               CodeSize:        1
47               DbgStart:        0
48               DbgEnd:          0
49               FunctionType:    4098
50               Flags:           [  ]
51               DisplayName:     bar
52           - Kind:            S_PROC_ID_END
53             ScopeEndSym:
54       - !Lines
55         CodeSize:        1
56         Flags:           [  ]
57         RelocOffset:     0
58         RelocSegment:    0
59         Blocks:
60           - FileName:        '.\pdb_lines_2.c'
61             Lines:
62               - Offset:          0
63                 LineStart:       2
64                 IsStatement:     false
65                 EndDelta:        0
66             Columns:
67       - !FileChecksums
68         Checksums:
69           - FileName:        '.\pdb_lines_2.c'
70             Kind:            MD5
71             Checksum:        DF91CB3A2B8D917486574BB50CAC4CC7
72       - !StringTable
73         Strings:
74           - '.\pdb_lines_2.c'
75           - ''
76           - ''
77           - ''
78     Relocations:
79       - VirtualAddress:  100
80         SymbolName:      bar
81         Type:            IMAGE_REL_AMD64_SECREL
82       - VirtualAddress:  104
83         SymbolName:      bar
84         Type:            IMAGE_REL_AMD64_SECTION
85       - VirtualAddress:  124
86         SymbolName:      bar
87         Type:            IMAGE_REL_AMD64_SECREL
88       - VirtualAddress:  128
89         SymbolName:      bar
90         Type:            IMAGE_REL_AMD64_SECTION
91   - Name:            '.debug$T'
92     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
93     Alignment:       4
94     SectionData:     0400000006000112000000000E0008100300000000000000001000000E000116000000000110000062617200
95     Types:
96       - Kind:            LF_ARGLIST
97         ArgList:
98           ArgIndices:      [  ]
99       - Kind:            LF_PROCEDURE
100         Procedure:
101           ReturnType:      3
102           CallConv:        NearC
103           Options:         [ None ]
104           ParameterCount:  0
105           ArgumentList:    4096
106       - Kind:            LF_FUNC_ID
107         FuncId:
108           ParentScope:     0
109           FunctionType:    4097
110           Name:            bar
111 symbols:
112   - Name:            .text
113     Value:           0
114     SectionNumber:   1
115     SimpleType:      IMAGE_SYM_TYPE_NULL
116     ComplexType:     IMAGE_SYM_DTYPE_NULL
117     StorageClass:    IMAGE_SYM_CLASS_STATIC
118     SectionDefinition:
119       Length:          1
120       NumberOfRelocations: 0
121       NumberOfLinenumbers: 0
122       CheckSum:        40735498
123       Number:          1
124   - Name:            .data
125     Value:           0
126     SectionNumber:   2
127     SimpleType:      IMAGE_SYM_TYPE_NULL
128     ComplexType:     IMAGE_SYM_DTYPE_NULL
129     StorageClass:    IMAGE_SYM_CLASS_STATIC
130     SectionDefinition:
131       Length:          0
132       NumberOfRelocations: 0
133       NumberOfLinenumbers: 0
134       CheckSum:        0
135       Number:          2
136   - Name:            .bss
137     Value:           0
138     SectionNumber:   3
139     SimpleType:      IMAGE_SYM_TYPE_NULL
140     ComplexType:     IMAGE_SYM_DTYPE_NULL
141     StorageClass:    IMAGE_SYM_CLASS_STATIC
142     SectionDefinition:
143       Length:          0
144       NumberOfRelocations: 0
145       NumberOfLinenumbers: 0
146       CheckSum:        0
147       Number:          3
148   - Name:            .drectve
149     Value:           0
150     SectionNumber:   4
151     SimpleType:      IMAGE_SYM_TYPE_NULL
152     ComplexType:     IMAGE_SYM_DTYPE_NULL
153     StorageClass:    IMAGE_SYM_CLASS_STATIC
154     SectionDefinition:
155       Length:          48
156       NumberOfRelocations: 0
157       NumberOfLinenumbers: 0
158       CheckSum:        149686238
159       Number:          4
160   - Name:            '.debug$S'
161     Value:           0
162     SectionNumber:   5
163     SimpleType:      IMAGE_SYM_TYPE_NULL
164     ComplexType:     IMAGE_SYM_DTYPE_NULL
165     StorageClass:    IMAGE_SYM_CLASS_STATIC
166     SectionDefinition:
167       Length:          216
168       NumberOfRelocations: 4
169       NumberOfLinenumbers: 0
170       CheckSum:        2383431754
171       Number:          5
172   - Name:            '.debug$T'
173     Value:           0
174     SectionNumber:   6
175     SimpleType:      IMAGE_SYM_TYPE_NULL
176     ComplexType:     IMAGE_SYM_DTYPE_NULL
177     StorageClass:    IMAGE_SYM_CLASS_STATIC
178     SectionDefinition:
179       Length:          44
180       NumberOfRelocations: 0
181       NumberOfLinenumbers: 0
182       CheckSum:        179171995
183       Number:          6
184   - Name:            bar
185     Value:           0
186     SectionNumber:   1
187     SimpleType:      IMAGE_SYM_TYPE_NULL
188     ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
189     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL