1; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s
2; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s
3
4; C++ source to regenerate:
5; struct A {
6;   virtual void f();
7;   virtual void g();
8;   int a = 0;
9; };
10; struct B {
11;   virtual void g();
12;   virtual void f();
13;   int b = 0;
14; };
15; struct C : A, B {
16;   virtual void g();
17;   virtual void f();
18;   int c = 0;
19; };
20; struct D : C {
21;   virtual void g();
22;   virtual void f();
23;   int d = 0;
24; };
25; void h() { D d; }
26
27; CHECK:       VFTableShape ([[vshape_1:0x[A-Z0-9]+]]) {
28; CHECK-NEXT:    TypeLeafKind: LF_VTSHAPE (0xA)
29; CHECK-NEXT:    VFEntryCount: 1
30; CHECK-NEXT:  }
31
32; CHECK:       Pointer ([[vptr_1:0x[A-Z0-9]+]]) {
33; CHECK-NEXT:    TypeLeafKind: LF_POINTER (0x1002)
34; CHECK-NEXT:    PointeeType: <vftable 1 methods> ([[vshape_1]])
35
36; CHECK:       FieldList ([[a_members:0x[A-Z0-9]+]]) {
37; CHECK-NEXT:    TypeLeafKind: LF_FIELDLIST (0x1203)
38; CHECK-NEXT:    VFPtr {
39; CHECK-NEXT:      TypeLeafKind: LF_VFUNCTAB (0x1409)
40; CHECK-NEXT:      Type: <vftable 1 methods>* ([[vptr_1]])
41; CHECK-NEXT:    }
42; CHECK-NEXT:    DataMember {
43; CHECK-NEXT:      TypeLeafKind: LF_MEMBER (0x150D)
44; CHECK-NEXT:      AccessSpecifier: Public (0x3)
45; CHECK-NEXT:      Type: int (0x74)
46; CHECK-NEXT:      FieldOffset: 0x8
47; CHECK-NEXT:      Name: a
48; CHECK-NEXT:    }
49; CHECK-NEXT:    OneMethod {
50; CHECK-NEXT:      TypeLeafKind: LF_ONEMETHOD (0x1511)
51; CHECK-NEXT:      AccessSpecifier: Public (0x3)
52; CHECK-NEXT:      MethodKind: IntroducingVirtual (0x4)
53; CHECK-NEXT:      Type: void A::()
54; CHECK-NEXT:      VFTableOffset: 0x0
55; CHECK-NEXT:      Name: g
56; CHECK-NEXT:    }
57; CHECK-NEXT:  }
58
59; CHECK:        Struct ({{.*}}) {
60; CHECK-NEXT:     TypeLeafKind: LF_STRUCTURE (0x1505)
61; CHECK-NEXT:     MemberCount: 3
62; CHECK-NEXT:     Properties [ (0x200)
63; CHECK-NEXT:       HasUniqueName (0x200)
64; CHECK-NEXT:     ]
65; CHECK-NEXT:     FieldList: <field list> ([[a_members]])
66; CHECK-NEXT:     DerivedFrom: 0x0
67; CHECK-NEXT:     VShape: <vftable 1 methods> ([[vshape_1]])
68; CHECK-NEXT:     SizeOf: 16
69; CHECK-NEXT:     Name: A
70; CHECK-NEXT:     LinkageName: .?AUA@@
71; CHECK-NEXT:   }
72
73; CHECK:       VFTableShape ([[vshape_2:0x[A-Z0-9]+]]) {
74; CHECK-NEXT:    TypeLeafKind: LF_VTSHAPE (0xA)
75; CHECK-NEXT:    VFEntryCount: 2
76; CHECK-NEXT:  }
77
78; CHECK:       Pointer ([[vptr_2:0x[A-Z0-9]+]]) {
79; CHECK-NEXT:    TypeLeafKind: LF_POINTER (0x1002)
80; CHECK-NEXT:    PointeeType: <vftable 2 methods> ([[vshape_2]])
81
82; CHECK:       FieldList ([[b_members:0x[A-Z0-9]+]]) {
83; CHECK-NEXT:    TypeLeafKind: LF_FIELDLIST (0x1203)
84; CHECK-NEXT:    VFPtr {
85; CHECK-NEXT:      TypeLeafKind: LF_VFUNCTAB (0x1409)
86; CHECK-NEXT:      Type: <vftable 2 methods>* ([[vptr_2]])
87; CHECK-NEXT:    }
88
89; CHECK:        Struct ({{.*}}) {
90; CHECK-NEXT:     TypeLeafKind: LF_STRUCTURE (0x1505)
91; CHECK-NEXT:     MemberCount: 4
92; CHECK-NEXT:     Properties [ (0x200)
93; CHECK-NEXT:       HasUniqueName (0x200)
94; CHECK-NEXT:     ]
95; CHECK-NEXT:     FieldList: <field list> ([[b_members]])
96; CHECK-NEXT:     DerivedFrom: 0x0
97; CHECK-NEXT:     VShape: <vftable 2 methods> ([[vshape_2]])
98; CHECK-NEXT:     SizeOf: 16
99; CHECK-NEXT:     Name: B
100; CHECK-NEXT:     LinkageName: .?AUB@@
101; CHECK-NEXT:   }
102
103; C has a primary base, so it does not need a VFPtr member.
104
105; CHECK:       FieldList ([[c_members:0x[A-Z0-9]+]]) {
106; CHECK-NEXT:    TypeLeafKind: LF_FIELDLIST (0x1203)
107; CHECK-NEXT:    BaseClass {
108; CHECK-NEXT:      TypeLeafKind: LF_BCLASS (0x1400)
109; CHECK-NEXT:      AccessSpecifier: Public (0x3)
110; CHECK-NEXT:      BaseType: A
111; CHECK-NEXT:      BaseOffset: 0x0
112; CHECK-NEXT:    }
113; CHECK-NEXT:    BaseClass {
114; CHECK-NEXT:      TypeLeafKind: LF_BCLASS (0x1400)
115; CHECK-NEXT:      AccessSpecifier: Public (0x3)
116; CHECK-NEXT:      BaseType: B
117; CHECK-NEXT:      BaseOffset: 0x10
118; CHECK-NEXT:    }
119; CHECK-NOT:     VFPtr
120
121; CHECK:        Struct ({{.*}}) {
122; CHECK-NEXT:     TypeLeafKind: LF_STRUCTURE (0x1505)
123; CHECK-NEXT:     MemberCount: 5
124; CHECK-NEXT:     Properties [ (0x200)
125; CHECK-NEXT:       HasUniqueName (0x200)
126; CHECK-NEXT:     ]
127; CHECK-NEXT:     FieldList: <field list> ([[c_members]])
128; CHECK-NEXT:     DerivedFrom: 0x0
129; CHECK-NEXT:     VShape: <vftable 1 methods> ([[vshape_1]])
130; CHECK-NEXT:     SizeOf: 40
131; CHECK-NEXT:     Name: C
132; CHECK-NEXT:     LinkageName: .?AUC@@
133; CHECK-NEXT:   }
134
135; CHECK:       FieldList ([[d_members:0x[A-Z0-9]+]]) {
136; CHECK-NEXT:    TypeLeafKind: LF_FIELDLIST (0x1203)
137; CHECK-NEXT:    BaseClass {
138; CHECK-NEXT:      TypeLeafKind: LF_BCLASS (0x1400)
139; CHECK-NEXT:      AccessSpecifier: Public (0x3)
140; CHECK-NEXT:      BaseType: C
141; CHECK-NEXT:      BaseOffset: 0x0
142; CHECK-NEXT:    }
143; CHECK-NOT:     VFPtr
144
145; CHECK:        Struct ({{.*}}) {
146; CHECK-NEXT:     TypeLeafKind: LF_STRUCTURE (0x1505)
147; CHECK-NEXT:     MemberCount: 4
148; CHECK-NEXT:     Properties [ (0x200)
149; CHECK-NEXT:       HasUniqueName (0x200)
150; CHECK-NEXT:     ]
151; CHECK-NEXT:     FieldList: <field list> ([[d_members]])
152; CHECK-NEXT:     DerivedFrom: 0x0
153; CHECK-NEXT:     VShape: <vftable 1 methods> ([[vshape_1]])
154; CHECK-NEXT:     SizeOf: 48
155; CHECK-NEXT:     Name: D
156; CHECK-NEXT:     LinkageName: .?AUD@@
157; CHECK-NEXT:   }
158
159; ModuleID = 't.cpp'
160source_filename = "t.cpp"
161target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
162target triple = "x86_64-pc-windows-msvc19.0.24210"
163
164%rtti.CompleteObjectLocator = type { i32, i32, i32, i32, i32, i32 }
165%rtti.TypeDescriptor7 = type { i8**, i8*, [8 x i8] }
166%rtti.ClassHierarchyDescriptor = type { i32, i32, i32, i32 }
167%rtti.BaseClassDescriptor = type { i32, i32, i32, i32, i32, i32, i32 }
168%struct.A = type { i32 (...)**, i32 }
169%struct.B = type { i32 (...)**, i32 }
170%struct.C = type { %struct.A, %struct.B, i32 }
171%struct.D = type { %struct.C, i32 }
172
173$"\01??0A@@QEAA@XZ" = comdat any
174
175$"\01??0B@@QEAA@XZ" = comdat any
176
177$"\01??0C@@QEAA@XZ" = comdat any
178
179$"\01??0D@@QEAA@XZ" = comdat any
180
181$"\01?g@C@@WBA@EAAXXZ" = comdat any
182
183$"\01?g@D@@WBA@EAAXXZ" = comdat any
184
185$"\01??_7A@@6B@" = comdat largest
186
187$"\01??_R4A@@6B@" = comdat any
188
189$"\01??_R0?AUA@@@8" = comdat any
190
191$"\01??_R3A@@8" = comdat any
192
193$"\01??_R2A@@8" = comdat any
194
195$"\01??_R1A@?0A@EA@A@@8" = comdat any
196
197$"\01??_7B@@6B@" = comdat largest
198
199$"\01??_R4B@@6B@" = comdat any
200
201$"\01??_R0?AUB@@@8" = comdat any
202
203$"\01??_R3B@@8" = comdat any
204
205$"\01??_R2B@@8" = comdat any
206
207$"\01??_R1A@?0A@EA@B@@8" = comdat any
208
209$"\01??_7C@@6BA@@@" = comdat largest
210
211$"\01??_7C@@6BB@@@" = comdat largest
212
213$"\01??_R4C@@6BA@@@" = comdat any
214
215$"\01??_R0?AUC@@@8" = comdat any
216
217$"\01??_R3C@@8" = comdat any
218
219$"\01??_R2C@@8" = comdat any
220
221$"\01??_R1A@?0A@EA@C@@8" = comdat any
222
223$"\01??_R1BA@?0A@EA@B@@8" = comdat any
224
225$"\01??_R4C@@6BB@@@" = comdat any
226
227$"\01??_7D@@6BA@@@" = comdat largest
228
229$"\01??_7D@@6BB@@@" = comdat largest
230
231$"\01??_R4D@@6BA@@@" = comdat any
232
233$"\01??_R0?AUD@@@8" = comdat any
234
235$"\01??_R3D@@8" = comdat any
236
237$"\01??_R2D@@8" = comdat any
238
239$"\01??_R1A@?0A@EA@D@@8" = comdat any
240
241$"\01??_R4D@@6BB@@@" = comdat any
242
243@0 = private unnamed_addr constant [2 x i8*] [i8* bitcast (%rtti.CompleteObjectLocator* @"\01??_R4A@@6B@" to i8*), i8* bitcast (void (%struct.A*)* @"\01?g@A@@UEAAXXZ" to i8*)], comdat($"\01??_7A@@6B@")
244@"\01??_R4A@@6B@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 0, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUA@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3A@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.CompleteObjectLocator* @"\01??_R4A@@6B@" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
245@"\01??_7type_info@@6B@" = external constant i8*
246@"\01??_R0?AUA@@@8" = linkonce_odr global %rtti.TypeDescriptor7 { i8** @"\01??_7type_info@@6B@", i8* null, [8 x i8] c".?AUA@@\00" }, comdat
247@__ImageBase = external constant i8
248@"\01??_R3A@@8" = linkonce_odr constant %rtti.ClassHierarchyDescriptor { i32 0, i32 0, i32 1, i32 trunc (i64 sub nuw nsw (i64 ptrtoint ([2 x i32]* @"\01??_R2A@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
249@"\01??_R2A@@8" = linkonce_odr constant [2 x i32] [i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@A@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 0], comdat
250@"\01??_R1A@?0A@EA@A@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUA@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 0, i32 0, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3A@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
251@1 = private unnamed_addr constant [3 x i8*] [i8* bitcast (%rtti.CompleteObjectLocator* @"\01??_R4B@@6B@" to i8*), i8* bitcast (void (%struct.B*)* @"\01?g@B@@UEAAXXZ" to i8*), i8* bitcast (void (%struct.B*)* @"\01?f@B@@UEAAXXZ" to i8*)], comdat($"\01??_7B@@6B@")
252@"\01??_R4B@@6B@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 0, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUB@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3B@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.CompleteObjectLocator* @"\01??_R4B@@6B@" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
253@"\01??_R0?AUB@@@8" = linkonce_odr global %rtti.TypeDescriptor7 { i8** @"\01??_7type_info@@6B@", i8* null, [8 x i8] c".?AUB@@\00" }, comdat
254@"\01??_R3B@@8" = linkonce_odr constant %rtti.ClassHierarchyDescriptor { i32 0, i32 0, i32 1, i32 trunc (i64 sub nuw nsw (i64 ptrtoint ([2 x i32]* @"\01??_R2B@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
255@"\01??_R2B@@8" = linkonce_odr constant [2 x i32] [i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@B@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 0], comdat
256@"\01??_R1A@?0A@EA@B@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUB@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 0, i32 0, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3B@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
257@2 = private unnamed_addr constant [2 x i8*] [i8* bitcast (%rtti.CompleteObjectLocator* @"\01??_R4C@@6BA@@@" to i8*), i8* bitcast (void (%struct.C*)* @"\01?g@C@@UEAAXXZ" to i8*)], comdat($"\01??_7C@@6BA@@@")
258@3 = private unnamed_addr constant [3 x i8*] [i8* bitcast (%rtti.CompleteObjectLocator* @"\01??_R4C@@6BB@@@" to i8*), i8* bitcast (void (%struct.C*)* @"\01?g@C@@WBA@EAAXXZ" to i8*), i8* bitcast (void (i8*)* @"\01?f@C@@UEAAXXZ" to i8*)], comdat($"\01??_7C@@6BB@@@")
259@"\01??_R4C@@6BA@@@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 0, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUC@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3C@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.CompleteObjectLocator* @"\01??_R4C@@6BA@@@" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
260@"\01??_R0?AUC@@@8" = linkonce_odr global %rtti.TypeDescriptor7 { i8** @"\01??_7type_info@@6B@", i8* null, [8 x i8] c".?AUC@@\00" }, comdat
261@"\01??_R3C@@8" = linkonce_odr constant %rtti.ClassHierarchyDescriptor { i32 0, i32 1, i32 3, i32 trunc (i64 sub nuw nsw (i64 ptrtoint ([4 x i32]* @"\01??_R2C@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
262@"\01??_R2C@@8" = linkonce_odr constant [4 x i32] [i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@C@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@A@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1BA@?0A@EA@B@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 0], comdat
263@"\01??_R1A@?0A@EA@C@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUC@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 2, i32 0, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3C@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
264@"\01??_R1BA@?0A@EA@B@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUB@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 0, i32 16, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3B@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
265@"\01??_R4C@@6BB@@@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 16, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUC@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3C@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.CompleteObjectLocator* @"\01??_R4C@@6BB@@@" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
266@4 = private unnamed_addr constant [2 x i8*] [i8* bitcast (%rtti.CompleteObjectLocator* @"\01??_R4D@@6BA@@@" to i8*), i8* bitcast (void (%struct.D*)* @"\01?g@D@@UEAAXXZ" to i8*)], comdat($"\01??_7D@@6BA@@@")
267@5 = private unnamed_addr constant [3 x i8*] [i8* bitcast (%rtti.CompleteObjectLocator* @"\01??_R4D@@6BB@@@" to i8*), i8* bitcast (void (%struct.D*)* @"\01?g@D@@WBA@EAAXXZ" to i8*), i8* bitcast (void (i8*)* @"\01?f@D@@UEAAXXZ" to i8*)], comdat($"\01??_7D@@6BB@@@")
268@"\01??_R4D@@6BA@@@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 0, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUD@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3D@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.CompleteObjectLocator* @"\01??_R4D@@6BA@@@" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
269@"\01??_R0?AUD@@@8" = linkonce_odr global %rtti.TypeDescriptor7 { i8** @"\01??_7type_info@@6B@", i8* null, [8 x i8] c".?AUD@@\00" }, comdat
270@"\01??_R3D@@8" = linkonce_odr constant %rtti.ClassHierarchyDescriptor { i32 0, i32 1, i32 4, i32 trunc (i64 sub nuw nsw (i64 ptrtoint ([5 x i32]* @"\01??_R2D@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
271@"\01??_R2D@@8" = linkonce_odr constant [5 x i32] [i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@D@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@C@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@A@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1BA@?0A@EA@B@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 0], comdat
272@"\01??_R1A@?0A@EA@D@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUD@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 3, i32 0, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3D@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
273@"\01??_R4D@@6BB@@@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 16, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor7* @"\01??_R0?AUD@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3D@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.CompleteObjectLocator* @"\01??_R4D@@6BB@@@" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, comdat
274
275@"\01??_7A@@6B@" = unnamed_addr alias i8*, getelementptr inbounds ([2 x i8*], [2 x i8*]* @0, i32 0, i32 1)
276@"\01??_7B@@6B@" = unnamed_addr alias i8*, getelementptr inbounds ([3 x i8*], [3 x i8*]* @1, i32 0, i32 1)
277@"\01??_7C@@6BA@@@" = unnamed_addr alias i8*, getelementptr inbounds ([2 x i8*], [2 x i8*]* @2, i32 0, i32 1)
278@"\01??_7C@@6BB@@@" = unnamed_addr alias i8*, getelementptr inbounds ([3 x i8*], [3 x i8*]* @3, i32 0, i32 1)
279@"\01??_7D@@6BA@@@" = unnamed_addr alias i8*, getelementptr inbounds ([2 x i8*], [2 x i8*]* @4, i32 0, i32 1)
280@"\01??_7D@@6BB@@@" = unnamed_addr alias i8*, getelementptr inbounds ([3 x i8*], [3 x i8*]* @5, i32 0, i32 1)
281
282; Function Attrs: nounwind uwtable
283define void @"\01?h@@YAXXZ"() #0 !dbg !7 {
284entry:
285  %a = alloca %struct.A, align 8
286  %b = alloca %struct.B, align 8
287  %c = alloca %struct.C, align 8
288  %d = alloca %struct.D, align 8
289  call void @llvm.dbg.declare(metadata %struct.A* %a, metadata !10, metadata !22), !dbg !23
290  %call = call %struct.A* @"\01??0A@@QEAA@XZ"(%struct.A* %a) #5, !dbg !23
291  call void @llvm.dbg.declare(metadata %struct.B* %b, metadata !24, metadata !22), !dbg !36
292  %call1 = call %struct.B* @"\01??0B@@QEAA@XZ"(%struct.B* %b) #5, !dbg !36
293  call void @llvm.dbg.declare(metadata %struct.C* %c, metadata !37, metadata !22), !dbg !48
294  %call2 = call %struct.C* @"\01??0C@@QEAA@XZ"(%struct.C* %c) #5, !dbg !48
295  call void @llvm.dbg.declare(metadata %struct.D* %d, metadata !49, metadata !22), !dbg !59
296  %call3 = call %struct.D* @"\01??0D@@QEAA@XZ"(%struct.D* %d) #5, !dbg !59
297  ret void, !dbg !60
298}
299
300; Function Attrs: nounwind readnone
301declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
302
303; Function Attrs: inlinehint nounwind uwtable
304define linkonce_odr %struct.A* @"\01??0A@@QEAA@XZ"(%struct.A* returned %this) unnamed_addr #2 comdat align 2 !dbg !61 {
305entry:
306  %this.addr = alloca %struct.A*, align 8
307  store %struct.A* %this, %struct.A** %this.addr, align 8
308  call void @llvm.dbg.declare(metadata %struct.A** %this.addr, metadata !63, metadata !22), !dbg !65
309  %this1 = load %struct.A*, %struct.A** %this.addr, align 8
310  %0 = bitcast %struct.A* %this1 to i32 (...)***, !dbg !66
311  store i32 (...)** bitcast (i8** @"\01??_7A@@6B@" to i32 (...)**), i32 (...)*** %0, align 8, !dbg !66
312  %a = getelementptr inbounds %struct.A, %struct.A* %this1, i32 0, i32 1, !dbg !67
313  store i32 0, i32* %a, align 8, !dbg !67
314  ret %struct.A* %this1, !dbg !66
315}
316
317; Function Attrs: inlinehint nounwind uwtable
318define linkonce_odr %struct.B* @"\01??0B@@QEAA@XZ"(%struct.B* returned %this) unnamed_addr #2 comdat align 2 !dbg !68 {
319entry:
320  %this.addr = alloca %struct.B*, align 8
321  store %struct.B* %this, %struct.B** %this.addr, align 8
322  call void @llvm.dbg.declare(metadata %struct.B** %this.addr, metadata !70, metadata !22), !dbg !72
323  %this1 = load %struct.B*, %struct.B** %this.addr, align 8
324  %0 = bitcast %struct.B* %this1 to i32 (...)***, !dbg !73
325  store i32 (...)** bitcast (i8** @"\01??_7B@@6B@" to i32 (...)**), i32 (...)*** %0, align 8, !dbg !73
326  %b = getelementptr inbounds %struct.B, %struct.B* %this1, i32 0, i32 1, !dbg !74
327  store i32 0, i32* %b, align 8, !dbg !74
328  ret %struct.B* %this1, !dbg !73
329}
330
331; Function Attrs: inlinehint nounwind uwtable
332define linkonce_odr %struct.C* @"\01??0C@@QEAA@XZ"(%struct.C* returned %this) unnamed_addr #2 comdat align 2 !dbg !75 {
333entry:
334  %this.addr = alloca %struct.C*, align 8
335  store %struct.C* %this, %struct.C** %this.addr, align 8
336  call void @llvm.dbg.declare(metadata %struct.C** %this.addr, metadata !77, metadata !22), !dbg !79
337  %this1 = load %struct.C*, %struct.C** %this.addr, align 8
338  %0 = bitcast %struct.C* %this1 to %struct.A*, !dbg !80
339  %call = call %struct.A* @"\01??0A@@QEAA@XZ"(%struct.A* %0) #5, !dbg !80
340  %1 = bitcast %struct.C* %this1 to i8*, !dbg !80
341  %2 = getelementptr inbounds i8, i8* %1, i64 16, !dbg !80
342  %3 = bitcast i8* %2 to %struct.B*, !dbg !80
343  %call2 = call %struct.B* @"\01??0B@@QEAA@XZ"(%struct.B* %3) #5, !dbg !80
344  %4 = bitcast %struct.C* %this1 to i32 (...)***, !dbg !80
345  store i32 (...)** bitcast (i8** @"\01??_7C@@6BA@@@" to i32 (...)**), i32 (...)*** %4, align 8, !dbg !80
346  %5 = bitcast %struct.C* %this1 to i8*, !dbg !80
347  %add.ptr = getelementptr inbounds i8, i8* %5, i64 16, !dbg !80
348  %6 = bitcast i8* %add.ptr to i32 (...)***, !dbg !80
349  store i32 (...)** bitcast (i8** @"\01??_7C@@6BB@@@" to i32 (...)**), i32 (...)*** %6, align 8, !dbg !80
350  %c = getelementptr inbounds %struct.C, %struct.C* %this1, i32 0, i32 2, !dbg !81
351  store i32 0, i32* %c, align 8, !dbg !81
352  ret %struct.C* %this1, !dbg !80
353}
354
355; Function Attrs: inlinehint nounwind uwtable
356define linkonce_odr %struct.D* @"\01??0D@@QEAA@XZ"(%struct.D* returned %this) unnamed_addr #2 comdat align 2 !dbg !82 {
357entry:
358  %this.addr = alloca %struct.D*, align 8
359  store %struct.D* %this, %struct.D** %this.addr, align 8
360  call void @llvm.dbg.declare(metadata %struct.D** %this.addr, metadata !84, metadata !22), !dbg !86
361  %this1 = load %struct.D*, %struct.D** %this.addr, align 8
362  %0 = bitcast %struct.D* %this1 to %struct.C*, !dbg !87
363  %call = call %struct.C* @"\01??0C@@QEAA@XZ"(%struct.C* %0) #5, !dbg !87
364  %1 = bitcast %struct.D* %this1 to i32 (...)***, !dbg !87
365  store i32 (...)** bitcast (i8** @"\01??_7D@@6BA@@@" to i32 (...)**), i32 (...)*** %1, align 8, !dbg !87
366  %2 = bitcast %struct.D* %this1 to i8*, !dbg !87
367  %add.ptr = getelementptr inbounds i8, i8* %2, i64 16, !dbg !87
368  %3 = bitcast i8* %add.ptr to i32 (...)***, !dbg !87
369  store i32 (...)** bitcast (i8** @"\01??_7D@@6BB@@@" to i32 (...)**), i32 (...)*** %3, align 8, !dbg !87
370  %d = getelementptr inbounds %struct.D, %struct.D* %this1, i32 0, i32 1, !dbg !88
371  store i32 0, i32* %d, align 8, !dbg !88
372  ret %struct.D* %this1, !dbg !87
373}
374
375declare void @"\01?g@A@@UEAAXXZ"(%struct.A*) unnamed_addr #3
376
377declare void @"\01?g@B@@UEAAXXZ"(%struct.B*) unnamed_addr #3
378
379declare void @"\01?f@B@@UEAAXXZ"(%struct.B*) unnamed_addr #3
380
381declare void @"\01?g@C@@UEAAXXZ"(%struct.C*) unnamed_addr #3
382
383; Function Attrs: uwtable
384define linkonce_odr void @"\01?g@C@@WBA@EAAXXZ"(%struct.C* %this) unnamed_addr #4 comdat align 2 !dbg !89 {
385entry:
386  %this.addr = alloca %struct.C*, align 8
387  store %struct.C* %this, %struct.C** %this.addr, align 8
388  call void @llvm.dbg.declare(metadata %struct.C** %this.addr, metadata !91, metadata !22), !dbg !92
389  %this1 = load %struct.C*, %struct.C** %this.addr, align 8, !dbg !93
390  %0 = bitcast %struct.C* %this1 to i8*, !dbg !93
391  %1 = getelementptr i8, i8* %0, i32 -16, !dbg !93
392  %2 = bitcast i8* %1 to %struct.C*, !dbg !93
393  tail call void @"\01?g@C@@UEAAXXZ"(%struct.C* %2), !dbg !93
394  ret void, !dbg !93
395}
396
397declare void @"\01?f@C@@UEAAXXZ"(i8*) unnamed_addr #3
398
399declare void @"\01?g@D@@UEAAXXZ"(%struct.D*) unnamed_addr #3
400
401; Function Attrs: uwtable
402define linkonce_odr void @"\01?g@D@@WBA@EAAXXZ"(%struct.D* %this) unnamed_addr #4 comdat align 2 !dbg !94 {
403entry:
404  %this.addr = alloca %struct.D*, align 8
405  store %struct.D* %this, %struct.D** %this.addr, align 8
406  call void @llvm.dbg.declare(metadata %struct.D** %this.addr, metadata !95, metadata !22), !dbg !96
407  %this1 = load %struct.D*, %struct.D** %this.addr, align 8, !dbg !97
408  %0 = bitcast %struct.D* %this1 to i8*, !dbg !97
409  %1 = getelementptr i8, i8* %0, i32 -16, !dbg !97
410  %2 = bitcast i8* %1 to %struct.D*, !dbg !97
411  tail call void @"\01?g@D@@UEAAXXZ"(%struct.D* %2), !dbg !97
412  ret void, !dbg !97
413}
414
415declare void @"\01?f@D@@UEAAXXZ"(i8*) unnamed_addr #3
416
417attributes #0 = { nounwind uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-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" }
418attributes #1 = { nounwind readnone }
419attributes #2 = { inlinehint nounwind uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-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" }
420attributes #3 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-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" }
421attributes #4 = { uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-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" }
422attributes #5 = { nounwind }
423
424!llvm.dbg.cu = !{!0}
425!llvm.module.flags = !{!3, !4, !5}
426!llvm.ident = !{!6}
427
428!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 4.0.0 ", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
429!1 = !DIFile(filename: "t.cpp", directory: "C:\5Csrc\5Cllvm\5Cbuild")
430!2 = !{}
431!3 = !{i32 2, !"CodeView", i32 1}
432!4 = !{i32 2, !"Debug Info Version", i32 3}
433!5 = !{i32 1, !"PIC Level", i32 2}
434!6 = !{!"clang version 4.0.0 "}
435!7 = distinct !DISubprogram(name: "h", linkageName: "\01?h@@YAXXZ", scope: !1, file: !1, line: 20, type: !8, isLocal: false, isDefinition: true, scopeLine: 20, flags: DIFlagPrototyped, isOptimized: false, unit: !0, retainedNodes: !2)
436!8 = !DISubroutineType(types: !9)
437!9 = !{null}
438!10 = !DILocalVariable(name: "a", scope: !7, file: !1, line: 22, type: !11)
439!11 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "A", file: !1, line: 1, size: 128, align: 64, elements: !12, vtableHolder: !11, identifier: ".?AUA@@")
440!12 = !{!13, !14, !16, !18}
441!13 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "__vtbl_ptr_type", baseType: null, size: 64)
442!14 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$A", scope: !1, file: !1, baseType: !15, size: 64, flags: DIFlagArtificial)
443!15 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !13, size: 64)
444!16 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !11, file: !1, line: 3, baseType: !17, size: 32, align: 32, offset: 64)
445!17 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
446!18 = !DISubprogram(name: "g", linkageName: "\01?g@A@@UEAAXXZ", scope: !11, file: !1, line: 2, type: !19, isLocal: false, isDefinition: false, scopeLine: 2, containingType: !11, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, flags: DIFlagPrototyped | DIFlagIntroducedVirtual, isOptimized: false)
447!19 = !DISubroutineType(types: !20)
448!20 = !{null, !21}
449!21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !11, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
450!22 = !DIExpression()
451!23 = !DILocation(line: 22, column: 5, scope: !7)
452!24 = !DILocalVariable(name: "b", scope: !7, file: !1, line: 23, type: !25)
453!25 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "B", file: !1, line: 5, size: 128, align: 64, elements: !26, vtableHolder: !25, identifier: ".?AUB@@")
454!26 = !{!27, !28, !30, !31, !35}
455!27 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "__vtbl_ptr_type", baseType: null, size: 128)
456!28 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$B", scope: !1, file: !1, baseType: !29, size: 64, flags: DIFlagArtificial)
457!29 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !27, size: 64)
458!30 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !25, file: !1, line: 8, baseType: !17, size: 32, align: 32, offset: 64)
459!31 = !DISubprogram(name: "g", linkageName: "\01?g@B@@UEAAXXZ", scope: !25, file: !1, line: 6, type: !32, isLocal: false, isDefinition: false, scopeLine: 6, containingType: !25, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, flags: DIFlagPrototyped | DIFlagIntroducedVirtual, isOptimized: false)
460!32 = !DISubroutineType(types: !33)
461!33 = !{null, !34}
462!34 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !25, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
463!35 = !DISubprogram(name: "f", linkageName: "\01?f@B@@UEAAXXZ", scope: !25, file: !1, line: 7, type: !32, isLocal: false, isDefinition: false, scopeLine: 7, containingType: !25, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 1, flags: DIFlagPrototyped | DIFlagIntroducedVirtual, isOptimized: false)
464!36 = !DILocation(line: 23, column: 5, scope: !7)
465!37 = !DILocalVariable(name: "c", scope: !7, file: !1, line: 24, type: !38)
466!38 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "C", file: !1, line: 10, size: 320, align: 64, elements: !39, vtableHolder: !11, identifier: ".?AUC@@")
467!39 = !{!40, !41, !13, !42, !43, !47}
468!40 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !38, baseType: !11)
469!41 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !38, baseType: !25, offset: 128)
470!42 = !DIDerivedType(tag: DW_TAG_member, name: "c", scope: !38, file: !1, line: 13, baseType: !17, size: 32, align: 32, offset: 256)
471!43 = !DISubprogram(name: "g", linkageName: "\01?g@C@@UEAAXXZ", scope: !38, file: !1, line: 11, type: !44, isLocal: false, isDefinition: false, scopeLine: 11, containingType: !38, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, flags: DIFlagPrototyped, isOptimized: false)
472!44 = !DISubroutineType(types: !45)
473!45 = !{null, !46}
474!46 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !38, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
475!47 = !DISubprogram(name: "f", linkageName: "\01?f@C@@UEAAXXZ", scope: !38, file: !1, line: 12, type: !44, isLocal: false, isDefinition: false, scopeLine: 12, containingType: !38, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 1, thisAdjustment: 16, flags: DIFlagPrototyped, isOptimized: false)
476!48 = !DILocation(line: 24, column: 5, scope: !7)
477!49 = !DILocalVariable(name: "d", scope: !7, file: !1, line: 25, type: !50)
478!50 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "D", file: !1, line: 15, size: 384, align: 64, elements: !51, vtableHolder: !11, identifier: ".?AUD@@")
479!51 = !{!52, !13, !53, !54, !58}
480!52 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !50, baseType: !38)
481!53 = !DIDerivedType(tag: DW_TAG_member, name: "d", scope: !50, file: !1, line: 18, baseType: !17, size: 32, align: 32, offset: 320)
482!54 = !DISubprogram(name: "g", linkageName: "\01?g@D@@UEAAXXZ", scope: !50, file: !1, line: 16, type: !55, isLocal: false, isDefinition: false, scopeLine: 16, containingType: !50, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, flags: DIFlagPrototyped, isOptimized: false)
483!55 = !DISubroutineType(types: !56)
484!56 = !{null, !57}
485!57 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !50, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
486!58 = !DISubprogram(name: "f", linkageName: "\01?f@D@@UEAAXXZ", scope: !50, file: !1, line: 17, type: !55, isLocal: false, isDefinition: false, scopeLine: 17, containingType: !50, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 1, thisAdjustment: 16, flags: DIFlagPrototyped, isOptimized: false)
487!59 = !DILocation(line: 25, column: 5, scope: !7)
488!60 = !DILocation(line: 26, column: 1, scope: !7)
489!61 = distinct !DISubprogram(name: "A", linkageName: "\01??0A@@QEAA@XZ", scope: !11, file: !1, line: 1, type: !19, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !62, retainedNodes: !2)
490!62 = !DISubprogram(name: "A", scope: !11, type: !19, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
491!63 = !DILocalVariable(name: "this", arg: 1, scope: !61, type: !64, flags: DIFlagArtificial | DIFlagObjectPointer)
492!64 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !11, size: 64, align: 64)
493!65 = !DILocation(line: 0, scope: !61)
494!66 = !DILocation(line: 1, column: 8, scope: !61)
495!67 = !DILocation(line: 3, column: 7, scope: !61)
496!68 = distinct !DISubprogram(name: "B", linkageName: "\01??0B@@QEAA@XZ", scope: !25, file: !1, line: 5, type: !32, isLocal: false, isDefinition: true, scopeLine: 5, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !69, retainedNodes: !2)
497!69 = !DISubprogram(name: "B", scope: !25, type: !32, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
498!70 = !DILocalVariable(name: "this", arg: 1, scope: !68, type: !71, flags: DIFlagArtificial | DIFlagObjectPointer)
499!71 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !25, size: 64, align: 64)
500!72 = !DILocation(line: 0, scope: !68)
501!73 = !DILocation(line: 5, column: 8, scope: !68)
502!74 = !DILocation(line: 8, column: 7, scope: !68)
503!75 = distinct !DISubprogram(name: "C", linkageName: "\01??0C@@QEAA@XZ", scope: !38, file: !1, line: 10, type: !44, isLocal: false, isDefinition: true, scopeLine: 10, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !76, retainedNodes: !2)
504!76 = !DISubprogram(name: "C", scope: !38, type: !44, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
505!77 = !DILocalVariable(name: "this", arg: 1, scope: !75, type: !78, flags: DIFlagArtificial | DIFlagObjectPointer)
506!78 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !38, size: 64, align: 64)
507!79 = !DILocation(line: 0, scope: !75)
508!80 = !DILocation(line: 10, column: 8, scope: !75)
509!81 = !DILocation(line: 13, column: 7, scope: !75)
510!82 = distinct !DISubprogram(name: "D", linkageName: "\01??0D@@QEAA@XZ", scope: !50, file: !1, line: 15, type: !55, isLocal: false, isDefinition: true, scopeLine: 15, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !83, retainedNodes: !2)
511!83 = !DISubprogram(name: "D", scope: !50, type: !55, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
512!84 = !DILocalVariable(name: "this", arg: 1, scope: !82, type: !85, flags: DIFlagArtificial | DIFlagObjectPointer)
513!85 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !50, size: 64, align: 64)
514!86 = !DILocation(line: 0, scope: !82)
515!87 = !DILocation(line: 15, column: 8, scope: !82)
516!88 = !DILocation(line: 18, column: 7, scope: !82)
517!89 = distinct !DISubprogram(linkageName: "\01?g@C@@WBA@EAAXXZ", scope: !1, file: !1, line: 11, type: !90, isLocal: false, isDefinition: true, scopeLine: 11, flags: DIFlagArtificial, isOptimized: false, unit: !0, retainedNodes: !2)
518!90 = !DISubroutineType(types: !2)
519!91 = !DILocalVariable(name: "this", arg: 1, scope: !89, type: !78, flags: DIFlagArtificial | DIFlagObjectPointer)
520!92 = !DILocation(line: 0, scope: !89)
521!93 = !DILocation(line: 11, column: 16, scope: !89)
522!94 = distinct !DISubprogram(linkageName: "\01?g@D@@WBA@EAAXXZ", scope: !1, file: !1, line: 16, type: !90, isLocal: false, isDefinition: true, scopeLine: 16, flags: DIFlagArtificial, isOptimized: false, unit: !0, retainedNodes: !2)
523!95 = !DILocalVariable(name: "this", arg: 1, scope: !94, type: !85, flags: DIFlagArtificial | DIFlagObjectPointer)
524!96 = !DILocation(line: 0, scope: !94)
525!97 = !DILocation(line: 16, column: 16, scope: !94)
526