• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1--- !COFF
2header:
3  Machine:         IMAGE_FILE_MACHINE_AMD64
4  Characteristics: [  ]
5sections:
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_comdat_bar.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:        14
41              DbgStart:        4
42              DbgEnd:          9
43              FunctionType:    4102
44              Segment:         0
45              Flags:           [  ]
46              DisplayName:     bar
47          - Kind:            S_FRAMEPROC
48            FrameProcSym:
49              TotalFrameBytes: 40
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:        14
60        Flags:           [  ]
61        RelocOffset:     0
62        RelocSegment:    0
63        Blocks:
64          - FileName:        'c:\src\llvm-project\build\pdb_comdat_bar.c'
65            Lines:
66              - Offset:          0
67                LineStart:       3
68                IsStatement:     true
69                EndDelta:        0
70              - Offset:          4
71                LineStart:       4
72                IsStatement:     true
73                EndDelta:        0
74              - Offset:          9
75                LineStart:       5
76                IsStatement:     true
77                EndDelta:        0
78            Columns:
79      - !Symbols
80        Records:
81          - Kind:            S_GDATA32
82            DataSym:
83              Type:            116
84              DisplayName:     global
85      - !FileChecksums
86        Checksums:
87          - FileName:        'c:\src\llvm-project\build\pdb_comdat_bar.c'
88            Kind:            MD5
89            Checksum:        365279DB4FCBEDD721BBFC3B14A953C2
90          - FileName:        'c:\src\llvm-project\build\foo.h'
91            Kind:            MD5
92            Checksum:        D74D834EFAC3AE2B45E606A8320B1D5C
93      - !StringTable
94        Strings:
95          - 'c:\src\llvm-project\build\pdb_comdat_bar.c'
96          - 'c:\src\llvm-project\build\foo.h'
97      - !Symbols
98        Records:
99          - Kind:            S_BUILDINFO
100            BuildInfoSym:
101              BuildId:         4110
102    Relocations:
103      - VirtualAddress:  168
104        SymbolName:      bar
105        Type:            IMAGE_REL_AMD64_SECREL
106      - VirtualAddress:  172
107        SymbolName:      bar
108        Type:            IMAGE_REL_AMD64_SECTION
109      - VirtualAddress:  224
110        SymbolName:      bar
111        Type:            IMAGE_REL_AMD64_SECREL
112      - VirtualAddress:  228
113        SymbolName:      bar
114        Type:            IMAGE_REL_AMD64_SECTION
115      - VirtualAddress:  288
116        SymbolName:      global
117        Type:            IMAGE_REL_AMD64_SECREL
118      - VirtualAddress:  292
119        SymbolName:      global
120        Type:            IMAGE_REL_AMD64_SECTION
121  - Name:            '.debug$T'
122    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
123    Alignment:       1
124    Types:
125      - Kind:            LF_ARGLIST
126        ArgList:
127          ArgIndices:      [ 0 ]
128      - Kind:            LF_PROCEDURE
129        Procedure:
130          ReturnType:      3
131          CallConv:        NearC
132          Options:         [ None ]
133          ParameterCount:  0
134          ArgumentList:    4096
135      - Kind:            LF_POINTER
136        Pointer:
137          ReferentType:    4097
138          Attrs:           65548
139      - Kind:            LF_FUNC_ID
140        FuncId:
141          ParentScope:     0
142          FunctionType:    4097
143          Name:            foo
144      - Kind:            LF_ARGLIST
145        ArgList:
146          ArgIndices:      [  ]
147      - Kind:            LF_PROCEDURE
148        Procedure:
149          ReturnType:      3
150          CallConv:        NearC
151          Options:         [ None ]
152          ParameterCount:  0
153          ArgumentList:    4100
154      - Kind:            LF_FUNC_ID
155        FuncId:
156          ParentScope:     0
157          FunctionType:    4101
158          Name:            bar
159      - Kind:            LF_STRING_ID
160        StringId:
161          Id:              0
162          String:          'C:\src\llvm-project\build'
163      - Kind:            LF_STRING_ID
164        StringId:
165          Id:              0
166          String:          'C:\PROGRA~2\MICROS~1.0\VC\Bin\amd64\cl.exe'
167      - Kind:            LF_STRING_ID
168        StringId:
169          Id:              0
170          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'
171      - Kind:            LF_SUBSTR_LIST
172        StringList:
173          StringIndices:   [ 4105 ]
174      - Kind:            LF_STRING_ID
175        StringId:
176          Id:              4106
177          String:          ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X'
178      - Kind:            LF_STRING_ID
179        StringId:
180          Id:              0
181          String:          pdb_comdat_bar.c
182      - Kind:            LF_STRING_ID
183        StringId:
184          Id:              0
185          String:          'C:\src\llvm-project\build\vc140.pdb'
186      - Kind:            LF_BUILDINFO
187        BuildInfo:
188          ArgIndices:      [ 4103, 4104, 4108, 4109, 4107 ]
189  - Name:            .bss
190    Characteristics: [ IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
191    Alignment:       4
192    SectionData:     ''
193    SizeOfRawData:   4
194  - Name:            '.text$mn'
195    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
196    Alignment:       16
197    SectionData:     4883EC28E8000000004883C428C3
198    Relocations:
199      - VirtualAddress:  5
200        SymbolName:      foo
201        Type:            IMAGE_REL_AMD64_REL32
202  - Name:            '.text$mn'
203    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
204    Alignment:       16
205    SectionData:     8B0500000000FFC0890500000000C3
206    Relocations:
207      - VirtualAddress:  2
208        SymbolName:      global
209        Type:            IMAGE_REL_AMD64_REL32
210      - VirtualAddress:  10
211        SymbolName:      global
212        Type:            IMAGE_REL_AMD64_REL32
213  - Name:            '.debug$S'
214    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
215    Alignment:       1
216    Subsections:
217      - !Symbols
218        Records:
219          - Kind:            S_GPROC32_ID
220            ProcSym:
221              PtrParent:       0
222              PtrEnd:          0
223              PtrNext:         0
224              CodeSize:        15
225              DbgStart:        0
226              DbgEnd:          14
227              FunctionType:    4099
228              Segment:         0
229              Flags:           [  ]
230              DisplayName:     foo
231          - Kind:            S_FRAMEPROC
232            FrameProcSym:
233              TotalFrameBytes: 0
234              PaddingFrameBytes: 0
235              OffsetToPadding: 0
236              BytesOfCalleeSavedRegisters: 0
237              OffsetOfExceptionHandler: 0
238              SectionIdOfExceptionHandler: 0
239              Flags:           [ MarkedInline, AsynchronousExceptionHandling, OptimizedForSpeed ]
240          - Kind:            S_PROC_ID_END
241            ScopeEndSym:
242      - !Lines
243        CodeSize:        15
244        Flags:           [  ]
245        RelocOffset:     0
246        RelocSegment:    0
247        Blocks:
248          - FileName:        'c:\src\llvm-project\build\foo.h'
249            Lines:
250              - Offset:          0
251                LineStart:       2
252                IsStatement:     true
253                EndDelta:        0
254              - Offset:          0
255                LineStart:       3
256                IsStatement:     true
257                EndDelta:        0
258              - Offset:          14
259                LineStart:       4
260                IsStatement:     true
261                EndDelta:        0
262            Columns:
263    Relocations:
264      - VirtualAddress:  44
265        SymbolName:      foo
266        Type:            IMAGE_REL_AMD64_SECREL
267      - VirtualAddress:  48
268        SymbolName:      foo
269        Type:            IMAGE_REL_AMD64_SECTION
270      - VirtualAddress:  100
271        SymbolName:      foo
272        Type:            IMAGE_REL_AMD64_SECREL
273      - VirtualAddress:  104
274        SymbolName:      foo
275        Type:            IMAGE_REL_AMD64_SECTION
276  - Name:            .xdata
277    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
278    Alignment:       4
279    SectionData:     '0104010004420000'
280  - Name:            .pdata
281    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
282    Alignment:       4
283    SectionData:     '000000000E00000000000000'
284    Relocations:
285      - VirtualAddress:  0
286        SymbolName:      '$LN3'
287        Type:            IMAGE_REL_AMD64_ADDR32NB
288      - VirtualAddress:  4
289        SymbolName:      '$LN3'
290        Type:            IMAGE_REL_AMD64_ADDR32NB
291      - VirtualAddress:  8
292        SymbolName:      '$unwind$bar'
293        Type:            IMAGE_REL_AMD64_ADDR32NB
294symbols:
295  - Name:            .drectve
296    Value:           0
297    SectionNumber:   1
298    SimpleType:      IMAGE_SYM_TYPE_NULL
299    ComplexType:     IMAGE_SYM_DTYPE_NULL
300    StorageClass:    IMAGE_SYM_CLASS_STATIC
301    SectionDefinition:
302      Length:          47
303      NumberOfRelocations: 0
304      NumberOfLinenumbers: 0
305      CheckSum:        0
306      Number:          0
307  - Name:            '.debug$S'
308    Value:           0
309    SectionNumber:   2
310    SimpleType:      IMAGE_SYM_TYPE_NULL
311    ComplexType:     IMAGE_SYM_DTYPE_NULL
312    StorageClass:    IMAGE_SYM_CLASS_STATIC
313    SectionDefinition:
314      Length:          460
315      NumberOfRelocations: 6
316      NumberOfLinenumbers: 0
317      CheckSum:        0
318      Number:          0
319  - Name:            '.debug$T'
320    Value:           0
321    SectionNumber:   3
322    SimpleType:      IMAGE_SYM_TYPE_NULL
323    ComplexType:     IMAGE_SYM_DTYPE_NULL
324    StorageClass:    IMAGE_SYM_CLASS_STATIC
325    SectionDefinition:
326      Length:          628
327      NumberOfRelocations: 0
328      NumberOfLinenumbers: 0
329      CheckSum:        0
330      Number:          0
331  - Name:            .bss
332    Value:           0
333    SectionNumber:   4
334    SimpleType:      IMAGE_SYM_TYPE_NULL
335    ComplexType:     IMAGE_SYM_DTYPE_NULL
336    StorageClass:    IMAGE_SYM_CLASS_STATIC
337    SectionDefinition:
338      Length:          4
339      NumberOfRelocations: 0
340      NumberOfLinenumbers: 0
341      CheckSum:        0
342      Number:          0
343  - Name:            global
344    Value:           0
345    SectionNumber:   4
346    SimpleType:      IMAGE_SYM_TYPE_NULL
347    ComplexType:     IMAGE_SYM_DTYPE_NULL
348    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
349  - Name:            '.text$mn'
350    Value:           0
351    SectionNumber:   5
352    SimpleType:      IMAGE_SYM_TYPE_NULL
353    ComplexType:     IMAGE_SYM_DTYPE_NULL
354    StorageClass:    IMAGE_SYM_CLASS_STATIC
355    SectionDefinition:
356      Length:          14
357      NumberOfRelocations: 1
358      NumberOfLinenumbers: 0
359      CheckSum:        1682752513
360      Number:          0
361  - Name:            '.text$mn'
362    Value:           0
363    SectionNumber:   6
364    SimpleType:      IMAGE_SYM_TYPE_NULL
365    ComplexType:     IMAGE_SYM_DTYPE_NULL
366    StorageClass:    IMAGE_SYM_CLASS_STATIC
367    SectionDefinition:
368      Length:          15
369      NumberOfRelocations: 2
370      NumberOfLinenumbers: 0
371      CheckSum:        1746394828
372      Number:          0
373      Selection:       IMAGE_COMDAT_SELECT_ANY
374  - Name:            '.debug$S'
375    Value:           0
376    SectionNumber:   7
377    SimpleType:      IMAGE_SYM_TYPE_NULL
378    ComplexType:     IMAGE_SYM_DTYPE_NULL
379    StorageClass:    IMAGE_SYM_CLASS_STATIC
380    SectionDefinition:
381      Length:          148
382      NumberOfRelocations: 4
383      NumberOfLinenumbers: 0
384      CheckSum:        0
385      Number:          6
386      Selection:       IMAGE_COMDAT_SELECT_ASSOCIATIVE
387  - Name:            foo
388    Value:           0
389    SectionNumber:   6
390    SimpleType:      IMAGE_SYM_TYPE_NULL
391    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
392    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
393  - Name:            bar
394    Value:           0
395    SectionNumber:   5
396    SimpleType:      IMAGE_SYM_TYPE_NULL
397    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
398    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
399  - Name:            '$LN3'
400    Value:           0
401    SectionNumber:   5
402    SimpleType:      IMAGE_SYM_TYPE_NULL
403    ComplexType:     IMAGE_SYM_DTYPE_NULL
404    StorageClass:    IMAGE_SYM_CLASS_LABEL
405  - Name:            .xdata
406    Value:           0
407    SectionNumber:   8
408    SimpleType:      IMAGE_SYM_TYPE_NULL
409    ComplexType:     IMAGE_SYM_DTYPE_NULL
410    StorageClass:    IMAGE_SYM_CLASS_STATIC
411    SectionDefinition:
412      Length:          8
413      NumberOfRelocations: 0
414      NumberOfLinenumbers: 0
415      CheckSum:        264583633
416      Number:          0
417  - Name:            '$unwind$bar'
418    Value:           0
419    SectionNumber:   8
420    SimpleType:      IMAGE_SYM_TYPE_NULL
421    ComplexType:     IMAGE_SYM_DTYPE_NULL
422    StorageClass:    IMAGE_SYM_CLASS_STATIC
423  - Name:            .pdata
424    Value:           0
425    SectionNumber:   9
426    SimpleType:      IMAGE_SYM_TYPE_NULL
427    ComplexType:     IMAGE_SYM_DTYPE_NULL
428    StorageClass:    IMAGE_SYM_CLASS_STATIC
429    SectionDefinition:
430      Length:          12
431      NumberOfRelocations: 3
432      NumberOfLinenumbers: 0
433      CheckSum:        361370162
434      Number:          0
435  - Name:            '$pdata$bar'
436    Value:           0
437    SectionNumber:   9
438    SimpleType:      IMAGE_SYM_TYPE_NULL
439    ComplexType:     IMAGE_SYM_DTYPE_NULL
440    StorageClass:    IMAGE_SYM_CLASS_STATIC
441...
442