1 ; RUN: llvm-pdbutil pdb2yaml -module-syms %p/Inputs/empty.pdb \
2 ; RUN: | FileCheck -check-prefix=YAML %s
11 YAML: NumDirectoryBytes: 136
13 YAML: BlockMapAddr: 24
14 YAML: NumDirectoryBlocks: 1
15 YAML: DirectoryBlocks: [ 23 ]
17 YAML: FileSize: 102400
21 YAML: BuildNumber: 35840
22 YAML: PdbDllVersion: 31101
25 YAML: MachineType: x86
27 YAML: - Module: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
28 YAML: ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
32 YAML: - Kind: S_OBJNAME
35 YAML: ObjectName: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
36 YAML: - Kind: S_COMPILE3
38 YAML: Flags: [ SecurityChecks ]
39 YAML: Machine: Pentium3
40 YAML: FrontendMajor: 18
41 YAML: FrontendMinor: 0
42 YAML: FrontendBuild: 31101
44 YAML: BackendMajor: 18
46 YAML: BackendBuild: 31101
48 YAML: Version: 'Microsoft (R) Optimizing Compiler'
49 YAML: - Kind: S_GPROC32
57 YAML: FunctionType: 4097
60 YAML: Flags: [ HasFP ]
61 YAML: DisplayName: main
62 YAML: - Kind: S_FRAMEPROC
64 YAML: TotalFrameBytes: 0
65 YAML: PaddingFrameBytes: 0
66 YAML: OffsetToPadding: 0
67 YAML: BytesOfCalleeSavedRegisters: 0
68 YAML: OffsetOfExceptionHandler: 0
69 YAML: SectionIdOfExceptionHandler: 0
70 YAML: Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ]
73 YAML: - Kind: S_BUILDINFO
76 YAML: - Module: '* Linker *'
81 YAML: - Kind: S_OBJNAME
84 YAML: ObjectName: '* Linker *'
85 YAML: - Kind: S_COMPILE3
88 YAML: Machine: Intel80386
89 YAML: FrontendMajor: 0
90 YAML: FrontendMinor: 0
91 YAML: FrontendBuild: 0
93 YAML: BackendMajor: 12
95 YAML: BackendBuild: 31101
97 YAML: Version: 'Microsoft (R) LINK'
98 YAML: - Kind: S_ENVBLOCK
102 YAML: - 'd:\src\llvm\test\DebugInfo\PDB\Inputs'
104 YAML: - 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\link.exe'
106 YAML: - 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.pdb'
107 YAML: - Kind: S_TRAMPOLINE
109 YAML: Type: TrampIncremental
113 YAML: ThunkSection: 1
114 YAML: TargetSection: 1
115 YAML: - Kind: S_SECTION
117 YAML: SectionNumber: 1
121 YAML: Characteristics: 1610612768
123 YAML: - Kind: S_COFFGROUP
126 YAML: Characteristics: 1610612768
129 YAML: Name: '.text$mn'
130 YAML: - Kind: S_SECTION
132 YAML: SectionNumber: 2
136 YAML: Characteristics: 1073741888
138 YAML: - Kind: S_COFFGROUP
141 YAML: Characteristics: 1073741888
145 YAML: - Kind: S_COFFGROUP
148 YAML: Characteristics: 1073741888
152 YAML: - Kind: S_COFFGROUP
155 YAML: Characteristics: 1073741888
158 YAML: Name: '.rdata$debug'
159 YAML: - Kind: S_SECTION
161 YAML: SectionNumber: 3
165 YAML: Characteristics: 3221225536
167 YAML: - Kind: S_COFFGROUP
170 YAML: Characteristics: 3221225600
174 YAML: - Kind: S_SECTION
176 YAML: SectionNumber: 4
180 YAML: Characteristics: 1107296320