blob: 4e059e6009d79f414d180f81be613d9927f4e610 [file] [log] [blame]
Reid Klecknerb5af11d2016-07-01 02:41:21 +00001; RUN: llc < %s -filetype=obj | llvm-readobj - -codeview | FileCheck %s
2
3; C++ source used to generate IR:
4; $ cat t.cpp
5; struct A {
6; virtual int f();
7; };
8; struct B {
9; virtual int g() = 0;
10; };
11; struct C : A, B {
12; int c = 42;
13; virtual int g();
14; };
15; int C::g() { return c; }
16; struct D : virtual B {
17; int d = 13;
18; virtual int g();
19; };
20; int D::g() { return d; }
21; $ clang t.cpp -S -emit-llvm -fstandalone-debug -g -gcodeview -o t.ll
22
23; A::f
24; CHECK: MemberFunction ({{.*}}) {
25; CHECK-NEXT: TypeLeafKind: LF_MFUNCTION (0x1009)
26; CHECK-NEXT: ReturnType: int (0x74)
27; CHECK-NEXT: ClassType: A ({{.*}})
28; CHECK-NEXT: ThisType: A* ({{.*}})
29; CHECK-NEXT: CallingConvention: NearC (0x0)
30; CHECK-NEXT: FunctionOptions [ (0x0)
31; CHECK-NEXT: ]
32; CHECK-NEXT: NumParameters: 0
33; CHECK-NEXT: ArgListType: () ({{.*}})
34; CHECK-NEXT: ThisAdjustment: 0
35; CHECK-NEXT: }
36
37; A::g
38; CHECK: MemberFunction ({{.*}}) {
39; CHECK-NEXT: TypeLeafKind: LF_MFUNCTION (0x1009)
40; CHECK-NEXT: ReturnType: int (0x74)
41; CHECK-NEXT: ClassType: B ({{.*}})
42; CHECK-NEXT: ThisType: B* ({{.*}})
43; CHECK-NEXT: CallingConvention: NearC (0x0)
44; CHECK-NEXT: FunctionOptions [ (0x0)
45; CHECK-NEXT: ]
46; CHECK-NEXT: NumParameters: 0
47; CHECK-NEXT: ArgListType: () ({{.*}})
48; CHECK-NEXT: ThisAdjustment: 0
49; CHECK-NEXT: }
50
51; C::g
52; CHECK: MemberFunction ([[C_g:.*]]) {
53; CHECK-NEXT: TypeLeafKind: LF_MFUNCTION (0x1009)
54; CHECK-NEXT: ReturnType: int (0x74)
55; CHECK-NEXT: ClassType: C ({{.*}})
56; CHECK-NEXT: ThisType: C* ({{.*}})
57; CHECK-NEXT: CallingConvention: NearC (0x0)
58; CHECK-NEXT: FunctionOptions [ (0x0)
59; CHECK-NEXT: ]
60; CHECK-NEXT: NumParameters: 0
61; CHECK-NEXT: ArgListType: () ({{.*}})
62; CHECK-NEXT: ThisAdjustment: 8
63; CHECK-NEXT: }
64
65; CHECK: FieldList ({{.*}}) {
66; CHECK: OneMethod {
Zachary Turnerac5763e2016-08-18 16:49:29 +000067; CHECK-NEXT: TypeLeafKind: LF_ONEMETHOD (0x1511)
Reid Klecknerb5af11d2016-07-01 02:41:21 +000068; CHECK-NEXT: AccessSpecifier: Public (0x3)
69; CHECK-NEXT: MethodKind: Virtual (0x1)
70; CHECK-NEXT: Type: int C::() ([[C_g]])
71; CHECK-NEXT: Name: g
72; CHECK-NEXT: }
73; CHECK-NEXT: }
74
75; D::g
76; CHECK: MemberFunction ([[D_g:.*]]) {
77; CHECK-NEXT: TypeLeafKind: LF_MFUNCTION (0x1009)
78; CHECK-NEXT: ReturnType: int (0x74)
79; CHECK-NEXT: ClassType: D ({{.*}})
80; CHECK-NEXT: ThisType: D* ({{.*}})
81; CHECK-NEXT: CallingConvention: NearC (0x0)
82; CHECK-NEXT: FunctionOptions [ (0x0)
83; CHECK-NEXT: ]
84; CHECK-NEXT: NumParameters: 0
85; CHECK-NEXT: ArgListType: () ({{.*}})
86; CHECK-NEXT: ThisAdjustment: 16
87; CHECK-NEXT: }
88
89; CHECK: FieldList ({{.*}}) {
90; CHECK: OneMethod {
Zachary Turnerac5763e2016-08-18 16:49:29 +000091; CHECK-NEXT: TypeLeafKind: LF_ONEMETHOD (0x1511)
Reid Klecknerb5af11d2016-07-01 02:41:21 +000092; CHECK-NEXT: AccessSpecifier: Public (0x3)
93; CHECK-NEXT: MethodKind: Virtual (0x1)
94; CHECK-NEXT: Type: int D::() ([[D_g]])
95; CHECK-NEXT: Name: g
96; CHECK-NEXT: }
97; CHECK-NEXT: }
98
99; Need to skip constructor IDs...
100; CHECK: MemberFuncId ({{.*}}) {
101; CHECK: TypeLeafKind: LF_MFUNC_ID (0x1602)
102; CHECK: ClassType: A
103; CHECK: FunctionType: void A::()
104; CHECK: Name: A
105; CHECK: }
106; CHECK: MemberFuncId ({{.*}}) {
107; CHECK: TypeLeafKind: LF_MFUNC_ID (0x1602)
108; CHECK: ClassType: B
109; CHECK: FunctionType: void B::()
110; CHECK: Name: B
111; CHECK: }
112; CHECK: MemberFuncId ({{.*}}) {
113; CHECK: TypeLeafKind: LF_MFUNC_ID (0x1602)
114; CHECK: ClassType: C
115; CHECK: FunctionType: void C::()
116; CHECK: Name: C
117; CHECK: }
118; CHECK: MemberFuncId ({{.*}}) {
119; CHECK: TypeLeafKind: LF_MFUNC_ID (0x1602)
120; CHECK: ClassType: D
121; CHECK: FunctionType: void D::()
122; CHECK: Name: D
123; CHECK: }
124
125; CHECK: MemberFuncId ({{.*}}) {
126; CHECK-NEXT: TypeLeafKind: LF_MFUNC_ID (0x1602)
127; CHECK-NEXT: ClassType: C ({{.*}})
128; CHECK-NEXT: FunctionType: int C::() ([[C_g]])
129; CHECK-NEXT: Name: g
130; CHECK-NEXT: }
131
132; CHECK: MemberFuncId ({{.*}}) {
133; CHECK-NEXT: TypeLeafKind: LF_MFUNC_ID (0x1602)
134; CHECK-NEXT: ClassType: D ({{.*}})
135; CHECK-NEXT: FunctionType: int D::() ([[D_g]])
136; CHECK-NEXT: Name: g
137; CHECK-NEXT: }
138
139; ModuleID = 't.cpp'
140source_filename = "t.cpp"
141target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
142target triple = "x86_64-pc-windows-msvc19.0.23918"
143
144%struct.A = type { i32 (...)** }
145%struct.B = type { i32 (...)** }
146%struct.C = type { %struct.A, %struct.B, i32 }
147%struct.D = type { i32*, i32, %struct.B }
148
149$"\01??0A@@QEAA@XZ" = comdat any
150
151$"\01??0B@@QEAA@XZ" = comdat any
152
153$"\01??0C@@QEAA@XZ" = comdat any
154
155$"\01??0D@@QEAA@XZ" = comdat any
156
157$"\01?g@C@@UEAAHXZ" = comdat any
158
159$"\01?g@D@@UEAAHXZ" = comdat any
160
161$"\01??_7A@@6B@" = comdat any
162
163$"\01??_7B@@6B@" = comdat any
164
165$"\01??_7C@@6BA@@@" = comdat any
166
167$"\01??_7C@@6BB@@@" = comdat any
168
169$"\01??_8D@@7B@" = comdat any
170
171$"\01??_7D@@6B@" = comdat any
172
173@"\01??_7A@@6B@" = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast (i32 (%struct.A*)* @"\01?f@A@@UEAAHXZ" to i8*)], comdat
174@"\01??_7B@@6B@" = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast (i32 (%struct.B*)* @"\01?g@B@@UEAAHXZ" to i8*)], comdat
175@"\01??_7C@@6BA@@@" = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast (i32 (%struct.A*)* @"\01?f@A@@UEAAHXZ" to i8*)], comdat
176@"\01??_7C@@6BB@@@" = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast (i32 (i8*)* @"\01?g@C@@UEAAHXZ" to i8*)], comdat
177@"\01??_8D@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 16], comdat
178@"\01??_7D@@6B@" = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast (i32 (i8*)* @"\01?g@D@@UEAAHXZ" to i8*)], comdat
179
180; Function Attrs: uwtable
181define void @"\01?usetypes@@YAXXZ"() #0 !dbg !7 {
182entry:
183 %a = alloca %struct.A, align 8
184 %b = alloca %struct.B, align 8
185 %c = alloca %struct.C, align 8
186 %d = alloca %struct.D, align 8
187 call void @llvm.dbg.declare(metadata %struct.A* %a, metadata !10, metadata !23), !dbg !24
188 %call = call %struct.A* @"\01??0A@@QEAA@XZ"(%struct.A* %a) #5, !dbg !24
189 call void @llvm.dbg.declare(metadata %struct.B* %b, metadata !25, metadata !23), !dbg !33
190 %call1 = call %struct.B* @"\01??0B@@QEAA@XZ"(%struct.B* %b) #5, !dbg !33
191 call void @llvm.dbg.declare(metadata %struct.C* %c, metadata !34, metadata !23), !dbg !44
192 %call2 = call %struct.C* @"\01??0C@@QEAA@XZ"(%struct.C* %c) #5, !dbg !44
193 call void @llvm.dbg.declare(metadata %struct.D* %d, metadata !45, metadata !23), !dbg !55
194 %call3 = call %struct.D* @"\01??0D@@QEAA@XZ"(%struct.D* %d, i32 1) #5, !dbg !55
195 %0 = bitcast %struct.C* %c to i8*, !dbg !56
196 %1 = getelementptr i8, i8* %0, i64 8, !dbg !56
197 %call4 = call i32 @"\01?g@C@@UEAAHXZ"(i8* %1), !dbg !56
198 ret void, !dbg !57
199}
200
201; Function Attrs: nounwind readnone
202declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
203
204; Function Attrs: inlinehint nounwind uwtable
205define linkonce_odr %struct.A* @"\01??0A@@QEAA@XZ"(%struct.A* returned %this) unnamed_addr #2 comdat align 2 !dbg !58 {
206entry:
207 %this.addr = alloca %struct.A*, align 8
208 store %struct.A* %this, %struct.A** %this.addr, align 8
209 call void @llvm.dbg.declare(metadata %struct.A** %this.addr, metadata !62, metadata !23), !dbg !64
210 %this1 = load %struct.A*, %struct.A** %this.addr, align 8
211 %0 = bitcast %struct.A* %this1 to i32 (...)***, !dbg !65
212 store i32 (...)** bitcast ([1 x i8*]* @"\01??_7A@@6B@" to i32 (...)**), i32 (...)*** %0, align 8, !dbg !65
213 ret %struct.A* %this1, !dbg !65
214}
215
216; Function Attrs: inlinehint nounwind uwtable
217define linkonce_odr %struct.B* @"\01??0B@@QEAA@XZ"(%struct.B* returned %this) unnamed_addr #2 comdat align 2 !dbg !66 {
218entry:
219 %this.addr = alloca %struct.B*, align 8
220 store %struct.B* %this, %struct.B** %this.addr, align 8
221 call void @llvm.dbg.declare(metadata %struct.B** %this.addr, metadata !70, metadata !23), !dbg !72
222 %this1 = load %struct.B*, %struct.B** %this.addr, align 8
223 %0 = bitcast %struct.B* %this1 to i32 (...)***, !dbg !73
224 store i32 (...)** bitcast ([1 x i8*]* @"\01??_7B@@6B@" to i32 (...)**), i32 (...)*** %0, align 8, !dbg !73
225 ret %struct.B* %this1, !dbg !73
226}
227
228; Function Attrs: inlinehint nounwind uwtable
229define linkonce_odr %struct.C* @"\01??0C@@QEAA@XZ"(%struct.C* returned %this) unnamed_addr #2 comdat align 2 !dbg !74 {
230entry:
231 %this.addr = alloca %struct.C*, align 8
232 store %struct.C* %this, %struct.C** %this.addr, align 8
233 call void @llvm.dbg.declare(metadata %struct.C** %this.addr, metadata !78, metadata !23), !dbg !80
234 %this1 = load %struct.C*, %struct.C** %this.addr, align 8
235 %0 = bitcast %struct.C* %this1 to %struct.A*, !dbg !81
236 %call = call %struct.A* @"\01??0A@@QEAA@XZ"(%struct.A* %0) #5, !dbg !81
237 %1 = bitcast %struct.C* %this1 to i8*, !dbg !81
238 %2 = getelementptr inbounds i8, i8* %1, i64 8, !dbg !81
239 %3 = bitcast i8* %2 to %struct.B*, !dbg !81
240 %call2 = call %struct.B* @"\01??0B@@QEAA@XZ"(%struct.B* %3) #5, !dbg !81
241 %4 = bitcast %struct.C* %this1 to i32 (...)***, !dbg !81
242 store i32 (...)** bitcast ([1 x i8*]* @"\01??_7C@@6BA@@@" to i32 (...)**), i32 (...)*** %4, align 8, !dbg !81
243 %5 = bitcast %struct.C* %this1 to i8*, !dbg !81
244 %add.ptr = getelementptr inbounds i8, i8* %5, i64 8, !dbg !81
245 %6 = bitcast i8* %add.ptr to i32 (...)***, !dbg !81
246 store i32 (...)** bitcast ([1 x i8*]* @"\01??_7C@@6BB@@@" to i32 (...)**), i32 (...)*** %6, align 8, !dbg !81
247 %c = getelementptr inbounds %struct.C, %struct.C* %this1, i32 0, i32 2, !dbg !82
248 store i32 42, i32* %c, align 8, !dbg !82
249 ret %struct.C* %this1, !dbg !81
250}
251
252; Function Attrs: inlinehint nounwind uwtable
253define linkonce_odr %struct.D* @"\01??0D@@QEAA@XZ"(%struct.D* returned %this, i32 %is_most_derived) unnamed_addr #2 comdat align 2 !dbg !83 {
254entry:
255 %retval = alloca %struct.D*, align 8
256 %is_most_derived.addr = alloca i32, align 4
257 %this.addr = alloca %struct.D*, align 8
258 store i32 %is_most_derived, i32* %is_most_derived.addr, align 4
259 call void @llvm.dbg.declare(metadata i32* %is_most_derived.addr, metadata !87, metadata !23), !dbg !88
260 store %struct.D* %this, %struct.D** %this.addr, align 8
261 call void @llvm.dbg.declare(metadata %struct.D** %this.addr, metadata !89, metadata !23), !dbg !88
262 %this1 = load %struct.D*, %struct.D** %this.addr, align 8
263 store %struct.D* %this1, %struct.D** %retval, align 8
264 %is_most_derived2 = load i32, i32* %is_most_derived.addr, align 4
265 %is_complete_object = icmp ne i32 %is_most_derived2, 0, !dbg !91
266 br i1 %is_complete_object, label %ctor.init_vbases, label %ctor.skip_vbases, !dbg !91
267
268ctor.init_vbases: ; preds = %entry
269 %this.int8 = bitcast %struct.D* %this1 to i8*, !dbg !91
270 %0 = getelementptr inbounds i8, i8* %this.int8, i64 0, !dbg !91
271 %vbptr.D = bitcast i8* %0 to i32**, !dbg !91
272 store i32* getelementptr inbounds ([2 x i32], [2 x i32]* @"\01??_8D@@7B@", i32 0, i32 0), i32** %vbptr.D, align 8, !dbg !91
273 %1 = bitcast %struct.D* %this1 to i8*, !dbg !91
274 %2 = getelementptr inbounds i8, i8* %1, i64 16, !dbg !91
275 %3 = bitcast i8* %2 to %struct.B*, !dbg !91
276 %call = call %struct.B* @"\01??0B@@QEAA@XZ"(%struct.B* %3) #5, !dbg !91
277 br label %ctor.skip_vbases, !dbg !91
278
279ctor.skip_vbases: ; preds = %ctor.init_vbases, %entry
280 %4 = bitcast %struct.D* %this1 to i8*, !dbg !91
281 %vbptr = getelementptr inbounds i8, i8* %4, i64 0, !dbg !91
282 %5 = bitcast i8* %vbptr to i32**, !dbg !91
283 %vbtable = load i32*, i32** %5, align 8, !dbg !91
284 %6 = getelementptr inbounds i32, i32* %vbtable, i32 1, !dbg !91
285 %vbase_offs = load i32, i32* %6, align 4, !dbg !91
286 %7 = sext i32 %vbase_offs to i64, !dbg !91
287 %8 = add nsw i64 0, %7, !dbg !91
288 %9 = bitcast %struct.D* %this1 to i8*, !dbg !91
289 %add.ptr = getelementptr inbounds i8, i8* %9, i64 %8, !dbg !91
290 %10 = bitcast i8* %add.ptr to i32 (...)***, !dbg !91
291 store i32 (...)** bitcast ([1 x i8*]* @"\01??_7D@@6B@" to i32 (...)**), i32 (...)*** %10, align 8, !dbg !91
292 %d = getelementptr inbounds %struct.D, %struct.D* %this1, i32 0, i32 1, !dbg !92
293 store i32 13, i32* %d, align 8, !dbg !92
294 %11 = load %struct.D*, %struct.D** %retval, align 8, !dbg !91
295 ret %struct.D* %11, !dbg !91
296}
297
298; Function Attrs: nounwind uwtable
299define linkonce_odr i32 @"\01?g@C@@UEAAHXZ"(i8*) unnamed_addr #3 comdat align 2 !dbg !93 {
300entry:
301 %this.addr = alloca %struct.C*, align 8
302 %1 = getelementptr inbounds i8, i8* %0, i32 -8
303 %this = bitcast i8* %1 to %struct.C*
304 store %struct.C* %this, %struct.C** %this.addr, align 8
305 call void @llvm.dbg.declare(metadata %struct.C** %this.addr, metadata !94, metadata !23), !dbg !95
306 %this1 = load %struct.C*, %struct.C** %this.addr, align 8
307 %c = getelementptr inbounds %struct.C, %struct.C* %this1, i32 0, i32 2, !dbg !96
308 %2 = load i32, i32* %c, align 8, !dbg !96
309 ret i32 %2, !dbg !97
310}
311
312declare i32 @"\01?f@A@@UEAAHXZ"(%struct.A*) unnamed_addr #4
313
314declare i32 @"\01?g@B@@UEAAHXZ"(%struct.B*) unnamed_addr #4
315
316; Function Attrs: nounwind uwtable
317define linkonce_odr i32 @"\01?g@D@@UEAAHXZ"(i8*) unnamed_addr #3 comdat align 2 !dbg !98 {
318entry:
319 %this.addr = alloca %struct.D*, align 8
320 %1 = getelementptr inbounds i8, i8* %0, i32 -16
321 %this = bitcast i8* %1 to %struct.D*
322 store %struct.D* %this, %struct.D** %this.addr, align 8
323 call void @llvm.dbg.declare(metadata %struct.D** %this.addr, metadata !99, metadata !23), !dbg !100
324 %this1 = load %struct.D*, %struct.D** %this.addr, align 8
325 %d = getelementptr inbounds %struct.D, %struct.D* %this1, i32 0, i32 1, !dbg !101
326 %2 = load i32, i32* %d, align 8, !dbg !101
327 ret i32 %2, !dbg !102
328}
329
330attributes #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" }
331attributes #1 = { nounwind readnone }
332attributes #2 = { inlinehint 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" }
333attributes #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" }
334attributes #4 = { "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" }
335attributes #5 = { nounwind }
336
337!llvm.dbg.cu = !{!0}
338!llvm.module.flags = !{!3, !4, !5}
339!llvm.ident = !{!6}
340
341!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)
342!1 = !DIFile(filename: "t.cpp", directory: "D:\5Csrc\5Cllvm\5Cbuild")
343!2 = !{}
344!3 = !{i32 2, !"CodeView", i32 1}
345!4 = !{i32 2, !"Debug Info Version", i32 3}
346!5 = !{i32 1, !"PIC Level", i32 2}
347!6 = !{!"clang version 3.9.0 "}
348!7 = distinct !DISubprogram(name: "usetypes", linkageName: "\01?usetypes@@YAXXZ", scope: !1, file: !1, line: 15, type: !8, isLocal: false, isDefinition: true, scopeLine: 15, flags: DIFlagPrototyped, isOptimized: false, unit: !0, variables: !2)
349!8 = !DISubroutineType(types: !9)
350!9 = !{null}
351!10 = !DILocalVariable(name: "a", scope: !7, file: !1, line: 16, type: !11)
352!11 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "A", file: !1, line: 1, size: 64, align: 64, elements: !12, vtableHolder: !11, identifier: ".?AUA@@")
353!12 = !{!13, !19}
354!13 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$A", scope: !1, file: !1, baseType: !14, size: 64, flags: DIFlagArtificial)
355!14 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !15, size: 64)
356!15 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "__vtbl_ptr_type", baseType: !16, size: 64)
357!16 = !DISubroutineType(types: !17)
358!17 = !{!18}
359!18 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
360!19 = !DISubprogram(name: "f", linkageName: "\01?f@A@@UEAAHXZ", scope: !11, file: !1, line: 2, type: !20, isLocal: false, isDefinition: false, scopeLine: 2, containingType: !11, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, flags: DIFlagPrototyped | DIFlagIntroducedVirtual, isOptimized: false)
361!20 = !DISubroutineType(types: !21)
362!21 = !{!18, !22}
363!22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !11, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
364!23 = !DIExpression()
365!24 = !DILocation(line: 16, column: 5, scope: !7)
366!25 = !DILocalVariable(name: "b", scope: !7, file: !1, line: 17, type: !26)
367!26 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "B", file: !1, line: 4, size: 64, align: 64, elements: !27, vtableHolder: !26, identifier: ".?AUB@@")
368!27 = !{!28, !29}
369!28 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$B", scope: !1, file: !1, baseType: !14, size: 64, flags: DIFlagArtificial)
370!29 = !DISubprogram(name: "g", linkageName: "\01?g@B@@UEAAHXZ", scope: !26, file: !1, line: 5, type: !30, isLocal: false, isDefinition: false, scopeLine: 5, containingType: !26, virtuality: DW_VIRTUALITY_pure_virtual, virtualIndex: 0, flags: DIFlagPrototyped | DIFlagIntroducedVirtual, isOptimized: false)
371!30 = !DISubroutineType(types: !31)
372!31 = !{!18, !32}
373!32 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !26, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
374!33 = !DILocation(line: 17, column: 5, scope: !7)
375!34 = !DILocalVariable(name: "c", scope: !7, file: !1, line: 18, type: !35)
376!35 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "C", file: !1, line: 7, size: 192, align: 64, elements: !36, vtableHolder: !11, identifier: ".?AUC@@")
377!36 = !{!37, !38, !39, !40}
378!37 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !35, baseType: !11)
379!38 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !35, baseType: !26, offset: 64)
380!39 = !DIDerivedType(tag: DW_TAG_member, name: "c", scope: !35, file: !1, line: 8, baseType: !18, size: 32, align: 32, offset: 128)
381!40 = !DISubprogram(name: "g", linkageName: "\01?g@C@@UEAAHXZ", scope: !35, file: !1, line: 9, type: !41, isLocal: false, isDefinition: false, scopeLine: 9, containingType: !35, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, thisAdjustment: 8, flags: DIFlagPrototyped, isOptimized: false)
382!41 = !DISubroutineType(types: !42)
383!42 = !{!18, !43}
384!43 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !35, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
385!44 = !DILocation(line: 18, column: 5, scope: !7)
386!45 = !DILocalVariable(name: "d", scope: !7, file: !1, line: 19, type: !46)
387!46 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "D", file: !1, line: 11, size: 192, align: 64, elements: !47, vtableHolder: !46, identifier: ".?AUD@@")
388!47 = !{!48, !49, !50, !51}
389!48 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !46, baseType: !26, offset: 4, flags: DIFlagVirtual)
390!49 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$D", scope: !1, file: !1, baseType: !14, size: 64, flags: DIFlagArtificial)
391!50 = !DIDerivedType(tag: DW_TAG_member, name: "d", scope: !46, file: !1, line: 12, baseType: !18, size: 32, align: 32, offset: 64)
392!51 = !DISubprogram(name: "g", linkageName: "\01?g@D@@UEAAHXZ", scope: !46, file: !1, line: 13, type: !52, isLocal: false, isDefinition: false, scopeLine: 13, containingType: !46, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, thisAdjustment: 16, flags: DIFlagPrototyped, isOptimized: false)
393!52 = !DISubroutineType(types: !53)
394!53 = !{!18, !54}
395!54 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !46, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
396!55 = !DILocation(line: 19, column: 5, scope: !7)
397!56 = !DILocation(line: 20, column: 5, scope: !7)
398!57 = !DILocation(line: 21, column: 1, scope: !7)
399!58 = distinct !DISubprogram(name: "A", linkageName: "\01??0A@@QEAA@XZ", scope: !11, file: !1, line: 1, type: !59, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !61, variables: !2)
400!59 = !DISubroutineType(types: !60)
401!60 = !{null, !22}
402!61 = !DISubprogram(name: "A", scope: !11, type: !59, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
403!62 = !DILocalVariable(name: "this", arg: 1, scope: !58, type: !63, flags: DIFlagArtificial | DIFlagObjectPointer)
404!63 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !11, size: 64, align: 64)
405!64 = !DILocation(line: 0, scope: !58)
406!65 = !DILocation(line: 1, column: 8, scope: !58)
407!66 = distinct !DISubprogram(name: "B", linkageName: "\01??0B@@QEAA@XZ", scope: !26, file: !1, line: 4, type: !67, isLocal: false, isDefinition: true, scopeLine: 4, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !69, variables: !2)
408!67 = !DISubroutineType(types: !68)
409!68 = !{null, !32}
410!69 = !DISubprogram(name: "B", scope: !26, type: !67, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
411!70 = !DILocalVariable(name: "this", arg: 1, scope: !66, type: !71, flags: DIFlagArtificial | DIFlagObjectPointer)
412!71 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !26, size: 64, align: 64)
413!72 = !DILocation(line: 0, scope: !66)
414!73 = !DILocation(line: 4, column: 8, scope: !66)
415!74 = distinct !DISubprogram(name: "C", linkageName: "\01??0C@@QEAA@XZ", scope: !35, file: !1, line: 7, type: !75, isLocal: false, isDefinition: true, scopeLine: 7, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !77, variables: !2)
416!75 = !DISubroutineType(types: !76)
417!76 = !{null, !43}
418!77 = !DISubprogram(name: "C", scope: !35, type: !75, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
419!78 = !DILocalVariable(name: "this", arg: 1, scope: !74, type: !79, flags: DIFlagArtificial | DIFlagObjectPointer)
420!79 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !35, size: 64, align: 64)
421!80 = !DILocation(line: 0, scope: !74)
422!81 = !DILocation(line: 7, column: 8, scope: !74)
423!82 = !DILocation(line: 8, column: 7, scope: !74)
424!83 = distinct !DISubprogram(name: "D", linkageName: "\01??0D@@QEAA@XZ", scope: !46, file: !1, line: 11, type: !84, isLocal: false, isDefinition: true, scopeLine: 11, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !86, variables: !2)
425!84 = !DISubroutineType(types: !85)
426!85 = !{null, !54}
427!86 = !DISubprogram(name: "D", scope: !46, type: !84, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
428!87 = !DILocalVariable(name: "is_most_derived", arg: 2, scope: !83, type: !18, flags: DIFlagArtificial)
429!88 = !DILocation(line: 0, scope: !83)
430!89 = !DILocalVariable(name: "this", arg: 1, scope: !83, type: !90, flags: DIFlagArtificial | DIFlagObjectPointer)
431!90 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !46, size: 64, align: 64)
432!91 = !DILocation(line: 11, column: 8, scope: !83)
433!92 = !DILocation(line: 12, column: 7, scope: !83)
434!93 = distinct !DISubprogram(name: "g", linkageName: "\01?g@C@@UEAAHXZ", scope: !35, file: !1, line: 9, type: !41, isLocal: false, isDefinition: true, scopeLine: 9, flags: DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !40, variables: !2)
435!94 = !DILocalVariable(name: "this", arg: 1, scope: !93, type: !79, flags: DIFlagArtificial | DIFlagObjectPointer)
436!95 = !DILocation(line: 0, scope: !93)
437!96 = !DILocation(line: 9, column: 28, scope: !93)
438!97 = !DILocation(line: 9, column: 21, scope: !93)
439!98 = distinct !DISubprogram(name: "g", linkageName: "\01?g@D@@UEAAHXZ", scope: !46, file: !1, line: 13, type: !52, isLocal: false, isDefinition: true, scopeLine: 13, flags: DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !51, variables: !2)
440!99 = !DILocalVariable(name: "this", arg: 1, scope: !98, type: !90, flags: DIFlagArtificial | DIFlagObjectPointer)
441!100 = !DILocation(line: 0, scope: !98)
442!101 = !DILocation(line: 13, column: 28, scope: !98)
443!102 = !DILocation(line: 13, column: 21, scope: !98)