[GISel] Add generic implementation for @llvm.expect.with.probability when optimizatio...
[llvm-project.git] / lld / test / COFF / Inputs / pdb-hashes-2.yaml
blob51ea512f1aa4bed702aeb84a96784ef203ea1b1c
1 --- !COFF
2 header:          
3   Machine:         IMAGE_FILE_MACHINE_I386
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:     5589E5508B45088B4D088B09C1E1018945FC89C883C4045DC3
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:     04000000F10000002F0000002D003C110100000007000700000000000000581B000000000000636C616E672076657273696F6E20372E302E30200000F5000000640000000000000000000000190000000000000004000000000000002B000000040000000400000001000000180000000000000004000000000000005800000003000400000000000300000016000000000000000400000000000000960000000100040000000000F1000000540000002E0047110000000000000000000000001900000000000000000000000D100000000000000000004E533A3A66756E63000A003E110310000001006600120045111600000008000000070000000000120002004F11F20000002800000000000000000000001900000000000000020000001C00000000000000030000000700000004000000F1000000100000000E0008110A1000004E533A3A466F6F00F40000001800000001000000100159DFAC75D18675AED1AD169FE316317E0000F3000000D400000000443A5C7372635C6C6C766D6275696C645C636C616E675C44656275675C7838365C6F626A322E63707000245430202E7261536561726368203D202465697020245430205E203D2024657370202454302034202B203D2000245430202E7261536561726368203D202465697020245430205E203D2024657370202454302034202B203D2024656270202454302034202D205E203D200024543020246562702034202B203D202465697020245430205E203D2024657370202454302034202B203D2024656270202454302034202D205E203D200000
26     Subsections:     
27       - !Symbols
28         Records:         
29           - Kind:            S_COMPILE3
30             Compile3Sym:     
31               Flags:           [  ]
32               Machine:         Pentium3
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       - !FrameData
43         Frames:          
44           - CodeSize:        25
45             FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = '
46             LocalSize:       0
47             MaxStackSize:    0
48             ParamsSize:      4
49             PrologSize:      4
50             RvaStart:        0
51             SavedRegsSize:   0
52           - CodeSize:        24
53             FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
54             LocalSize:       0
55             MaxStackSize:    0
56             ParamsSize:      4
57             PrologSize:      3
58             RvaStart:        1
59             SavedRegsSize:   4
60           - CodeSize:        22
61             FrameFunc:       '$T0 $ebp 4 + = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
62             LocalSize:       0
63             MaxStackSize:    0
64             ParamsSize:      4
65             PrologSize:      1
66             RvaStart:        3
67             SavedRegsSize:   4
68       - !Symbols
69         Records:         
70           - Kind:            S_GPROC32_ID
71             ProcSym:         
72               CodeSize:        25
73               DbgStart:        0
74               DbgEnd:          0
75               FunctionType:    4109
76               Flags:           [  ]
77               DisplayName:     'NS::func'
78           - Kind:            S_LOCAL
79             LocalSym:        
80               Type:            4099
81               Flags:           [ IsParameter ]
82               VarName:         f
83           - Kind:            S_DEFRANGE_REGISTER_REL
84             DefRangeRegisterRelSym: 
85               Register:        22
86               Flags:           0
87               BasePointerOffset: 8
88               Range:           
89                 OffsetStart:     7
90                 ISectStart:      0
91                 Range:           18
92               Gaps:            
93           - Kind:            S_PROC_ID_END
94             ScopeEndSym:     
95       - !Lines
96         CodeSize:        25
97         Flags:           [  ]
98         RelocOffset:     0
99         RelocSegment:    0
100         Blocks:          
101           - FileName:        'D:\src\llvmbuild\clang\Debug\x86\obj2.cpp'
102             Lines:           
103               - Offset:          0
104                 LineStart:       3
105                 IsStatement:     false
106                 EndDelta:        0
107               - Offset:          7
108                 LineStart:       4
109                 IsStatement:     false
110                 EndDelta:        0
111             Columns:         
112       - !Symbols
113         Records:         
114           - Kind:            S_UDT
115             UDTSym:          
116               Type:            4106
117               UDTName:         'NS::Foo'
118       - !FileChecksums
119         Checksums:       
120           - FileName:        'D:\src\llvmbuild\clang\Debug\x86\obj2.cpp'
121             Kind:            MD5
122             Checksum:        59DFAC75D18675AED1AD169FE316317E
123       - !StringTable
124         Strings:         
125           - 'D:\src\llvmbuild\clang\Debug\x86\obj2.cpp'
126           - '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = '
127           - '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
128           - '$T0 $ebp 4 + = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
129           - ''
130     Relocations:     
131       - VirtualAddress:  68
132         SymbolName:      '?func@NS@@YAHABUFoo@1@@Z'
133         Type:            IMAGE_REL_I386_DIR32NB
134       - VirtualAddress:  208
135         SymbolName:      '?func@NS@@YAHABUFoo@1@@Z'
136         Type:            IMAGE_REL_I386_SECREL
137       - VirtualAddress:  212
138         SymbolName:      '?func@NS@@YAHABUFoo@1@@Z'
139         Type:            IMAGE_REL_I386_SECTION
140       - VirtualAddress:  248
141         SymbolName:      .text
142         Type:            IMAGE_REL_I386_SECREL
143       - VirtualAddress:  252
144         SymbolName:      .text
145         Type:            IMAGE_REL_I386_SECTION
146       - VirtualAddress:  268
147         SymbolName:      '?func@NS@@YAHABUFoo@1@@Z'
148         Type:            IMAGE_REL_I386_SECREL
149       - VirtualAddress:  272
150         SymbolName:      '?func@NS@@YAHABUFoo@1@@Z'
151         Type:            IMAGE_REL_I386_SECTION
152   - Name:            '.debug$T'
153     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
154     Alignment:       4
155     SectionData:     040000000A000516000000004E5300F12A0005150000800200000000000000000000000000004E533A3A466F6F002E3F4155466F6F404E53404000F10A000110011000000100F2F10A000210021000002A8000000A00011201000000031000000E0008107400000000000100041000000A000210011000000A8000000A00011201000000740000001A0009100300000001100000061000000B00010007100000000000001A0003120D15030074000000000058001115030008100000466F6F002A0005150200000209100000000000000000000004004E533A3A466F6F002E3F4155466F6F404E53404000F12E00051600000000443A5C7372635C6C6C766D6275696C645C636C616E675C44656275675C7838365C6F626A2E6800F10E0006160A1000000B1000000200000012000116001000000510000066756E6300F3F2F1
156     Types:           
157       - Kind:            LF_STRING_ID
158         StringId:        
159           Id:              0
160           String:          NS
161       - Kind:            LF_STRUCTURE
162         Class:           
163           MemberCount:     0
164           Options:         [ None, ForwardReference, HasUniqueName ]
165           FieldList:       0
166           Name:            'NS::Foo'
167           UniqueName:      '.?AUFoo@NS@@'
168           DerivationList:  0
169           VTableShape:     0
170           Size:            0
171       - Kind:            LF_MODIFIER
172         Modifier:        
173           ModifiedType:    4097
174           Modifiers:       [ None, Const ]
175       - Kind:            LF_POINTER
176         Pointer:         
177           ReferentType:    4098
178           Attrs:           32810
179       - Kind:            LF_ARGLIST
180         ArgList:         
181           ArgIndices:      [ 4099 ]
182       - Kind:            LF_PROCEDURE
183         Procedure:       
184           ReturnType:      116
185           CallConv:        NearC
186           Options:         [ None ]
187           ParameterCount:  1
188           ArgumentList:    4100
189       - Kind:            LF_POINTER
190         Pointer:         
191           ReferentType:    4097
192           Attrs:           32778
193       - Kind:            LF_ARGLIST
194         ArgList:         
195           ArgIndices:      [ 116 ]
196       - Kind:            LF_MFUNCTION
197         MemberFunction:  
198           ReturnType:      3
199           ClassType:       4097
200           ThisType:        4102
201           CallConv:        ThisCall
202           Options:         [ None ]
203           ParameterCount:  1
204           ArgumentList:    4103
205           ThisPointerAdjustment: 0
206       - Kind:            LF_FIELDLIST
207         FieldList:       
208           - Kind:            LF_MEMBER
209             DataMember:      
210               Attrs:           3
211               Type:            116
212               FieldOffset:     0
213               Name:            X
214           - Kind:            LF_ONEMETHOD
215             OneMethod:       
216               Type:            4104
217               Attrs:           3
218               VFTableOffset:   -1
219               Name:            Foo
220       - Kind:            LF_STRUCTURE
221         Class:           
222           MemberCount:     2
223           Options:         [ None, HasUniqueName ]
224           FieldList:       4105
225           Name:            'NS::Foo'
226           UniqueName:      '.?AUFoo@NS@@'
227           DerivationList:  0
228           VTableShape:     0
229           Size:            4
230       - Kind:            LF_STRING_ID
231         StringId:        
232           Id:              0
233           String:          'D:\src\llvmbuild\clang\Debug\x86\obj.h'
234       - Kind:            LF_UDT_SRC_LINE
235         UdtSourceLine:   
236           UDT:             4106
237           SourceFile:      4107
238           LineNumber:      2
239       - Kind:            LF_FUNC_ID
240         FuncId:          
241           ParentScope:     4096
242           FunctionType:    4101
243           Name:            func
244   - Name:            '.debug$H'
245     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
246     Alignment:       4
247     SectionData:     C5C93301000001004A061540B751965F23ADA4E788EB7A9032673B3BABE3CA5356B1521BDAE4BEA70661C95750D0206E896FB09488EE8E1BB5DECADF1A832BA46632585CDC7606E4B97B86241E5F45B0BCD2406E22465E11A528BEF0A7F589C76079F1186C40C2165091EFEBD5B5446B5AAD8721C21DF3E6
248     GlobalHashes:    
249       Version:         0
250       HashAlgorithm:   1
251       HashValues:      
252         - 4A061540B751965F
253         - 23ADA4E788EB7A90
254         - 32673B3BABE3CA53
255         - 56B1521BDAE4BEA7
256         - 0661C95750D0206E
257         - 896FB09488EE8E1B
258         - B5DECADF1A832BA4
259         - 6632585CDC7606E4
260         - B97B86241E5F45B0
261         - BCD2406E22465E11
262         - A528BEF0A7F589C7
263         - 6079F1186C40C216
264         - 5091EFEBD5B5446B
265         - 5AAD8721C21DF3E6
266 symbols:         
267   - Name:            .text
268     Value:           0
269     SectionNumber:   1
270     SimpleType:      IMAGE_SYM_TYPE_NULL
271     ComplexType:     IMAGE_SYM_DTYPE_NULL
272     StorageClass:    IMAGE_SYM_CLASS_STATIC
273     SectionDefinition: 
274       Length:          25
275       NumberOfRelocations: 0
276       NumberOfLinenumbers: 0
277       CheckSum:        1820185021
278       Number:          1
279   - Name:            .data
280     Value:           0
281     SectionNumber:   2
282     SimpleType:      IMAGE_SYM_TYPE_NULL
283     ComplexType:     IMAGE_SYM_DTYPE_NULL
284     StorageClass:    IMAGE_SYM_CLASS_STATIC
285     SectionDefinition: 
286       Length:          0
287       NumberOfRelocations: 0
288       NumberOfLinenumbers: 0
289       CheckSum:        0
290       Number:          2
291   - Name:            .bss
292     Value:           0
293     SectionNumber:   3
294     SimpleType:      IMAGE_SYM_TYPE_NULL
295     ComplexType:     IMAGE_SYM_DTYPE_NULL
296     StorageClass:    IMAGE_SYM_CLASS_STATIC
297     SectionDefinition: 
298       Length:          0
299       NumberOfRelocations: 0
300       NumberOfLinenumbers: 0
301       CheckSum:        0
302       Number:          3
303   - Name:            .drectve
304     Value:           0
305     SectionNumber:   4
306     SimpleType:      IMAGE_SYM_TYPE_NULL
307     ComplexType:     IMAGE_SYM_DTYPE_NULL
308     StorageClass:    IMAGE_SYM_CLASS_STATIC
309     SectionDefinition: 
310       Length:          48
311       NumberOfRelocations: 0
312       NumberOfLinenumbers: 0
313       CheckSum:        149686238
314       Number:          4
315   - Name:            '.debug$S'
316     Value:           0
317     SectionNumber:   5
318     SimpleType:      IMAGE_SYM_TYPE_NULL
319     ComplexType:     IMAGE_SYM_DTYPE_NULL
320     StorageClass:    IMAGE_SYM_CLASS_STATIC
321     SectionDefinition: 
322       Length:          584
323       NumberOfRelocations: 7
324       NumberOfLinenumbers: 0
325       CheckSum:        917356735
326       Number:          5
327   - Name:            '.debug$T'
328     Value:           0
329     SectionNumber:   6
330     SimpleType:      IMAGE_SYM_TYPE_NULL
331     ComplexType:     IMAGE_SYM_DTYPE_NULL
332     StorageClass:    IMAGE_SYM_CLASS_STATIC
333     SectionDefinition: 
334       Length:          320
335       NumberOfRelocations: 0
336       NumberOfLinenumbers: 0
337       CheckSum:        2684556216
338       Number:          6
339   - Name:            '.debug$H'
340     Value:           0
341     SectionNumber:   7
342     SimpleType:      IMAGE_SYM_TYPE_NULL
343     ComplexType:     IMAGE_SYM_DTYPE_NULL
344     StorageClass:    IMAGE_SYM_CLASS_STATIC
345     SectionDefinition: 
346       Length:          120
347       NumberOfRelocations: 0
348       NumberOfLinenumbers: 0
349       CheckSum:        358820662
350       Number:          7
351   - Name:            '@feat.00'
352     Value:           1
353     SectionNumber:   -1
354     SimpleType:      IMAGE_SYM_TYPE_NULL
355     ComplexType:     IMAGE_SYM_DTYPE_NULL
356     StorageClass:    IMAGE_SYM_CLASS_STATIC
357   - Name:            '?func@NS@@YAHABUFoo@1@@Z'
358     Value:           0
359     SectionNumber:   1
360     SimpleType:      IMAGE_SYM_TYPE_NULL
361     ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
362     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL