Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / Inputs / pdb_lines_2.yaml
blob8026c19c91d432a53a9028a841dacb1b62577153
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:      'C:\src\llvm-project\build\pdb_lines_2.obj'
20           - Kind:            S_COMPILE3
21             Compile3Sym:
22               Flags:           [ SecurityChecks, HotPatch ]
23               Machine:         X64
24               FrontendMajor:   19
25               FrontendMinor:   0
26               FrontendBuild:   24215
27               FrontendQFE:     1
28               BackendMajor:    19
29               BackendMinor:    0
30               BackendBuild:    24215
31               BackendQFE:      1
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:        1
41               DbgStart:        0
42               DbgEnd:          0
43               FunctionType:    4098
44               Segment:         0
45               Flags:           [  ]
46               DisplayName:     bar
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:        1
60         Flags:           [  ]
61         RelocOffset:     0
62         RelocSegment:    0
63         Blocks:
64           - FileName:        'c:\src\llvm-project\build\pdb_lines_2.c'
65             Lines:
66               - Offset:          0
67                 LineStart:       1
68                 IsStatement:     true
69                 EndDelta:        0
70               - Offset:          0
71                 LineStart:       2
72                 IsStatement:     true
73                 EndDelta:        0
74             Columns:
75       - !FileChecksums
76         Checksums:
77           - FileName:        'c:\src\llvm-project\build\pdb_lines_2.c'
78             Kind:            MD5
79             Checksum:        DF91CB3A2B8D917486574BB50CAC4CC7
80       - !StringTable
81         Strings:
82           - 'c:\src\llvm-project\build\pdb_lines_2.c'
83       - !Symbols
84         Records:
85           - Kind:            S_BUILDINFO
86             BuildInfoSym:
87               BuildId:         4106
88     Relocations:
89       - VirtualAddress:  164
90         SymbolName:      bar
91         Type:            IMAGE_REL_AMD64_SECREL
92       - VirtualAddress:  168
93         SymbolName:      bar
94         Type:            IMAGE_REL_AMD64_SECTION
95       - VirtualAddress:  220
96         SymbolName:      bar
97         Type:            IMAGE_REL_AMD64_SECREL
98       - VirtualAddress:  224
99         SymbolName:      bar
100         Type:            IMAGE_REL_AMD64_SECTION
101   - Name:            '.debug$T'
102     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
103     Alignment:       1
104     Types:
105       - Kind:            LF_ARGLIST
106         ArgList:
107           ArgIndices:      [  ]
108       - Kind:            LF_PROCEDURE
109         Procedure:
110           ReturnType:      3
111           CallConv:        NearC
112           Options:         [ None ]
113           ParameterCount:  0
114           ArgumentList:    4096
115       - Kind:            LF_FUNC_ID
116         FuncId:
117           ParentScope:     0
118           FunctionType:    4097
119           Name:            bar
120       - Kind:            LF_STRING_ID
121         StringId:
122           Id:              0
123           String:          'C:\src\llvm-project\build'
124       - Kind:            LF_STRING_ID
125         StringId:
126           Id:              0
127           String:          'C:\PROGRA~2\MICROS~1.0\VC\Bin\amd64\cl.exe'
128       - Kind:            LF_STRING_ID
129         StringId:
130           Id:              0
131           String:          '-c -Z7 -MT -IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\ucrt -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\shared -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\um'
132       - Kind:            LF_SUBSTR_LIST
133         StringList:
134           StringIndices:   [ 4101 ]
135       - Kind:            LF_STRING_ID
136         StringId:
137           Id:              4102
138           String:          ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X'
139       - Kind:            LF_STRING_ID
140         StringId:
141           Id:              0
142           String:          pdb_lines_2.c
143       - Kind:            LF_STRING_ID
144         StringId:
145           Id:              0
146           String:          'C:\src\llvm-project\build\vc140.pdb'
147       - Kind:            LF_BUILDINFO
148         BuildInfo:
149           ArgIndices:      [ 4099, 4100, 4104, 4105, 4103 ]
150   - Name:            '.text$mn'
151     Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
152     Alignment:       16
153     SectionData:     C3
154 symbols:
155   - Name:            .drectve
156     Value:           0
157     SectionNumber:   1
158     SimpleType:      IMAGE_SYM_TYPE_NULL
159     ComplexType:     IMAGE_SYM_DTYPE_NULL
160     StorageClass:    IMAGE_SYM_CLASS_STATIC
161     SectionDefinition:
162       Length:          47
163       NumberOfRelocations: 0
164       NumberOfLinenumbers: 0
165       CheckSum:        0
166       Number:          0
167   - Name:            '.debug$S'
168     Value:           0
169     SectionNumber:   2
170     SimpleType:      IMAGE_SYM_TYPE_NULL
171     ComplexType:     IMAGE_SYM_DTYPE_NULL
172     StorageClass:    IMAGE_SYM_CLASS_STATIC
173     SectionDefinition:
174       Length:          360
175       NumberOfRelocations: 4
176       NumberOfLinenumbers: 0
177       CheckSum:        0
178       Number:          0
179   - Name:            '.debug$T'
180     Value:           0
181     SectionNumber:   3
182     SimpleType:      IMAGE_SYM_TYPE_NULL
183     ComplexType:     IMAGE_SYM_DTYPE_NULL
184     StorageClass:    IMAGE_SYM_CLASS_STATIC
185     SectionDefinition:
186       Length:          568
187       NumberOfRelocations: 0
188       NumberOfLinenumbers: 0
189       CheckSum:        0
190       Number:          0
191   - Name:            '.text$mn'
192     Value:           0
193     SectionNumber:   4
194     SimpleType:      IMAGE_SYM_TYPE_NULL
195     ComplexType:     IMAGE_SYM_DTYPE_NULL
196     StorageClass:    IMAGE_SYM_CLASS_STATIC
197     SectionDefinition:
198       Length:          1
199       NumberOfRelocations: 0
200       NumberOfLinenumbers: 0
201       CheckSum:        40735498
202       Number:          0
203   - Name:            bar
204     Value:           0
205     SectionNumber:   4
206     SimpleType:      IMAGE_SYM_TYPE_NULL
207     ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
208     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL