Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / Inputs / pdb2.yaml
blob6507951533644200e6a6630521ef5585f5181a26
1 --- !COFF
2 header:
3   Machine:         IMAGE_FILE_MACHINE_AMD64
4   Characteristics: [  ]
5 sections:
6   - Name:            .drectve
7     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
8     Alignment:       1
9     SectionData:     2020202F44454641554C544C49423A224C4942434D5422202F44454641554C544C49423A224F4C444E414D45532220
10   - Name:            '.debug$S'
11     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
12     Alignment:       1
13     Subsections:
14       - !Symbols
15         Records:
16           - Kind:            S_OBJNAME
17             ObjNameSym:
18               Signature:       0
19               ObjectName:      'D:\b\ret42-sub.obj'
20           - Kind:            S_COMPILE3
21             Compile3Sym:
22               Flags:           [ SecurityChecks, HotPatch ]
23               Machine:         X64
24               FrontendMajor:   19
25               FrontendMinor:   0
26               FrontendBuild:   23026
27               FrontendQFE:     0
28               BackendMajor:    19
29               BackendMinor:    0
30               BackendBuild:    23026
31               BackendQFE:      0
32               Version:         'Microsoft (R) Optimizing Compiler'
33       - !Symbols
34         Records:
35           - Kind:            S_GPROC32_ID
36             ProcSym:
37               PtrParent:       0
38               PtrEnd:          0
39               PtrNext:         0
40               CodeSize:        6
41               DbgStart:        0
42               DbgEnd:          5
43               FunctionType:    4098
44               Segment:         0
45               Flags:           [  ]
46               DisplayName:     foo
47           - Kind:            S_FRAMEPROC
48             FrameProcSym:
49               TotalFrameBytes: 0
50               PaddingFrameBytes: 0
51               OffsetToPadding: 0
52               BytesOfCalleeSavedRegisters: 0
53               OffsetOfExceptionHandler: 0
54               SectionIdOfExceptionHandler: 0
55               Flags:           [ AsynchronousExceptionHandling, OptimizedForSpeed ]
56           - Kind:            S_PROC_ID_END
57             ScopeEndSym:
58       - !Lines
59         CodeSize:        6
60         Flags:           [  ]
61         RelocOffset:     0
62         RelocSegment:    0
63         Blocks:
64           - FileName:        'd:\b\ret42-sub.c'
65             Lines:
66               - Offset:          0
67                 LineStart:       1
68                 IsStatement:     true
69                 EndDelta:        0
70             Columns:
71       - !FileChecksums
72         Checksums:
73           - FileName:        'd:\b\ret42-sub.c'
74             Kind:            MD5
75             Checksum:        EC2D89EFF5A1FEB6B74EE4D79074072F
76       - !StringTable
77         Strings:
78           - 'd:\b\ret42-sub.c'
79       - !Symbols
80         Records:
81           - Kind:            S_BUILDINFO
82             BuildInfoSym:
83               BuildId:         4106
84     Relocations:
85       - VirtualAddress:  140
86         SymbolName:      foo
87         Type:            IMAGE_REL_AMD64_SECREL
88       - VirtualAddress:  144
89         SymbolName:      foo
90         Type:            IMAGE_REL_AMD64_SECTION
91       - VirtualAddress:  196
92         SymbolName:      foo
93         Type:            IMAGE_REL_AMD64_SECREL
94       - VirtualAddress:  200
95         SymbolName:      foo
96         Type:            IMAGE_REL_AMD64_SECTION
97   - Name:            '.debug$T'
98     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
99     Alignment:       1
100     Types:
101       - Kind:            LF_ARGLIST
102         ArgList:
103           ArgIndices:      [  ]
104       - Kind:            LF_PROCEDURE
105         Procedure:
106           ReturnType:      116
107           CallConv:        NearC
108           Options:         [ None ]
109           ParameterCount:  0
110           ArgumentList:    4096
111       - Kind:            LF_FUNC_ID
112         FuncId:
113           ParentScope:     0
114           FunctionType:    4097
115           Name:            foo
116       - Kind:            LF_STRING_ID
117         StringId:
118           Id:              0
119           String:          'D:\b'
120       - Kind:            LF_STRING_ID
121         StringId:
122           Id:              0
123           String:          'C:\vs14\VC\BIN\amd64\cl.exe'
124       - Kind:            LF_STRING_ID
125         StringId:
126           Id:              0
127           String:          '-Z7 -c -MT -IC:\vs14\VC\INCLUDE -IC:\vs14\VC\ATLMFC\INCLUDE -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\shared"'
128       - Kind:            LF_SUBSTR_LIST
129         StringList:
130           StringIndices:   [ 4101 ]
131       - Kind:            LF_STRING_ID
132         StringId:
133           Id:              4102
134           String:          ' -I"C:\Program Files (x86)\Windows Kits\8.1\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\winrt" -TC -X'
135       - Kind:            LF_STRING_ID
136         StringId:
137           Id:              0
138           String:          ret42-sub.c
139       - Kind:            LF_STRING_ID
140         StringId:
141           Id:              0
142           String:          'D:\b\vc140.pdb'
143       - Kind:            LF_BUILDINFO
144         BuildInfo:
145           ArgIndices:      [ 4099, 4100, 4104, 4105, 4103 ]
146   - Name:            '.text$mn'
147     Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
148     Alignment:       16
149     SectionData:     B82A000000C3
150 symbols:
151   - Name:            '@comp.id'
152     Value:           17062386
153     SectionNumber:   -1
154     SimpleType:      IMAGE_SYM_TYPE_NULL
155     ComplexType:     IMAGE_SYM_DTYPE_NULL
156     StorageClass:    IMAGE_SYM_CLASS_STATIC
157   - Name:            '@feat.00'
158     Value:           2147484048
159     SectionNumber:   -1
160     SimpleType:      IMAGE_SYM_TYPE_NULL
161     ComplexType:     IMAGE_SYM_DTYPE_NULL
162     StorageClass:    IMAGE_SYM_CLASS_STATIC
163   - Name:            .drectve
164     Value:           0
165     SectionNumber:   1
166     SimpleType:      IMAGE_SYM_TYPE_NULL
167     ComplexType:     IMAGE_SYM_DTYPE_NULL
168     StorageClass:    IMAGE_SYM_CLASS_STATIC
169     SectionDefinition:
170       Length:          47
171       NumberOfRelocations: 0
172       NumberOfLinenumbers: 0
173       CheckSum:        0
174       Number:          0
175   - Name:            '.debug$S'
176     Value:           0
177     SectionNumber:   2
178     SimpleType:      IMAGE_SYM_TYPE_NULL
179     ComplexType:     IMAGE_SYM_DTYPE_NULL
180     StorageClass:    IMAGE_SYM_CLASS_STATIC
181     SectionDefinition:
182       Length:          304
183       NumberOfRelocations: 4
184       NumberOfLinenumbers: 0
185       CheckSum:        0
186       Number:          0
187   - Name:            '.debug$T'
188     Value:           0
189     SectionNumber:   3
190     SimpleType:      IMAGE_SYM_TYPE_NULL
191     ComplexType:     IMAGE_SYM_DTYPE_NULL
192     StorageClass:    IMAGE_SYM_CLASS_STATIC
193     SectionDefinition:
194       Length:          572
195       NumberOfRelocations: 0
196       NumberOfLinenumbers: 0
197       CheckSum:        0
198       Number:          0
199   - Name:            '.text$mn'
200     Value:           0
201     SectionNumber:   4
202     SimpleType:      IMAGE_SYM_TYPE_NULL
203     ComplexType:     IMAGE_SYM_DTYPE_NULL
204     StorageClass:    IMAGE_SYM_CLASS_STATIC
205     SectionDefinition:
206       Length:          6
207       NumberOfRelocations: 0
208       NumberOfLinenumbers: 0
209       CheckSum:        2139436471
210       Number:          0
211   - Name:            foo
212     Value:           0
213     SectionNumber:   4
214     SimpleType:      IMAGE_SYM_TYPE_NULL
215     ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
216     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL