Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / Inputs / pdb_lines_2_relative.yaml
blob71ce5d63f508707e84c95a60cc0b41cfb0bce142
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     SizeOfRawData:   0
19   - Name:            .drectve
20     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
21     Alignment:       1
22     SectionData:     202F44454641554C544C49423A6C6962636D742E6C6962202F44454641554C544C49423A6F6C646E616D65732E6C6962
23   - Name:            '.debug$S'
24     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
25     Alignment:       4
26     Subsections:
27       - !Symbols
28         Records:
29           - Kind:            S_COMPILE3
30             Compile3Sym:
31               Flags:           [  ]
32               Machine:         X64
33               FrontendMajor:   11
34               FrontendMinor:   0
35               FrontendBuild:   0
36               FrontendQFE:     0
37               BackendMajor:    11000
38               BackendMinor:    0
39               BackendBuild:    0
40               BackendQFE:      0
41               Version:         'clang version 11.0.0 (https://github.com/llvm/llvm-project.git 77dad72eae974338ddc13d74783c012ccbb8c5ac)'
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_FRAMEPROC
53             FrameProcSym:
54               TotalFrameBytes: 0
55               PaddingFrameBytes: 0
56               OffsetToPadding: 0
57               BytesOfCalleeSavedRegisters: 0
58               OffsetOfExceptionHandler: 0
59               SectionIdOfExceptionHandler: 0
60               Flags:           [  ]
61           - Kind:            S_PROC_ID_END
62             ScopeEndSym:     {}
63       - !Lines
64         CodeSize:        1
65         Flags:           [  ]
66         RelocOffset:     0
67         RelocSegment:    0
68         Blocks:
69           - FileName:        '.\pdb_lines_2.c'
70             Lines:
71               - Offset:          0
72                 LineStart:       2
73                 IsStatement:     false
74                 EndDelta:        0
75             Columns:         []
76       - !FileChecksums
77         Checksums:
78           - FileName:        '.\pdb_lines_2.c'
79             Kind:            MD5
80             Checksum:        4CC58B73BFD5AB52F87CFB3C604BB288
81       - !StringTable
82         Strings:
83           - '.\pdb_lines_2.c'
84           - ''
85           - ''
86           - ''
87       - !Symbols
88         Records:
89           - Kind:            S_BUILDINFO
90             BuildInfoSym:
91               BuildId:         4103
92     Relocations:
93       - VirtualAddress:  184
94         SymbolName:      bar
95         Type:            IMAGE_REL_AMD64_SECREL
96       - VirtualAddress:  188
97         SymbolName:      bar
98         Type:            IMAGE_REL_AMD64_SECTION
99       - VirtualAddress:  240
100         SymbolName:      bar
101         Type:            IMAGE_REL_AMD64_SECREL
102       - VirtualAddress:  244
103         SymbolName:      bar
104         Type:            IMAGE_REL_AMD64_SECTION
105   - Name:            '.debug$T'
106     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
107     Alignment:       4
108     Types:
109       - Kind:            LF_ARGLIST
110         ArgList:
111           ArgIndices:      [  ]
112       - Kind:            LF_PROCEDURE
113         Procedure:
114           ReturnType:      3
115           CallConv:        NearC
116           Options:         [ None ]
117           ParameterCount:  0
118           ArgumentList:    4096
119       - Kind:            LF_FUNC_ID
120         FuncId:
121           ParentScope:     0
122           FunctionType:    4097
123           Name:            bar
124       - Kind:            LF_STRING_ID
125         StringId:
126           Id:              0
127           String:          .
128       - Kind:            LF_STRING_ID
129         StringId:
130           Id:              0
131           String:          pdb_lines_2.c
132       - Kind:            LF_STRING_ID
133         StringId:
134           Id:              0
135           String:          'buildninjaRel\bin\clang-cl.exe'
136       - Kind:            LF_STRING_ID
137         StringId:
138           Id:              0
139           String:          '"-cc1" "-triple" "x86_64-pc-windows-msvc19.26.28806" "-emit-obj" "-mrelax-all" "-mincremental-linker-compatible" "-disable-free" "-main-file-name" "pdb_lines_2.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mframe-pointer=none" "-relaxed-aliasing" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-munwind-tables" "-target-cpu" "x86-64" "-mllvm" "-x86-asm-syntax=intel" "-D_MT" "-flto-visibility-public-std" "--dependent-lib=libcmt" "--dependent-lib=oldnames" "-stack-protector" "2" "-fms-volatile" "-fdiagnostics-format" "msvc" "-gcodeview" "-debug-info-kind=limited" "-resource-dir" "D:\\llvm-project\\buildninjaRel\\lib\\clang\\11.0.0" "-internal-isystem" "D:\\llvm-project\\buildninjaRel\\lib\\clang\\11.0.0\\include" "-internal-isystem" "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.26.28801\\ATLMFC\\include" "-internal-isystem" "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.26.28801\\include" "-internal-isystem" "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\include\\um" "-internal-isystem" "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.18362.0\\ucrt" "-internal-isystem" "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.18362.0\\shared" "-internal-isystem" "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.18362.0\\um" "-internal-isystem" "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.18362.0\\winrt" "-internal-isystem" "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.18362.0\\cppwinrt" "-fdebug-compilation-dir" "." "-ferror-limit" "19" "-fmessage-length=146" "-fno-use-cxa-atexit" "-fms-extensions" "-fms-compatibility" "-fms-compatibility-version=19.26.28806" "-fdelayed-template-parsing" "-fcolor-diagnostics" "-faddrsig" "-x" "c"'
140       - Kind:            LF_BUILDINFO
141         BuildInfo:
142           ArgIndices:      [ 4099, 4101, 4100, 0, 4102 ]
143   - Name:            .llvm_addrsig
144     Characteristics: [ IMAGE_SCN_LNK_REMOVE ]
145     Alignment:       1
146     SectionData:     ''
147 symbols:
148   - Name:            .text
149     Value:           0
150     SectionNumber:   1
151     SimpleType:      IMAGE_SYM_TYPE_NULL
152     ComplexType:     IMAGE_SYM_DTYPE_NULL
153     StorageClass:    IMAGE_SYM_CLASS_STATIC
154     SectionDefinition:
155       Length:          1
156       NumberOfRelocations: 0
157       NumberOfLinenumbers: 0
158       CheckSum:        40735498
159       Number:          1
160   - Name:            .data
161     Value:           0
162     SectionNumber:   2
163     SimpleType:      IMAGE_SYM_TYPE_NULL
164     ComplexType:     IMAGE_SYM_DTYPE_NULL
165     StorageClass:    IMAGE_SYM_CLASS_STATIC
166     SectionDefinition:
167       Length:          0
168       NumberOfRelocations: 0
169       NumberOfLinenumbers: 0
170       CheckSum:        0
171       Number:          2
172   - Name:            .bss
173     Value:           0
174     SectionNumber:   3
175     SimpleType:      IMAGE_SYM_TYPE_NULL
176     ComplexType:     IMAGE_SYM_DTYPE_NULL
177     StorageClass:    IMAGE_SYM_CLASS_STATIC
178     SectionDefinition:
179       Length:          0
180       NumberOfRelocations: 0
181       NumberOfLinenumbers: 0
182       CheckSum:        0
183       Number:          3
184   - Name:            .drectve
185     Value:           0
186     SectionNumber:   4
187     SimpleType:      IMAGE_SYM_TYPE_NULL
188     ComplexType:     IMAGE_SYM_DTYPE_NULL
189     StorageClass:    IMAGE_SYM_CLASS_STATIC
190     SectionDefinition:
191       Length:          48
192       NumberOfRelocations: 0
193       NumberOfLinenumbers: 0
194       CheckSum:        149686238
195       Number:          4
196   - Name:            '.debug$S'
197     Value:           0
198     SectionNumber:   5
199     SimpleType:      IMAGE_SYM_TYPE_NULL
200     ComplexType:     IMAGE_SYM_DTYPE_NULL
201     StorageClass:    IMAGE_SYM_CLASS_STATIC
202     SectionDefinition:
203       Length:          348
204       NumberOfRelocations: 4
205       NumberOfLinenumbers: 0
206       CheckSum:        2408981505
207       Number:          5
208   - Name:            '.debug$T'
209     Value:           0
210     SectionNumber:   6
211     SimpleType:      IMAGE_SYM_TYPE_NULL
212     ComplexType:     IMAGE_SYM_DTYPE_NULL
213     StorageClass:    IMAGE_SYM_CLASS_STATIC
214     SectionDefinition:
215       Length:          1992
216       NumberOfRelocations: 0
217       NumberOfLinenumbers: 0
218       CheckSum:        1158086003
219       Number:          6
220   - Name:            .llvm_addrsig
221     Value:           0
222     SectionNumber:   7
223     SimpleType:      IMAGE_SYM_TYPE_NULL
224     ComplexType:     IMAGE_SYM_DTYPE_NULL
225     StorageClass:    IMAGE_SYM_CLASS_STATIC
226     SectionDefinition:
227       Length:          0
228       NumberOfRelocations: 0
229       NumberOfLinenumbers: 0
230       CheckSum:        0
231       Number:          7
232   - Name:            '@feat.00'
233     Value:           0
234     SectionNumber:   -1
235     SimpleType:      IMAGE_SYM_TYPE_NULL
236     ComplexType:     IMAGE_SYM_DTYPE_NULL
237     StorageClass:    IMAGE_SYM_CLASS_STATIC
238   - Name:            bar
239     Value:           0
240     SectionNumber:   1
241     SimpleType:      IMAGE_SYM_TYPE_NULL
242     ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
243     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
244   - Name:            .file
245     Value:           0
246     SectionNumber:   -2
247     SimpleType:      IMAGE_SYM_TYPE_NULL
248     ComplexType:     IMAGE_SYM_DTYPE_NULL
249     StorageClass:    IMAGE_SYM_CLASS_FILE
250     File:            pdb_lines_2.c