[DAGCombiner] Eliminate dead stores to stack.
[llvm-complete.git] / test / DebugInfo / COFF / types-basic.ll
blob7b1bb8525020ed99aada70a0dbed24e388367d20
1 ; RUN: llc < %s -filetype=obj | llvm-readobj - -codeview | FileCheck %s
3 ; C++ source to regenerate:
4 ; $ cat t.cpp
5 ; struct A {
6 ;   int a;
7 ;   void f();
8 ; };
9 ; void usevars(int, ...);
10 ; void f(float p1, double p2, long long p3) {
11 ;   int v1 = p3;
12 ;   int *v2 = &v1;
13 ;   const int *v21 = &v1;
14 ;   void *v3 = &v1;
15 ;   int A::*v4 = &A::a;
16 ;   void (A::*v5)() = &A::f;
17 ;   long l1 = 0;
18 ;   long int l2 = 0;
19 ;   unsigned long l3 = 0;
20 ;   unsigned long int l4 = 0;
21 ;   const void *v6 = &v1;
22 ;   usevars(v1, v2, v3, l1, l2, l3, l4);
23 ; }
24 ; void CharTypes() {
25 ;   signed wchar_t w;
26 ;   unsigned short us;
27 ;   char c;
28 ;   unsigned char uc;
29 ;   signed char sc;
30 ;   char16_t c16;
31 ;   char32_t c32;
32 ; }
33 ; $ clang t.cpp -S -emit-llvm -g -gcodeview -o t.ll
35 ; CHECK: CodeViewTypes [
36 ; CHECK:   Section: .debug$T (6)
37 ; CHECK:   Magic: 0x4
38 ; CHECK:   ArgList (0x1000) {
39 ; CHECK:     TypeLeafKind: LF_ARGLIST (0x1201)
40 ; CHECK:     NumArgs: 3
41 ; CHECK:     Arguments [
42 ; CHECK:       ArgType: float (0x40)
43 ; CHECK:       ArgType: double (0x41)
44 ; CHECK:       ArgType: __int64 (0x13)
45 ; CHECK:     ]
46 ; CHECK:   }
47 ; CHECK:   Procedure (0x1001) {
48 ; CHECK:     TypeLeafKind: LF_PROCEDURE (0x1008)
49 ; CHECK:     ReturnType: void (0x3)
50 ; CHECK:     CallingConvention: NearC (0x0)
51 ; CHECK:     FunctionOptions [ (0x0)
52 ; CHECK:     ]
53 ; CHECK:     NumParameters: 3
54 ; CHECK:     ArgListType: (float, double, __int64) (0x1000)
55 ; CHECK:   }
56 ; CHECK:   FuncId (0x1002) {
57 ; CHECK:     TypeLeafKind: LF_FUNC_ID (0x1601)
58 ; CHECK:     ParentScope: 0x0
59 ; CHECK:     FunctionType: void (float, double, __int64) (0x1001)
60 ; CHECK:     Name: f
61 ; CHECK:   }
62 ; CHECK:   Modifier (0x1003) {
63 ; CHECK:     TypeLeafKind: LF_MODIFIER (0x1001)
64 ; CHECK:     ModifiedType: int (0x74)
65 ; CHECK:     Modifiers [ (0x1)
66 ; CHECK:       Const (0x1)
67 ; CHECK:     ]
68 ; CHECK:   }
69 ; CHECK:   Pointer (0x1004) {
70 ; CHECK:     TypeLeafKind: LF_POINTER (0x1002)
71 ; CHECK:     PointeeType: const int (0x1003)
72 ; CHECK:     PtrType: Near64 (0xC)
73 ; CHECK:     PtrMode: Pointer (0x0)
74 ; CHECK:     IsFlat: 0
75 ; CHECK:     IsConst: 0
76 ; CHECK:     IsVolatile: 0
77 ; CHECK:     IsUnaligned: 0
78 ; CHECK:   }
79 ; CHECK:   Struct (0x1005) {
80 ; CHECK:     TypeLeafKind: LF_STRUCTURE (0x1505)
81 ; CHECK:     MemberCount: 0
82 ; CHECK:     Properties [ (0x80)
83 ; CHECK:       ForwardReference (0x80)
84 ; CHECK:     ]
85 ; CHECK:     FieldList: 0x0
86 ; CHECK:     DerivedFrom: 0x0
87 ; CHECK:     VShape: 0x0
88 ; CHECK:     SizeOf: 0
89 ; CHECK:     Name: A
90 ; CHECK:   }
91 ; CHECK:   Pointer (0x1006) {
92 ; CHECK:     TypeLeafKind: LF_POINTER (0x1002)
93 ; CHECK:     PointeeType: int (0x74)
94 ; CHECK:     PtrType: Near64 (0xC)
95 ; CHECK:     PtrMode: PointerToDataMember (0x2)
96 ; CHECK:     IsFlat: 0
97 ; CHECK:     IsConst: 0
98 ; CHECK:     IsVolatile: 0
99 ; CHECK:     IsUnaligned: 0
100 ; CHECK:     ClassType: A (0x1005)
101 ; CHECK:     Representation: GeneralData (0x4)
102 ; CHECK:   }
103 ; CHECK:   Pointer (0x1007) {
104 ; CHECK:     TypeLeafKind: LF_POINTER (0x1002)
105 ; CHECK:     PointeeType: A (0x1005)
106 ; CHECK:     PtrType: Near64 (0xC)
107 ; CHECK:     PtrMode: Pointer (0x0)
108 ; CHECK:     IsFlat: 0
109 ; CHECK:     IsConst: 1
110 ; CHECK:     IsVolatile: 0
111 ; CHECK:     IsUnaligned: 0
112 ; CHECK:   }
113 ; CHECK:   ArgList (0x1008) {
114 ; CHECK:     TypeLeafKind: LF_ARGLIST (0x1201)
115 ; CHECK:     NumArgs: 0
116 ; CHECK:     Arguments [
117 ; CHECK:     ]
118 ; CHECK:   }
119 ; CHECK:   MemberFunction (0x1009) {
120 ; CHECK:     TypeLeafKind: LF_MFUNCTION (0x1009)
121 ; CHECK:     ReturnType: void (0x3)
122 ; CHECK:     ClassType: A (0x1005)
123 ; CHECK:     ThisType: A* const (0x1007)
124 ; CHECK:     CallingConvention: NearC (0x0)
125 ; CHECK:     FunctionOptions [ (0x0)
126 ; CHECK:     ]
127 ; CHECK:     NumParameters: 0
128 ; CHECK:     ArgListType: () (0x1008)
129 ; CHECK:     ThisAdjustment: 0
130 ; CHECK:   }
131 ; CHECK:   FieldList (0x100A) {
132 ; CHECK:     TypeLeafKind: LF_FIELDLIST (0x1203)
133 ; CHECK:     DataMember {
134 ; CHECK:       AccessSpecifier: Public (0x3)
135 ; CHECK:       Type: int (0x74)
136 ; CHECK:       FieldOffset: 0x0
137 ; CHECK:       Name: a
138 ; CHECK:     }
139 ; CHECK:     OneMethod {
140 ; CHECK:       AccessSpecifier: Public (0x3)
141 ; CHECK:       Type: void A::() (0x1009)
142 ; CHECK:       Name: A::f
143 ; CHECK:     }
144 ; CHECK:   }
145 ; CHECK:   Struct (0x100B) {
146 ; CHECK:     TypeLeafKind: LF_STRUCTURE (0x1505)
147 ; CHECK:     MemberCount: 2
148 ; CHECK:     Properties [ (0x0)
149 ; CHECK:     ]
150 ; CHECK:     FieldList: <field list> (0x100A)
151 ; CHECK:     DerivedFrom: 0x0
152 ; CHECK:     VShape: 0x0
153 ; CHECK:     SizeOf: 4
154 ; CHECK:     Name: A
155 ; CHECK:   }
156 ; CHECK:   StringId (0x100C) {
157 ; CHECK:     TypeLeafKind: LF_STRING_ID (0x1605)
158 ; CHECK:     Id: 0x0
159 ; CHECK:     StringData: D:\src\llvm\build\t.cpp
160 ; CHECK:   }
161 ; CHECK:   UdtSourceLine (0x100D) {
162 ; CHECK:     TypeLeafKind: LF_UDT_SRC_LINE (0x1606)
163 ; CHECK:     UDT: A (0x100B)
164 ; CHECK:     SourceFile: D:\src\llvm\build\t.cpp (0x100C)
165 ; CHECK:     LineNumber: 1
166 ; CHECK:   }
167 ; CHECK:   Pointer (0x100E) {
168 ; CHECK:     TypeLeafKind: LF_POINTER (0x1002)
169 ; CHECK:     PointeeType: void A::() (0x1009)
170 ; CHECK:     PtrType: Near64 (0xC)
171 ; CHECK:     PtrMode: PointerToMemberFunction (0x3)
172 ; CHECK:     IsFlat: 0
173 ; CHECK:     IsConst: 0
174 ; CHECK:     IsVolatile: 0
175 ; CHECK:     IsUnaligned: 0
176 ; CHECK:     ClassType: A (0x1005)
177 ; CHECK:     Representation: GeneralFunction (0x8)
178 ; CHECK:   }
179 ; CHECK:   Modifier (0x100F) {
180 ; CHECK:     TypeLeafKind: LF_MODIFIER (0x1001)
181 ; CHECK:     ModifiedType: void (0x3)
182 ; CHECK:     Modifiers [ (0x1)
183 ; CHECK:       Const (0x1)
184 ; CHECK:     ]
185 ; CHECK:   }
186 ; CHECK:   Pointer (0x1010) {
187 ; CHECK:     TypeLeafKind: LF_POINTER (0x1002)
188 ; CHECK:     PointeeType: const void (0x100F)
189 ; CHECK:     PtrType: Near64 (0xC)
190 ; CHECK:     PtrMode: Pointer (0x0)
191 ; CHECK:     IsFlat: 0
192 ; CHECK:     IsConst: 0
193 ; CHECK:     IsVolatile: 0
194 ; CHECK:     IsUnaligned: 0
195 ; CHECK:   }
196 ; CHECK:   Procedure (0x1011) {
197 ; CHECK:     TypeLeafKind: LF_PROCEDURE (0x1008)
198 ; CHECK:     ReturnType: void (0x3)
199 ; CHECK:     CallingConvention: NearC (0x0)
200 ; CHECK:     FunctionOptions [ (0x0)
201 ; CHECK:     ]
202 ; CHECK:     NumParameters: 0
203 ; CHECK:     ArgListType: () (0x1008)
204 ; CHECK:   }
205 ; CHECK:   FuncId (0x1012) {
206 ; CHECK:     TypeLeafKind: LF_FUNC_ID (0x1601)
207 ; CHECK:     ParentScope: 0x0
208 ; CHECK:     FunctionType: void () (0x1011)
209 ; CHECK:     Name: CharTypes
210 ; CHECK:   }
211 ; CHECK: ]
213 ; CHECK: CodeViewDebugInfo [
214 ; CHECK:   Subsection [
215 ; CHECK:     SubSectionType: Symbols (0xF1)
216 ; CHECK:     {{.*}}Proc{{.*}}Sym {
217 ; CHECK:       DbgStart: 0x0
218 ; CHECK:       DbgEnd: 0x0
219 ; CHECK:       FunctionType: f (0x1002)
220 ; CHECK:       CodeOffset: ?f@@YAXMN_J@Z+0x0
221 ; CHECK:       Segment: 0x0
222 ; CHECK:       Flags [ (0x0)
223 ; CHECK:       ]
224 ; CHECK:       DisplayName: f
225 ; CHECK:       LinkageName: ?f@@YAXMN_J@Z
226 ; CHECK:     }
227 ; CHECK:     LocalSym {
228 ; CHECK:       Type: float (0x40)
229 ; CHECK:       Flags [ (0x1)
230 ; CHECK:         IsParameter (0x1)
231 ; CHECK:       ]
232 ; CHECK:       VarName: p1
233 ; CHECK:     }
234 ; CHECK:     LocalSym {
235 ; CHECK:       Type: double (0x41)
236 ; CHECK:       Flags [ (0x1)
237 ; CHECK:         IsParameter (0x1)
238 ; CHECK:       ]
239 ; CHECK:       VarName: p2
240 ; CHECK:     }
241 ; CHECK:     LocalSym {
242 ; CHECK:       Type: __int64 (0x13)
243 ; CHECK:       Flags [ (0x1)
244 ; CHECK:         IsParameter (0x1)
245 ; CHECK:       ]
246 ; CHECK:       VarName: p3
247 ; CHECK:     }
248 ; CHECK:     LocalSym {
249 ; CHECK:       Type: int (0x74)
250 ; CHECK:       VarName: v1
251 ; CHECK:     }
252 ; CHECK:     LocalSym {
253 ; CHECK:       Type: int* (0x674)
254 ; CHECK:       VarName: v2
255 ; CHECK:     }
256 ; CHECK:     LocalSym {
257 ; CHECK:       Type: const int* (0x1004)
258 ; CHECK:       VarName: v21
259 ; CHECK:     }
260 ; CHECK:     LocalSym {
261 ; CHECK:       Type: void* (0x603)
262 ; CHECK:       VarName: v3
263 ; CHECK:     }
264 ; CHECK:     LocalSym {
265 ; CHECK:       Type: int A::* (0x1006)
266 ; CHECK:       VarName: v4
267 ; CHECK:     }
268 ; CHECK:     LocalSym {
269 ; CHECK:       Type: void A::() A::* (0x100E)
270 ; CHECK:       VarName: v5
271 ; CHECK:     }
272 ; CHECK:     LocalSym {
273 ; CHECK:       Type: long (0x12)
274 ; CHECK:       VarName: l1
275 ; CHECK:     }
276 ; CHECK:     LocalSym {
277 ; CHECK:       Type: long (0x12)
278 ; CHECK:       VarName: l2
279 ; CHECK:     }
280 ; CHECK:     LocalSym {
281 ; CHECK:       Type: unsigned long (0x22)
282 ; CHECK:       VarName: l3
283 ; CHECK:     }
284 ; CHECK:     LocalSym {
285 ; CHECK:       Type: unsigned long (0x22)
286 ; CHECK:       VarName: l4
287 ; CHECK:     }
288 ; CHECK:     LocalSym {
289 ; CHECK:       Type: const void* (0x1010)
290 ; CHECK:       VarName: v6
291 ; CHECK:     }
292 ; CHECK:     ProcEnd {
293 ; CHECK:     }
294 ; CHECK:   ]
295 ; CHECK:   Subsection [
296 ; CHECK:     {{.*}}Proc{{.*}}Sym {
297 ; CHECK:       Type: CharTypes (0x1012)
298 ; CHECK:       DisplayName: CharTypes
299 ; CHECK:       LinkageName: ?CharTypes@@YAXXZ
300 ; CHECK:     }
301 ; CHECK:     LocalSym {
302 ; CHECK:       Type: wchar_t (0x71)
303 ; CHECK:       Flags [ (0x0)
304 ; CHECK:       ]
305 ; CHECK:       VarName: w
306 ; CHECK:     }
307 ; CHECK:     LocalSym {
308 ; CHECK:       Type: unsigned short (0x21)
309 ; CHECK:       Flags [ (0x0)
310 ; CHECK:       ]
311 ; CHECK:       VarName: us
312 ; CHECK:     }
313 ; CHECK:     LocalSym {
314 ; CHECK:       Type: char (0x70)
315 ; CHECK:       Flags [ (0x0)
316 ; CHECK:       ]
317 ; CHECK:       VarName: c
318 ; CHECK:     }
319 ; CHECK:     LocalSym {
320 ; CHECK:       Type: unsigned char (0x20)
321 ; CHECK:       Flags [ (0x0)
322 ; CHECK:       ]
323 ; CHECK:       VarName: uc
324 ; CHECK:     }
325 ; CHECK:     LocalSym {
326 ; CHECK:       Type: signed char (0x10)
327 ; CHECK:       Flags [ (0x0)
328 ; CHECK:       ]
329 ; CHECK:       VarName: sc
330 ; CHECK:     }
331 ; CHECK:     LocalSym {
332 ; CHECK:       Type: char16_t (0x7A)
333 ; CHECK:       Flags [ (0x0)
334 ; CHECK:       ]
335 ; CHECK:       VarName: c16
336 ; CHECK:     }
337 ; CHECK:     LocalSym {
338 ; CHECK:       Type: char32_t (0x7B)
339 ; CHECK:       Flags [ (0x0)
340 ; CHECK:       ]
341 ; CHECK:       VarName: c32
342 ; CHECK:     }
343 ; CHECK:     ProcEnd {
344 ; CHECK:     }
345 ; CHECK:   ]
346 ; CHECK: ]
348 ; ModuleID = 't.cpp'
349 source_filename = "t.cpp"
350 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
351 target triple = "x86_64-pc-windows-msvc19.0.23918"
353 %struct.A = type { i32 }
355 ; Function Attrs: uwtable
356 define void @"\01?f@@YAXMN_J@Z"(float %p1, double %p2, i64 %p3) #0 !dbg !7 {
357 entry:
358   %p3.addr = alloca i64, align 8
359   %p2.addr = alloca double, align 8
360   %p1.addr = alloca float, align 4
361   %v1 = alloca i32, align 4
362   %v2 = alloca i32*, align 8
363   %v21 = alloca i32*, align 8
364   %v3 = alloca i8*, align 8
365   %v4 = alloca i32, align 8
366   %v5 = alloca i8*, align 8
367   %l1 = alloca i32, align 4
368   %l2 = alloca i32, align 4
369   %l3 = alloca i32, align 4
370   %l4 = alloca i32, align 4
371   %v6 = alloca i8*, align 8
372   store i64 %p3, i64* %p3.addr, align 8
373   call void @llvm.dbg.declare(metadata i64* %p3.addr, metadata !13, metadata !14), !dbg !15
374   store double %p2, double* %p2.addr, align 8
375   call void @llvm.dbg.declare(metadata double* %p2.addr, metadata !16, metadata !14), !dbg !17
376   store float %p1, float* %p1.addr, align 4
377   call void @llvm.dbg.declare(metadata float* %p1.addr, metadata !18, metadata !14), !dbg !19
378   call void @llvm.dbg.declare(metadata i32* %v1, metadata !20, metadata !14), !dbg !22
379   %0 = load i64, i64* %p3.addr, align 8, !dbg !23
380   %conv = trunc i64 %0 to i32, !dbg !23
381   store i32 %conv, i32* %v1, align 4, !dbg !22
382   call void @llvm.dbg.declare(metadata i32** %v2, metadata !24, metadata !14), !dbg !26
383   store i32* %v1, i32** %v2, align 8, !dbg !26
384   call void @llvm.dbg.declare(metadata i32** %v21, metadata !27, metadata !14), !dbg !30
385   store i32* %v1, i32** %v21, align 8, !dbg !30
386   call void @llvm.dbg.declare(metadata i8** %v3, metadata !31, metadata !14), !dbg !33
387   %1 = bitcast i32* %v1 to i8*, !dbg !34
388   store i8* %1, i8** %v3, align 8, !dbg !33
389   call void @llvm.dbg.declare(metadata i32* %v4, metadata !35, metadata !14), !dbg !44
390   store i32 0, i32* %v4, align 8, !dbg !44
391   call void @llvm.dbg.declare(metadata i8** %v5, metadata !45, metadata !14), !dbg !47
392   store i8* bitcast (void (%struct.A*)* @"\01?f@A@@QEAAXXZ" to i8*), i8** %v5, align 8, !dbg !47
393   call void @llvm.dbg.declare(metadata i32* %l1, metadata !48, metadata !14), !dbg !50
394   store i32 0, i32* %l1, align 4, !dbg !50
395   call void @llvm.dbg.declare(metadata i32* %l2, metadata !51, metadata !14), !dbg !52
396   store i32 0, i32* %l2, align 4, !dbg !52
397   call void @llvm.dbg.declare(metadata i32* %l3, metadata !53, metadata !14), !dbg !55
398   store i32 0, i32* %l3, align 4, !dbg !55
399   call void @llvm.dbg.declare(metadata i32* %l4, metadata !56, metadata !14), !dbg !57
400   store i32 0, i32* %l4, align 4, !dbg !57
401   call void @llvm.dbg.declare(metadata i8** %v6, metadata !58, metadata !14), !dbg !61
402   %2 = bitcast i32* %v1 to i8*, !dbg !62
403   store i8* %2, i8** %v6, align 8, !dbg !61
404   %3 = load i32, i32* %l4, align 4, !dbg !63
405   %4 = load i32, i32* %l3, align 4, !dbg !64
406   %5 = load i32, i32* %l2, align 4, !dbg !65
407   %6 = load i32, i32* %l1, align 4, !dbg !66
408   %7 = load i8*, i8** %v3, align 8, !dbg !67
409   %8 = load i32*, i32** %v2, align 8, !dbg !68
410   %9 = load i32, i32* %v1, align 4, !dbg !69
411   call void (i32, ...) @"\01?usevars@@YAXHZZ"(i32 %9, i32* %8, i8* %7, i32 %6, i32 %5, i32 %4, i32 %3), !dbg !70
412   ret void, !dbg !71
415 ; Function Attrs: nounwind readnone
416 declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
418 declare void @"\01?f@A@@QEAAXXZ"(%struct.A*) #2
420 declare void @"\01?usevars@@YAXHZZ"(i32, ...) #2
422 ; Function Attrs: nounwind uwtable
423 define void @"\01?CharTypes@@YAXXZ"() #3 !dbg !72 {
424 entry:
425   %w = alloca i16, align 2
426   %us = alloca i16, align 2
427   %c = alloca i8, align 1
428   %uc = alloca i8, align 1
429   %sc = alloca i8, align 1
430   %c16 = alloca i16, align 2
431   %c32 = alloca i32, align 4
432   call void @llvm.dbg.declare(metadata i16* %w, metadata !75, metadata !14), !dbg !77
433   call void @llvm.dbg.declare(metadata i16* %us, metadata !78, metadata !14), !dbg !80
434   call void @llvm.dbg.declare(metadata i8* %c, metadata !81, metadata !14), !dbg !83
435   call void @llvm.dbg.declare(metadata i8* %uc, metadata !84, metadata !14), !dbg !86
436   call void @llvm.dbg.declare(metadata i8* %sc, metadata !87, metadata !14), !dbg !89
437   call void @llvm.dbg.declare(metadata i16* %c16, metadata !90, metadata !14), !dbg !92
438   call void @llvm.dbg.declare(metadata i32* %c32, metadata !93, metadata !14), !dbg !95
439   ret void, !dbg !96
442 attributes #0 = { uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
443 attributes #1 = { nounwind readnone }
444 attributes #2 = { "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
445 attributes #3 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
447 !llvm.dbg.cu = !{!0}
448 !llvm.module.flags = !{!3, !4, !5}
449 !llvm.ident = !{!6}
451 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.9.0 ", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
452 !1 = !DIFile(filename: "t.cpp", directory: "D:\5Csrc\5Cllvm\5Cbuild")
453 !2 = !{}
454 !3 = !{i32 2, !"CodeView", i32 1}
455 !4 = !{i32 2, !"Debug Info Version", i32 3}
456 !5 = !{i32 1, !"PIC Level", i32 2}
457 !6 = !{!"clang version 3.9.0 "}
458 !7 = distinct !DISubprogram(name: "f", linkageName: "\01?f@@YAXMN_J@Z", scope: !1, file: !1, line: 6, type: !8, isLocal: false, isDefinition: true, scopeLine: 6, flags: DIFlagPrototyped, isOptimized: false, unit: !0, retainedNodes: !2)
459 !8 = !DISubroutineType(types: !9)
460 !9 = !{null, !10, !11, !12}
461 !10 = !DIBasicType(name: "float", size: 32, align: 32, encoding: DW_ATE_float)
462 !11 = !DIBasicType(name: "double", size: 64, align: 64, encoding: DW_ATE_float)
463 !12 = !DIBasicType(name: "long long int", size: 64, align: 64, encoding: DW_ATE_signed)
464 !13 = !DILocalVariable(name: "p3", arg: 3, scope: !7, file: !1, line: 6, type: !12)
465 !14 = !DIExpression()
466 !15 = !DILocation(line: 6, column: 39, scope: !7)
467 !16 = !DILocalVariable(name: "p2", arg: 2, scope: !7, file: !1, line: 6, type: !11)
468 !17 = !DILocation(line: 6, column: 25, scope: !7)
469 !18 = !DILocalVariable(name: "p1", arg: 1, scope: !7, file: !1, line: 6, type: !10)
470 !19 = !DILocation(line: 6, column: 14, scope: !7)
471 !20 = !DILocalVariable(name: "v1", scope: !7, file: !1, line: 7, type: !21)
472 !21 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
473 !22 = !DILocation(line: 7, column: 7, scope: !7)
474 !23 = !DILocation(line: 7, column: 12, scope: !7)
475 !24 = !DILocalVariable(name: "v2", scope: !7, file: !1, line: 8, type: !25)
476 !25 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !21, size: 64, align: 64)
477 !26 = !DILocation(line: 8, column: 8, scope: !7)
478 !27 = !DILocalVariable(name: "v21", scope: !7, file: !1, line: 9, type: !28)
479 !28 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !29, size: 64, align: 64)
480 !29 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !21)
481 !30 = !DILocation(line: 9, column: 14, scope: !7)
482 !31 = !DILocalVariable(name: "v3", scope: !7, file: !1, line: 10, type: !32)
483 !32 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64, align: 64)
484 !33 = !DILocation(line: 10, column: 9, scope: !7)
485 !34 = !DILocation(line: 10, column: 14, scope: !7)
486 !35 = !DILocalVariable(name: "v4", scope: !7, file: !1, line: 11, type: !36)
487 !36 = !DIDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: !21, size: 32, extraData: !37)
488 !37 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "A", file: !1, line: 1, size: 32, align: 32, elements: !38)
489 !38 = !{!39, !40}
490 !39 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !37, file: !1, line: 2, baseType: !21, size: 32, align: 32)
491 !40 = !DISubprogram(name: "A::f", linkageName: "\01?f@A@@QEAAXXZ", scope: !37, file: !1, line: 3, type: !41, isLocal: false, isDefinition: false, scopeLine: 3, flags: DIFlagPrototyped, isOptimized: false)
492 !41 = !DISubroutineType(types: !42)
493 !42 = !{null, !43}
494 !43 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !37, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
495 !44 = !DILocation(line: 11, column: 11, scope: !7)
496 !45 = !DILocalVariable(name: "v5", scope: !7, file: !1, line: 12, type: !46)
497 !46 = !DIDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: !41, size: 64, extraData: !37)
498 !47 = !DILocation(line: 12, column: 13, scope: !7)
499 !48 = !DILocalVariable(name: "l1", scope: !7, file: !1, line: 13, type: !49)
500 !49 = !DIBasicType(name: "long int", size: 32, align: 32, encoding: DW_ATE_signed)
501 !50 = !DILocation(line: 13, column: 8, scope: !7)
502 !51 = !DILocalVariable(name: "l2", scope: !7, file: !1, line: 14, type: !49)
503 !52 = !DILocation(line: 14, column: 12, scope: !7)
504 !53 = !DILocalVariable(name: "l3", scope: !7, file: !1, line: 15, type: !54)
505 !54 = !DIBasicType(name: "long unsigned int", size: 32, align: 32, encoding: DW_ATE_unsigned)
506 !55 = !DILocation(line: 15, column: 17, scope: !7)
507 !56 = !DILocalVariable(name: "l4", scope: !7, file: !1, line: 16, type: !54)
508 !57 = !DILocation(line: 16, column: 21, scope: !7)
509 !58 = !DILocalVariable(name: "v6", scope: !7, file: !1, line: 17, type: !59)
510 !59 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !60, size: 64, align: 64)
511 !60 = !DIDerivedType(tag: DW_TAG_const_type, baseType: null)
512 !61 = !DILocation(line: 17, column: 15, scope: !7)
513 !62 = !DILocation(line: 17, column: 20, scope: !7)
514 !63 = !DILocation(line: 18, column: 35, scope: !7)
515 !64 = !DILocation(line: 18, column: 31, scope: !7)
516 !65 = !DILocation(line: 18, column: 27, scope: !7)
517 !66 = !DILocation(line: 18, column: 23, scope: !7)
518 !67 = !DILocation(line: 18, column: 19, scope: !7)
519 !68 = !DILocation(line: 18, column: 15, scope: !7)
520 !69 = !DILocation(line: 18, column: 11, scope: !7)
521 !70 = !DILocation(line: 18, column: 3, scope: !7)
522 !71 = !DILocation(line: 19, column: 1, scope: !7)
523 !72 = distinct !DISubprogram(name: "CharTypes", linkageName: "\01?CharTypes@@YAXXZ", scope: !1, file: !1, line: 20, type: !73, isLocal: false, isDefinition: true, scopeLine: 20, flags: DIFlagPrototyped, isOptimized: false, unit: !0, retainedNodes: !2)
524 !73 = !DISubroutineType(types: !74)
525 !74 = !{null}
526 !75 = !DILocalVariable(name: "w", scope: !72, file: !1, line: 21, type: !76)
527 !76 = !DIBasicType(name: "wchar_t", size: 16, align: 16, encoding: DW_ATE_unsigned)
528 !77 = !DILocation(line: 21, column: 18, scope: !72)
529 !78 = !DILocalVariable(name: "us", scope: !72, file: !1, line: 22, type: !79)
530 !79 = !DIBasicType(name: "unsigned short", size: 16, align: 16, encoding: DW_ATE_unsigned)
531 !80 = !DILocation(line: 22, column: 18, scope: !72)
532 !81 = !DILocalVariable(name: "c", scope: !72, file: !1, line: 23, type: !82)
533 !82 = !DIBasicType(name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char)
534 !83 = !DILocation(line: 23, column: 8, scope: !72)
535 !84 = !DILocalVariable(name: "uc", scope: !72, file: !1, line: 24, type: !85)
536 !85 = !DIBasicType(name: "unsigned char", size: 8, align: 8, encoding: DW_ATE_unsigned_char)
537 !86 = !DILocation(line: 24, column: 17, scope: !72)
538 !87 = !DILocalVariable(name: "sc", scope: !72, file: !1, line: 25, type: !88)
539 !88 = !DIBasicType(name: "signed char", size: 8, align: 8, encoding: DW_ATE_signed_char)
540 !89 = !DILocation(line: 25, column: 15, scope: !72)
541 !90 = !DILocalVariable(name: "c16", scope: !72, file: !1, line: 26, type: !91)
542 !91 = !DIBasicType(name: "char16_t", size: 16, align: 16, encoding: DW_ATE_UTF)
543 !92 = !DILocation(line: 26, column: 12, scope: !72)
544 !93 = !DILocalVariable(name: "c32", scope: !72, file: !1, line: 27, type: !94)
545 !94 = !DIBasicType(name: "char32_t", size: 32, align: 32, encoding: DW_ATE_UTF)
546 !95 = !DILocation(line: 27, column: 12, scope: !72)
547 !96 = !DILocation(line: 28, column: 1, scope: !72)