xref: /llvm-project/llvm/test/DebugInfo/COFF/virtual-method-kinds.ll (revision 5a288fa32e0c91b211e39f3e370255916902f898)
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; Check for the appropriate MethodKind below.
5
6; C++ source used to generate IR:
7; $ cat t.cpp
8; struct A {
9;   virtual void f();	  // IntroducingVirtual
10;   virtual void g() = 0; // PureIntroducingVirtual
11; };
12; struct B : A {
13;   void f() override = 0; // PureVirtual
14;   void g() override;	   // Virtual
15; };
16; struct C : B {
17;   void f() override;     // Virtual
18;   void g() override;     // Virtual
19; };
20; C *p = new C;
21; $ clang t.cpp -S -emit-llvm -g -gcodeview -o t.ll
22
23; CHECK:      OneMethod {
24; CHECK-NEXT:   TypeLeafKind: LF_ONEMETHOD (0x1511)
25; CHECK-NEXT:   AccessSpecifier: Public (0x3)
26; CHECK-NEXT:   MethodKind: Virtual (0x1)
27; CHECK-NEXT:   Type: void C::() ({{.*}})
28; CHECK-NEXT:   Name: f
29; CHECK-NEXT: }
30; CHECK-NEXT: OneMethod {
31; CHECK-NEXT:   TypeLeafKind: LF_ONEMETHOD (0x1511)
32; CHECK-NEXT:   AccessSpecifier: Public (0x3)
33; CHECK-NEXT:   MethodKind: Virtual (0x1)
34; CHECK-NEXT:   Type: void C::() ({{.*}})
35; CHECK-NEXT:   Name: g
36; CHECK-NEXT: }
37
38; CHECK:      OneMethod {
39; CHECK-NEXT:   TypeLeafKind: LF_ONEMETHOD (0x1511)
40; CHECK-NEXT:   AccessSpecifier: Public (0x3)
41; CHECK-NEXT:   MethodKind: PureVirtual (0x5)
42; CHECK-NEXT:   Type: void B::() ({{.*}})
43; CHECK-NEXT:   Name: f
44; CHECK-NEXT: }
45; CHECK-NEXT: OneMethod {
46; CHECK-NEXT:   TypeLeafKind: LF_ONEMETHOD (0x1511)
47; CHECK-NEXT:   AccessSpecifier: Public (0x3)
48; CHECK-NEXT:   MethodKind: Virtual (0x1)
49; CHECK-NEXT:   Type: void B::() ({{.*}})
50; CHECK-NEXT:   Name: g
51; CHECK-NEXT: }
52
53; CHECK:      OneMethod {
54; CHECK-NEXT:   TypeLeafKind: LF_ONEMETHOD (0x1511)
55; CHECK-NEXT:   AccessSpecifier: Public (0x3)
56; CHECK-NEXT:   MethodKind: IntroducingVirtual (0x4)
57; CHECK-NEXT:   Type: void A::() ({{.*}})
58; CHECK-NEXT:   VFTableOffset: 0x0
59; CHECK-NEXT:   Name: f
60; CHECK-NEXT: }
61; CHECK-NEXT: OneMethod {
62; CHECK-NEXT:   TypeLeafKind: LF_ONEMETHOD (0x1511)
63; CHECK-NEXT:   AccessSpecifier: Public (0x3)
64; CHECK-NEXT:   MethodKind: PureIntroducingVirtual (0x6)
65; CHECK-NEXT:   Type: void A::() ({{.*}})
66; CHECK-NEXT:   VFTableOffset: 0x8
67; CHECK-NEXT:   Name: g
68; CHECK-NEXT: }
69
70; ModuleID = 't.cpp'
71source_filename = "t.cpp"
72target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
73target triple = "x86_64-pc-windows-msvc19.0.23918"
74
75%struct.C = type { %struct.B }
76%struct.B = type { %struct.A }
77%struct.A = type { ptr }
78%rtti.CompleteObjectLocator = type { i32, i32, i32, i32, i32, i32 }
79%rtti.TypeDescriptor7 = type { ptr, ptr, [8 x i8] }
80%rtti.ClassHierarchyDescriptor = type { i32, i32, i32, i32 }
81%rtti.BaseClassDescriptor = type { i32, i32, i32, i32, i32, i32, i32 }
82
83$"\01??0C@@QEAA@XZ" = comdat any
84
85$"\01??0B@@QEAA@XZ" = comdat any
86
87$"\01??0A@@QEAA@XZ" = comdat any
88
89$"\01??_7C@@6B@" = comdat largest
90
91$"\01??_R4C@@6B@" = comdat any
92
93$"\01??_R0?AUC@@@8" = comdat any
94
95$"\01??_R3C@@8" = comdat any
96
97$"\01??_R2C@@8" = comdat any
98
99$"\01??_R1A@?0A@EA@C@@8" = comdat any
100
101$"\01??_R1A@?0A@EA@B@@8" = comdat any
102
103$"\01??_R0?AUB@@@8" = comdat any
104
105$"\01??_R3B@@8" = comdat any
106
107$"\01??_R2B@@8" = comdat any
108
109$"\01??_R1A@?0A@EA@A@@8" = comdat any
110
111$"\01??_R0?AUA@@@8" = comdat any
112
113$"\01??_R3A@@8" = comdat any
114
115$"\01??_R2A@@8" = comdat any
116
117$"\01??_7B@@6B@" = comdat largest
118
119$"\01??_R4B@@6B@" = comdat any
120
121$"\01??_7A@@6B@" = comdat largest
122
123$"\01??_R4A@@6B@" = comdat any
124
125@"\01?p@@3PEAUC@@EA" = global ptr null, align 8, !dbg !0
126@0 = private unnamed_addr constant [3 x ptr] [ptr @"\01??_R4C@@6B@", ptr @"\01?f@C@@UEAAXXZ", ptr @"\01?g@C@@UEAAXXZ"], comdat($"\01??_7C@@6B@")
127@"\01??_R4C@@6B@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 0, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R0?AUC@@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R3C@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R4C@@6B@" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
128@"\01??_7type_info@@6B@" = external constant ptr
129@"\01??_R0?AUC@@@8" = linkonce_odr global %rtti.TypeDescriptor7 { ptr @"\01??_7type_info@@6B@", ptr null, [8 x i8] c".?AUC@@\00" }, comdat
130@__ImageBase = external constant i8
131@"\01??_R3C@@8" = linkonce_odr constant %rtti.ClassHierarchyDescriptor { i32 0, i32 0, i32 3, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R2C@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
132@"\01??_R2C@@8" = linkonce_odr constant [4 x i32] [i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R1A@?0A@EA@C@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R1A@?0A@EA@B@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R1A@?0A@EA@A@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 0], comdat
133@"\01??_R1A@?0A@EA@C@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R0?AUC@@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 2, i32 0, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R3C@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
134@"\01??_R1A@?0A@EA@B@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R0?AUB@@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 1, i32 0, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R3B@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
135@"\01??_R0?AUB@@@8" = linkonce_odr global %rtti.TypeDescriptor7 { ptr @"\01??_7type_info@@6B@", ptr null, [8 x i8] c".?AUB@@\00" }, comdat
136@"\01??_R3B@@8" = linkonce_odr constant %rtti.ClassHierarchyDescriptor { i32 0, i32 0, i32 2, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R2B@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
137@"\01??_R2B@@8" = linkonce_odr constant [3 x i32] [i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R1A@?0A@EA@B@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R1A@?0A@EA@A@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 0], comdat
138@"\01??_R1A@?0A@EA@A@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R0?AUA@@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 0, i32 0, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R3A@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
139@"\01??_R0?AUA@@@8" = linkonce_odr global %rtti.TypeDescriptor7 { ptr @"\01??_7type_info@@6B@", ptr null, [8 x i8] c".?AUA@@\00" }, comdat
140@"\01??_R3A@@8" = linkonce_odr constant %rtti.ClassHierarchyDescriptor { i32 0, i32 0, i32 1, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R2A@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
141@"\01??_R2A@@8" = linkonce_odr constant [2 x i32] [i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R1A@?0A@EA@A@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 0], comdat
142@1 = private unnamed_addr constant [3 x ptr] [ptr @"\01??_R4B@@6B@", ptr @_purecall, ptr @"\01?g@B@@UEAAXXZ"], comdat($"\01??_7B@@6B@")
143@"\01??_R4B@@6B@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 0, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R0?AUB@@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R3B@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R4B@@6B@" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
144@2 = private unnamed_addr constant [3 x ptr] [ptr @"\01??_R4A@@6B@", ptr @"\01?f@A@@UEAAXXZ", ptr @_purecall], comdat($"\01??_7A@@6B@")
145@"\01??_R4A@@6B@" = linkonce_odr constant %rtti.CompleteObjectLocator { i32 1, i32 0, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R0?AUA@@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R3A@@8" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (ptr @"\01??_R4A@@6B@" to i64), i64 ptrtoint (ptr @__ImageBase to i64)) to i32) }, comdat
146@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @_GLOBAL__sub_I_t.cpp, ptr null }]
147
148@"\01??_7C@@6B@" = unnamed_addr alias ptr, getelementptr inbounds ([3 x ptr], ptr @0, i32 0, i32 1)
149@"\01??_7B@@6B@" = unnamed_addr alias ptr, getelementptr inbounds ([3 x ptr], ptr @1, i32 0, i32 1)
150@"\01??_7A@@6B@" = unnamed_addr alias ptr, getelementptr inbounds ([3 x ptr], ptr @2, i32 0, i32 1)
151
152; Function Attrs: uwtable
153define internal void @"\01??__Ep@@YAXXZ"() #0 !dbg !40 {
154entry:
155  %call = call ptr @"\01??2@YAPEAX_K@Z"(i64 8) #5, !dbg !43
156  %call1 = call ptr @"\01??0C@@QEAA@XZ"(ptr %call) #6, !dbg !44
157  store ptr %call, ptr @"\01?p@@3PEAUC@@EA", align 8, !dbg !43
158  ret void, !dbg !44
159}
160
161; Function Attrs: nobuiltin
162declare noalias ptr @"\01??2@YAPEAX_K@Z"(i64) #1
163
164; Function Attrs: inlinehint nounwind uwtable
165
166define linkonce_odr ptr @"\01??0C@@QEAA@XZ"(ptr returned %this) unnamed_addr #2 comdat align 2 !dbg !45 {
167entry:
168  %this.addr = alloca ptr, align 8
169  store ptr %this, ptr %this.addr, align 8
170  call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !47, metadata !48), !dbg !49
171  %this1 = load ptr, ptr %this.addr, align 8
172  %call = call ptr @"\01??0B@@QEAA@XZ"(ptr %this1) #6, !dbg !50
173  store ptr @"\01??_7C@@6B@", ptr %this1, align 8, !dbg !50
174  ret ptr %this1, !dbg !50
175}
176
177; Function Attrs: nounwind readnone
178declare void @llvm.dbg.declare(metadata, metadata, metadata) #3
179
180; Function Attrs: inlinehint nounwind uwtable
181define linkonce_odr ptr @"\01??0B@@QEAA@XZ"(ptr returned %this) unnamed_addr #2 comdat align 2 !dbg !51 {
182entry:
183  %this.addr = alloca ptr, align 8
184  store ptr %this, ptr %this.addr, align 8
185  call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !53, metadata !48), !dbg !55
186  %this1 = load ptr, ptr %this.addr, align 8
187  %call = call ptr @"\01??0A@@QEAA@XZ"(ptr %this1) #6, !dbg !56
188  store ptr @"\01??_7B@@6B@", ptr %this1, align 8, !dbg !56
189  ret ptr %this1, !dbg !56
190}
191
192declare void @"\01?f@C@@UEAAXXZ"(ptr) unnamed_addr #4
193
194declare void @"\01?g@C@@UEAAXXZ"(ptr) unnamed_addr #4
195
196; Function Attrs: inlinehint nounwind uwtable
197define linkonce_odr ptr @"\01??0A@@QEAA@XZ"(ptr returned %this) unnamed_addr #2 comdat align 2 !dbg !57 {
198entry:
199  %this.addr = alloca ptr, align 8
200  store ptr %this, ptr %this.addr, align 8
201  call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !59, metadata !48), !dbg !61
202  %this1 = load ptr, ptr %this.addr, align 8
203  store ptr @"\01??_7A@@6B@", ptr %this1, align 8, !dbg !62
204  ret ptr %this1, !dbg !62
205}
206
207declare void @_purecall() unnamed_addr
208
209declare void @"\01?g@B@@UEAAXXZ"(ptr) unnamed_addr #4
210
211declare void @"\01?f@A@@UEAAXXZ"(ptr) unnamed_addr #4
212
213; Function Attrs: uwtable
214define internal void @_GLOBAL__sub_I_t.cpp() #0 !dbg !63 {
215entry:
216  call void @"\01??__Ep@@YAXXZ"(), !dbg !65
217  ret void
218}
219
220attributes #0 = { uwtable "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" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
221attributes #1 = { nobuiltin "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "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" }
222attributes #2 = { inlinehint nounwind uwtable "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" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
223attributes #3 = { nounwind readnone }
224attributes #4 = { "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "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" }
225attributes #5 = { builtin }
226attributes #6 = { nounwind }
227
228!llvm.dbg.cu = !{!2}
229!llvm.module.flags = !{!36, !37, !38}
230!llvm.ident = !{!39}
231
232!0 = distinct !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
233!1 = !DIGlobalVariable(name: "p", linkageName: "\01?p@@3PEAUC@@EA", scope: !2, file: !3, line: 13, type: !6, isLocal: false, isDefinition: true)
234!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang version 3.9.0 ", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5)
235!3 = !DIFile(filename: "t.cpp", directory: "D:\5Csrc\5Cllvm\5Cbuild")
236!4 = !{}
237!5 = !{!0}
238!6 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !7, size: 64, align: 64)
239!7 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "C", file: !3, line: 9, size: 64, align: 64, elements: !8, vtableHolder: !13, identifier: ".?AUC@@")
240!8 = !{!9, !31, !35}
241!9 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !7, baseType: !10)
242!10 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "B", file: !3, line: 5, size: 64, align: 64, elements: !11, vtableHolder: !13, identifier: ".?AUB@@")
243!11 = !{!12, !26, !30}
244!12 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !10, baseType: !13)
245!13 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "A", file: !3, line: 1, size: 64, align: 64, elements: !14, vtableHolder: !13, identifier: ".?AUA@@")
246!14 = !{!15, !21, !25}
247!15 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$A", scope: !3, file: !3, baseType: !16, size: 64, flags: DIFlagArtificial)
248!16 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !17, size: 64)
249!17 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "__vtbl_ptr_type", baseType: !18, size: 64)
250!18 = !DISubroutineType(types: !19)
251!19 = !{!20}
252!20 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
253!21 = !DISubprogram(name: "f", linkageName: "\01?f@A@@UEAAXXZ", scope: !13, file: !3, line: 2, type: !22, isLocal: false, isDefinition: false, scopeLine: 2, containingType: !13, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, flags: DIFlagPrototyped | DIFlagIntroducedVirtual, isOptimized: false)
254!22 = !DISubroutineType(types: !23)
255!23 = !{null, !24}
256!24 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !13, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
257!25 = !DISubprogram(name: "g", linkageName: "\01?g@A@@UEAAXXZ", scope: !13, file: !3, line: 3, type: !22, isLocal: false, isDefinition: false, scopeLine: 3, containingType: !13, virtuality: DW_VIRTUALITY_pure_virtual, virtualIndex: 1, flags: DIFlagPrototyped | DIFlagIntroducedVirtual, isOptimized: false)
258!26 = !DISubprogram(name: "f", linkageName: "\01?f@B@@UEAAXXZ", scope: !10, file: !3, line: 6, type: !27, isLocal: false, isDefinition: false, scopeLine: 6, containingType: !10, virtuality: DW_VIRTUALITY_pure_virtual, virtualIndex: 0, flags: DIFlagPrototyped, isOptimized: false)
259!27 = !DISubroutineType(types: !28)
260!28 = !{null, !29}
261!29 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !10, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
262!30 = !DISubprogram(name: "g", linkageName: "\01?g@B@@UEAAXXZ", scope: !10, file: !3, line: 7, type: !27, isLocal: false, isDefinition: false, scopeLine: 7, containingType: !10, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 1, flags: DIFlagPrototyped, isOptimized: false)
263!31 = !DISubprogram(name: "f", linkageName: "\01?f@C@@UEAAXXZ", scope: !7, file: !3, line: 10, type: !32, isLocal: false, isDefinition: false, scopeLine: 10, containingType: !7, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 0, flags: DIFlagPrototyped, isOptimized: false)
264!32 = !DISubroutineType(types: !33)
265!33 = !{null, !34}
266!34 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !7, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
267!35 = !DISubprogram(name: "g", linkageName: "\01?g@C@@UEAAXXZ", scope: !7, file: !3, line: 11, type: !32, isLocal: false, isDefinition: false, scopeLine: 11, containingType: !7, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 1, flags: DIFlagPrototyped, isOptimized: false)
268!36 = !{i32 2, !"CodeView", i32 1}
269!37 = !{i32 2, !"Debug Info Version", i32 3}
270!38 = !{i32 1, !"PIC Level", i32 2}
271!39 = !{!"clang version 3.9.0 "}
272!40 = distinct !DISubprogram(name: "??__Ep@@YAXXZ", scope: !3, file: !3, line: 13, type: !41, isLocal: true, isDefinition: true, scopeLine: 13, flags: DIFlagPrototyped, isOptimized: false, unit: !2, retainedNodes: !4)
273!41 = !DISubroutineType(types: !42)
274!42 = !{null}
275!43 = !DILocation(line: 13, column: 8, scope: !40)
276!44 = !DILocation(line: 13, column: 12, scope: !40)
277!45 = distinct !DISubprogram(name: "C", linkageName: "\01??0C@@QEAA@XZ", scope: !7, file: !3, line: 9, type: !32, isLocal: false, isDefinition: true, scopeLine: 9, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !2, declaration: !46, retainedNodes: !4)
278!46 = !DISubprogram(name: "C", scope: !7, type: !32, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
279!47 = !DILocalVariable(name: "this", arg: 1, scope: !45, type: !6, flags: DIFlagArtificial | DIFlagObjectPointer)
280!48 = !DIExpression()
281!49 = !DILocation(line: 0, scope: !45)
282!50 = !DILocation(line: 9, column: 8, scope: !45)
283!51 = distinct !DISubprogram(name: "B", linkageName: "\01??0B@@QEAA@XZ", scope: !10, file: !3, line: 5, type: !27, isLocal: false, isDefinition: true, scopeLine: 5, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !2, declaration: !52, retainedNodes: !4)
284!52 = !DISubprogram(name: "B", scope: !10, type: !27, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
285!53 = !DILocalVariable(name: "this", arg: 1, scope: !51, type: !54, flags: DIFlagArtificial | DIFlagObjectPointer)
286!54 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !10, size: 64, align: 64)
287!55 = !DILocation(line: 0, scope: !51)
288!56 = !DILocation(line: 5, column: 8, scope: !51)
289!57 = distinct !DISubprogram(name: "A", linkageName: "\01??0A@@QEAA@XZ", scope: !13, file: !3, line: 1, type: !22, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !2, declaration: !58, retainedNodes: !4)
290!58 = !DISubprogram(name: "A", scope: !13, type: !22, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)
291!59 = !DILocalVariable(name: "this", arg: 1, scope: !57, type: !60, flags: DIFlagArtificial | DIFlagObjectPointer)
292!60 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !13, size: 64, align: 64)
293!61 = !DILocation(line: 0, scope: !57)
294!62 = !DILocation(line: 1, column: 8, scope: !57)
295!63 = distinct !DISubprogram(linkageName: "_GLOBAL__sub_I_t.cpp", scope: !3, file: !3, type: !64, isLocal: true, isDefinition: true, flags: DIFlagArtificial, isOptimized: false, unit: !2, retainedNodes: !4)
296!64 = !DISubroutineType(types: !4)
297!65 = !DILocation(line: 0, scope: !63)
298
299