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