[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / DebugInfo / PDB / pdb-yaml-symbols.test
blob7afa1c3b2a71fd8d3085000a1b0def42b2a10955
1 ; RUN: llvm-pdbutil pdb2yaml -module-syms %p/Inputs/empty.pdb \
2 ; RUN:   | FileCheck -check-prefix=YAML %s
5 YAML: ---
6 YAML: MSF:
7 YAML:   SuperBlock:
8 YAML:     BlockSize:       4096
9 YAML:     FreeBlockMap:    2
10 YAML:     NumBlocks:       25
11 YAML:     NumDirectoryBytes: 136
12 YAML:     Unknown1:        0
13 YAML:     BlockMapAddr:    24
14 YAML:   NumDirectoryBlocks: 1
15 YAML:   DirectoryBlocks: [ 23 ]
16 YAML:   NumStreams:      0
17 YAML:   FileSize:        102400
18 YAML: DbiStream:
19 YAML:   VerHeader:       V70
20 YAML:   Age:             1
21 YAML:   BuildNumber:     35840
22 YAML:   PdbDllVersion:   31101
23 YAML:   PdbDllRbld:      0
24 YAML:   Flags:           1
25 YAML:   MachineType:     x86
26 YAML:   Modules:
27 YAML:     - Module:          'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
28 YAML:       ObjFile:         'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
29 YAML:       Modi:
30 YAML:         Signature:       4
31 YAML:         Records:
32 YAML:           - Kind:            S_OBJNAME
33 YAML:             ObjNameSym:
34 YAML:               Signature:       0
35 YAML:               ObjectName:      'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
36 YAML:           - Kind:            S_COMPILE3
37 YAML:             Compile3Sym:
38 YAML:               Flags:           [ SecurityChecks ]
39 YAML:               Machine:         Pentium3
40 YAML:               FrontendMajor:   18
41 YAML:               FrontendMinor:   0
42 YAML:               FrontendBuild:   31101
43 YAML:               FrontendQFE:     0
44 YAML:               BackendMajor:    18
45 YAML:               BackendMinor:    0
46 YAML:               BackendBuild:    31101
47 YAML:               BackendQFE:      0
48 YAML:               Version:         'Microsoft (R) Optimizing Compiler'
49 YAML:           - Kind:            S_GPROC32
50 YAML:             ProcSym:
51 YAML:               PtrParent:       0
52 YAML:               PtrEnd:          196
53 YAML:               PtrNext:         0
54 YAML:               CodeSize:        10
55 YAML:               DbgStart:        3
56 YAML:               DbgEnd:          8
57 YAML:               FunctionType:    4097
58 YAML:               Offset:          16
59 YAML:               Segment:         1
60 YAML:               Flags:           [ HasFP ]
61 YAML:               DisplayName:     main
62 YAML:           - Kind:            S_FRAMEPROC
63 YAML:             FrameProcSym:
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 ]
71 YAML:           - Kind:            S_END
72 YAML:             ScopeEndSym:
73 YAML:           - Kind:            S_BUILDINFO
74 YAML:             BuildInfoSym:
75 YAML:               BuildId:         4110
76 YAML:     - Module:          '* Linker *'
77 YAML:       ObjFile:         ''
78 YAML:       Modi:
79 YAML:         Signature:       4
80 YAML:         Records:
81 YAML:           - Kind:            S_OBJNAME
82 YAML:             ObjNameSym:
83 YAML:               Signature:       0
84 YAML:               ObjectName:      '* Linker *'
85 YAML:           - Kind:            S_COMPILE3
86 YAML:             Compile3Sym:
87 YAML:               Flags:           [  ]
88 YAML:               Machine:         Intel80386
89 YAML:               FrontendMajor:   0
90 YAML:               FrontendMinor:   0
91 YAML:               FrontendBuild:   0
92 YAML:               FrontendQFE:     0
93 YAML:               BackendMajor:    12
94 YAML:               BackendMinor:    0
95 YAML:               BackendBuild:    31101
96 YAML:               BackendQFE:      0
97 YAML:               Version:         'Microsoft (R) LINK'
98 YAML:           - Kind:            S_ENVBLOCK
99 YAML:             EnvBlockSym:
100 YAML:               Entries:
101 YAML:                 - cwd
102 YAML:                 - 'd:\src\llvm\test\DebugInfo\PDB\Inputs'
103 YAML:                 - exe
104 YAML:                 - 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\link.exe'
105 YAML:                 - pdb
106 YAML:                 - 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.pdb'
107 YAML:           - Kind:            S_TRAMPOLINE
108 YAML:             TrampolineSym:
109 YAML:               Type:            TrampIncremental
110 YAML:               Size:            5
111 YAML:               ThunkOff:        5
112 YAML:               TargetOff:       16
113 YAML:               ThunkSection:    1
114 YAML:               TargetSection:   1
115 YAML:           - Kind:            S_SECTION
116 YAML:             SectionSym:
117 YAML:               SectionNumber:   1
118 YAML:               Alignment:       12
119 YAML:               Rva:             4096
120 YAML:               Length:          4122
121 YAML:               Characteristics: 1610612768
122 YAML:               Name:            .text
123 YAML:           - Kind:            S_COFFGROUP
124 YAML:             CoffGroupSym:
125 YAML:               Size:            4122
126 YAML:               Characteristics: 1610612768
127 YAML:               Offset:          0
128 YAML:               Segment:         1
129 YAML:               Name:            '.text$mn'
130 YAML:           - Kind:            S_SECTION
131 YAML:             SectionSym:
132 YAML:               SectionNumber:   2
133 YAML:               Alignment:       12
134 YAML:               Rva:             12288
135 YAML:               Length:          690
136 YAML:               Characteristics: 1073741888
137 YAML:               Name:            .rdata
138 YAML:           - Kind:            S_COFFGROUP
139 YAML:             CoffGroupSym:
140 YAML:               Size:            323
141 YAML:               Characteristics: 1073741888
142 YAML:               Offset:          0
143 YAML:               Segment:         2
144 YAML:               Name:            .rdata
145 YAML:           - Kind:            S_COFFGROUP
146 YAML:             CoffGroupSym:
147 YAML:               Size:            0
148 YAML:               Characteristics: 1073741888
149 YAML:               Offset:          323
150 YAML:               Segment:         2
151 YAML:               Name:            .edata
152 YAML:           - Kind:            S_COFFGROUP
153 YAML:             CoffGroupSym:
154 YAML:               Size:            366
155 YAML:               Characteristics: 1073741888
156 YAML:               Offset:          324
157 YAML:               Segment:         2
158 YAML:               Name:            '.rdata$debug'
159 YAML:           - Kind:            S_SECTION
160 YAML:             SectionSym:
161 YAML:               SectionNumber:   3
162 YAML:               Alignment:       12
163 YAML:               Rva:             16384
164 YAML:               Length:          4
165 YAML:               Characteristics: 3221225536
166 YAML:               Name:            .data
167 YAML:           - Kind:            S_COFFGROUP
168 YAML:             CoffGroupSym:
169 YAML:               Size:            4
170 YAML:               Characteristics: 3221225600
171 YAML:               Offset:          0
172 YAML:               Segment:         3
173 YAML:               Name:            .bss
174 YAML:           - Kind:            S_SECTION
175 YAML:             SectionSym:
176 YAML:               SectionNumber:   4
177 YAML:               Alignment:       12
178 YAML:               Rva:             20480
179 YAML:               Length:          8
180 YAML:               Characteristics: 1107296320
181 YAML:               Name:            .reloc
182 YAML: ...