445 lines · plain
1; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s2; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s3 4; C++ source used to generate IR:5; $ cat t.cpp6; struct A {7; virtual int f();8; };9; struct B {10; virtual int g() = 0;11; };12; struct C : A, B {13; int c = 42;14; virtual int g();15; };16; int C::g() { return c; }17; struct D : virtual B {18; int d = 13;19; virtual int g();20; };21; int D::g() { return d; }22; $ clang t.cpp -S -emit-llvm -fstandalone-debug -g -gcodeview -o t.ll23 24; A::f25; CHECK: MemberFunction ({{.*}}) {26; CHECK-NEXT: TypeLeafKind: LF_MFUNCTION (0x1009)27; CHECK-NEXT: ReturnType: int (0x74)28; CHECK-NEXT: ClassType: A ({{.*}})29; CHECK-NEXT: ThisType: A* const ({{.*}})30; CHECK-NEXT: CallingConvention: NearC (0x0)31; CHECK-NEXT: FunctionOptions [ (0x0)32; CHECK-NEXT: ]33; CHECK-NEXT: NumParameters: 034; CHECK-NEXT: ArgListType: () ({{.*}})35; CHECK-NEXT: ThisAdjustment: 036; CHECK-NEXT: }37 38; A::g39; CHECK: MemberFunction ({{.*}}) {40; CHECK-NEXT: TypeLeafKind: LF_MFUNCTION (0x1009)41; CHECK-NEXT: ReturnType: int (0x74)42; CHECK-NEXT: ClassType: B ({{.*}})43; CHECK-NEXT: ThisType: B* const ({{.*}})44; CHECK-NEXT: CallingConvention: NearC (0x0)45; CHECK-NEXT: FunctionOptions [ (0x0)46; CHECK-NEXT: ]47; CHECK-NEXT: NumParameters: 048; CHECK-NEXT: ArgListType: () ({{.*}})49; CHECK-NEXT: ThisAdjustment: 050; CHECK-NEXT: }51 52; C::g53; CHECK: MemberFunction ([[C_g:.*]]) {54; CHECK-NEXT: TypeLeafKind: LF_MFUNCTION (0x1009)55; CHECK-NEXT: ReturnType: int (0x74)56; CHECK-NEXT: ClassType: C ({{.*}})57; CHECK-NEXT: ThisType: C* const ({{.*}})58; CHECK-NEXT: CallingConvention: NearC (0x0)59; CHECK-NEXT: FunctionOptions [ (0x0)60; CHECK-NEXT: ]61; CHECK-NEXT: NumParameters: 062; CHECK-NEXT: ArgListType: () ({{.*}})63; CHECK-NEXT: ThisAdjustment: 864; CHECK-NEXT: }65 66; CHECK: FieldList ({{.*}}) {67; CHECK: OneMethod {68; CHECK-NEXT: TypeLeafKind: LF_ONEMETHOD (0x1511)69; CHECK-NEXT: AccessSpecifier: Public (0x3)70; CHECK-NEXT: MethodKind: Virtual (0x1)71; CHECK-NEXT: Type: int C::() ([[C_g]])72; CHECK-NEXT: Name: g73; CHECK-NEXT: }74; CHECK-NEXT: }75 76; D::g77; CHECK: MemberFunction ([[D_g:.*]]) {78; CHECK-NEXT: TypeLeafKind: LF_MFUNCTION (0x1009)79; CHECK-NEXT: ReturnType: int (0x74)80; CHECK-NEXT: ClassType: D ({{.*}})81; CHECK-NEXT: ThisType: D* const ({{.*}})82; CHECK-NEXT: CallingConvention: NearC (0x0)83; CHECK-NEXT: FunctionOptions [ (0x0)84; CHECK-NEXT: ]85; CHECK-NEXT: NumParameters: 086; CHECK-NEXT: ArgListType: () ({{.*}})87; CHECK-NEXT: ThisAdjustment: 1688; CHECK-NEXT: }89 90; CHECK: FieldList ({{.*}}) {91; CHECK: OneMethod {92; CHECK-NEXT: TypeLeafKind: LF_ONEMETHOD (0x1511)93; CHECK-NEXT: AccessSpecifier: Public (0x3)94; CHECK-NEXT: MethodKind: Virtual (0x1)95; CHECK-NEXT: Type: int D::() ([[D_g]])96; CHECK-NEXT: Name: g97; CHECK-NEXT: }98; CHECK-NEXT: }99 100; Need to skip constructor IDs...101; CHECK: MemberFuncId ({{.*}}) {102; CHECK: TypeLeafKind: LF_MFUNC_ID (0x1602)103; CHECK: ClassType: A104; CHECK: FunctionType: void A::()105; CHECK: Name: A106; CHECK: }107; CHECK: MemberFuncId ({{.*}}) {108; CHECK: TypeLeafKind: LF_MFUNC_ID (0x1602)109; CHECK: ClassType: B110; CHECK: FunctionType: void B::()111; CHECK: Name: B112; CHECK: }113; CHECK: MemberFuncId ({{.*}}) {114; CHECK: TypeLeafKind: LF_MFUNC_ID (0x1602)115; CHECK: ClassType: C116; CHECK: FunctionType: void C::()117; CHECK: Name: C118; CHECK: }119; CHECK: MemberFuncId ({{.*}}) {120; CHECK: TypeLeafKind: LF_MFUNC_ID (0x1602)121; CHECK: ClassType: D122; CHECK: FunctionType: void D::()123; CHECK: Name: D124; CHECK: }125 126; CHECK: MemberFuncId ({{.*}}) {127; CHECK-NEXT: TypeLeafKind: LF_MFUNC_ID (0x1602)128; CHECK-NEXT: ClassType: C ({{.*}})129; CHECK-NEXT: FunctionType: int C::() ([[C_g]])130; CHECK-NEXT: Name: g131; CHECK-NEXT: }132 133; CHECK: MemberFuncId ({{.*}}) {134; CHECK-NEXT: TypeLeafKind: LF_MFUNC_ID (0x1602)135; CHECK-NEXT: ClassType: D ({{.*}})136; CHECK-NEXT: FunctionType: int D::() ([[D_g]])137; CHECK-NEXT: Name: g138; CHECK-NEXT: }139 140; ModuleID = 't.cpp'141source_filename = "t.cpp"142target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"143target triple = "x86_64-pc-windows-msvc19.0.23918"144 145%struct.A = type { ptr }146%struct.B = type { ptr }147%struct.C = type { %struct.A, %struct.B, i32 }148%struct.D = type { ptr, i32, %struct.B }149 150$"\01??0A@@QEAA@XZ" = comdat any151 152$"\01??0B@@QEAA@XZ" = comdat any153 154$"\01??0C@@QEAA@XZ" = comdat any155 156$"\01??0D@@QEAA@XZ" = comdat any157 158$"\01?g@C@@UEAAHXZ" = comdat any159 160$"\01?g@D@@UEAAHXZ" = comdat any161 162$"\01??_7A@@6B@" = comdat any163 164$"\01??_7B@@6B@" = comdat any165 166$"\01??_7C@@6BA@@@" = comdat any167 168$"\01??_7C@@6BB@@@" = comdat any169 170$"\01??_8D@@7B@" = comdat any171 172$"\01??_7D@@6B@" = comdat any173 174@"\01??_7A@@6B@" = linkonce_odr unnamed_addr constant [1 x ptr] [ptr @"\01?f@A@@UEAAHXZ"], comdat175@"\01??_7B@@6B@" = linkonce_odr unnamed_addr constant [1 x ptr] [ptr @"\01?g@B@@UEAAHXZ"], comdat176@"\01??_7C@@6BA@@@" = linkonce_odr unnamed_addr constant [1 x ptr] [ptr @"\01?f@A@@UEAAHXZ"], comdat177@"\01??_7C@@6BB@@@" = linkonce_odr unnamed_addr constant [1 x ptr] [ptr @"\01?g@C@@UEAAHXZ"], comdat178@"\01??_8D@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 16], comdat179@"\01??_7D@@6B@" = linkonce_odr unnamed_addr constant [1 x ptr] [ptr @"\01?g@D@@UEAAHXZ"], comdat180 181; Function Attrs: uwtable182define void @"\01?usetypes@@YAXXZ"() #0 !dbg !7 {183entry:184 %a = alloca %struct.A, align 8185 %b = alloca %struct.B, align 8186 %c = alloca %struct.C, align 8187 %d = alloca %struct.D, align 8188 call void @llvm.dbg.declare(metadata ptr %a, metadata !10, metadata !23), !dbg !24189 %call = call ptr @"\01??0A@@QEAA@XZ"(ptr %a) #5, !dbg !24190 call void @llvm.dbg.declare(metadata ptr %b, metadata !25, metadata !23), !dbg !33191 %call1 = call ptr @"\01??0B@@QEAA@XZ"(ptr %b) #5, !dbg !33192 call void @llvm.dbg.declare(metadata ptr %c, metadata !34, metadata !23), !dbg !44193 %call2 = call ptr @"\01??0C@@QEAA@XZ"(ptr %c) #5, !dbg !44194 call void @llvm.dbg.declare(metadata ptr %d, metadata !45, metadata !23), !dbg !55195 %call3 = call ptr @"\01??0D@@QEAA@XZ"(ptr %d, i32 1) #5, !dbg !55196 %0 = bitcast ptr %c to ptr, !dbg !56197 %1 = getelementptr i8, ptr %0, i64 8, !dbg !56198 %call4 = call i32 @"\01?g@C@@UEAAHXZ"(ptr %1), !dbg !56199 ret void, !dbg !57200}201 202; Function Attrs: nounwind readnone203declare void @llvm.dbg.declare(metadata, metadata, metadata) #1204 205; Function Attrs: inlinehint nounwind uwtable206define linkonce_odr ptr @"\01??0A@@QEAA@XZ"(ptr returned %this) unnamed_addr #2 comdat align 2 !dbg !58 {207entry:208 %this.addr = alloca ptr, align 8209 store ptr %this, ptr %this.addr, align 8210 call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !62, metadata !23), !dbg !64211 %this1 = load ptr, ptr %this.addr, align 8212 %0 = bitcast ptr %this1 to ptr, !dbg !65213 store ptr @"\01??_7A@@6B@", ptr %0, align 8, !dbg !65214 ret ptr %this1, !dbg !65215}216 217; Function Attrs: inlinehint nounwind uwtable218define linkonce_odr ptr @"\01??0B@@QEAA@XZ"(ptr returned %this) unnamed_addr #2 comdat align 2 !dbg !66 {219entry:220 %this.addr = alloca ptr, align 8221 store ptr %this, ptr %this.addr, align 8222 call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !70, metadata !23), !dbg !72223 %this1 = load ptr, ptr %this.addr, align 8224 %0 = bitcast ptr %this1 to ptr, !dbg !73225 store ptr @"\01??_7B@@6B@", ptr %0, align 8, !dbg !73226 ret ptr %this1, !dbg !73227}228 229; Function Attrs: inlinehint nounwind uwtable230define linkonce_odr ptr @"\01??0C@@QEAA@XZ"(ptr returned %this) unnamed_addr #2 comdat align 2 !dbg !74 {231entry:232 %this.addr = alloca ptr, align 8233 store ptr %this, ptr %this.addr, align 8234 call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !78, metadata !23), !dbg !80235 %this1 = load ptr, ptr %this.addr, align 8236 %0 = bitcast ptr %this1 to ptr, !dbg !81237 %call = call ptr @"\01??0A@@QEAA@XZ"(ptr %0) #5, !dbg !81238 %1 = bitcast ptr %this1 to ptr, !dbg !81239 %2 = getelementptr inbounds i8, ptr %1, i64 8, !dbg !81240 %3 = bitcast ptr %2 to ptr, !dbg !81241 %call2 = call ptr @"\01??0B@@QEAA@XZ"(ptr %3) #5, !dbg !81242 %4 = bitcast ptr %this1 to ptr, !dbg !81243 store ptr @"\01??_7C@@6BA@@@", ptr %4, align 8, !dbg !81244 %5 = bitcast ptr %this1 to ptr, !dbg !81245 %add.ptr = getelementptr inbounds i8, ptr %5, i64 8, !dbg !81246 %6 = bitcast ptr %add.ptr to ptr, !dbg !81247 store ptr @"\01??_7C@@6BB@@@", ptr %6, align 8, !dbg !81248 %c = getelementptr inbounds %struct.C, ptr %this1, i32 0, i32 2, !dbg !82249 store i32 42, ptr %c, align 8, !dbg !82250 ret ptr %this1, !dbg !81251}252 253; Function Attrs: inlinehint nounwind uwtable254define linkonce_odr ptr @"\01??0D@@QEAA@XZ"(ptr returned %this, i32 %is_most_derived) unnamed_addr #2 comdat align 2 !dbg !83 {255entry:256 %retval = alloca ptr, align 8257 %is_most_derived.addr = alloca i32, align 4258 %this.addr = alloca ptr, align 8259 store i32 %is_most_derived, ptr %is_most_derived.addr, align 4260 call void @llvm.dbg.declare(metadata ptr %is_most_derived.addr, metadata !87, metadata !23), !dbg !88261 store ptr %this, ptr %this.addr, align 8262 call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !89, metadata !23), !dbg !88263 %this1 = load ptr, ptr %this.addr, align 8264 store ptr %this1, ptr %retval, align 8265 %is_most_derived2 = load i32, ptr %is_most_derived.addr, align 4266 %is_complete_object = icmp ne i32 %is_most_derived2, 0, !dbg !91267 br i1 %is_complete_object, label %ctor.init_vbases, label %ctor.skip_vbases, !dbg !91268 269ctor.init_vbases: ; preds = %entry270 %this.int8 = bitcast ptr %this1 to ptr, !dbg !91271 %0 = getelementptr inbounds i8, ptr %this.int8, i64 0, !dbg !91272 %vbptr.D = bitcast ptr %0 to ptr, !dbg !91273 store ptr @"\01??_8D@@7B@", ptr %vbptr.D, align 8, !dbg !91274 %1 = bitcast ptr %this1 to ptr, !dbg !91275 %2 = getelementptr inbounds i8, ptr %1, i64 16, !dbg !91276 %3 = bitcast ptr %2 to ptr, !dbg !91277 %call = call ptr @"\01??0B@@QEAA@XZ"(ptr %3) #5, !dbg !91278 br label %ctor.skip_vbases, !dbg !91279 280ctor.skip_vbases: ; preds = %ctor.init_vbases, %entry281 %4 = bitcast ptr %this1 to ptr, !dbg !91282 %vbptr = getelementptr inbounds i8, ptr %4, i64 0, !dbg !91283 %5 = bitcast ptr %vbptr to ptr, !dbg !91284 %vbtable = load ptr, ptr %5, align 8, !dbg !91285 %6 = getelementptr inbounds i32, ptr %vbtable, i32 1, !dbg !91286 %vbase_offs = load i32, ptr %6, align 4, !dbg !91287 %7 = sext i32 %vbase_offs to i64, !dbg !91288 %8 = add nsw i64 0, %7, !dbg !91289 %9 = bitcast ptr %this1 to ptr, !dbg !91290 %add.ptr = getelementptr inbounds i8, ptr %9, i64 %8, !dbg !91291 %10 = bitcast ptr %add.ptr to ptr, !dbg !91292 store ptr @"\01??_7D@@6B@", ptr %10, align 8, !dbg !91293 %d = getelementptr inbounds %struct.D, ptr %this1, i32 0, i32 1, !dbg !92294 store i32 13, ptr %d, align 8, !dbg !92295 %11 = load ptr, ptr %retval, align 8, !dbg !91296 ret ptr %11, !dbg !91297}298 299; Function Attrs: nounwind uwtable300define linkonce_odr i32 @"\01?g@C@@UEAAHXZ"(ptr) unnamed_addr #3 comdat align 2 !dbg !93 {301entry:302 %this.addr = alloca ptr, align 8303 %1 = getelementptr inbounds i8, ptr %0, i32 -8304 %this = bitcast ptr %1 to ptr305 store ptr %this, ptr %this.addr, align 8306 call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !94, metadata !23), !dbg !95307 %this1 = load ptr, ptr %this.addr, align 8308 %c = getelementptr inbounds %struct.C, ptr %this1, i32 0, i32 2, !dbg !96309 %2 = load i32, ptr %c, align 8, !dbg !96310 ret i32 %2, !dbg !97311}312 313declare i32 @"\01?f@A@@UEAAHXZ"(ptr) unnamed_addr #4314 315declare i32 @"\01?g@B@@UEAAHXZ"(ptr) unnamed_addr #4316 317; Function Attrs: nounwind uwtable318define linkonce_odr i32 @"\01?g@D@@UEAAHXZ"(ptr) unnamed_addr #3 comdat align 2 !dbg !98 {319entry:320 %this.addr = alloca ptr, align 8321 %1 = getelementptr inbounds i8, ptr %0, i32 -16322 %this = bitcast ptr %1 to ptr323 store ptr %this, ptr %this.addr, align 8324 call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !99, metadata !23), !dbg !100325 %this1 = load ptr, ptr %this.addr, align 8326 %d = getelementptr inbounds %struct.D, ptr %this1, i32 0, i32 1, !dbg !101327 %2 = load i32, ptr %d, align 8, !dbg !101328 ret i32 %2, !dbg !102329}330 331attributes #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" "use-soft-float"="false" }332attributes #1 = { nounwind readnone }333attributes #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" "use-soft-float"="false" }334attributes #3 = { 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" "use-soft-float"="false" }335attributes #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" "use-soft-float"="false" }336attributes #5 = { nounwind }337 338!llvm.dbg.cu = !{!0}339!llvm.module.flags = !{!3, !4, !5}340!llvm.ident = !{!6}341 342!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)343!1 = !DIFile(filename: "t.cpp", directory: "D:\5Csrc\5Cllvm\5Cbuild")344!2 = !{}345!3 = !{i32 2, !"CodeView", i32 1}346!4 = !{i32 2, !"Debug Info Version", i32 3}347!5 = !{i32 1, !"PIC Level", i32 2}348!6 = !{!"clang version 3.9.0 "}349!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, retainedNodes: !2)350!8 = !DISubroutineType(types: !9)351!9 = !{null}352!10 = !DILocalVariable(name: "a", scope: !7, file: !1, line: 16, type: !11)353!11 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "A", file: !1, line: 1, size: 64, align: 64, elements: !12, vtableHolder: !11, identifier: ".?AUA@@")354!12 = !{!13, !19}355!13 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$A", scope: !1, file: !1, baseType: !14, size: 64, flags: DIFlagArtificial)356!14 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !15, size: 64)357!15 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "__vtbl_ptr_type", baseType: !16, size: 64)358!16 = !DISubroutineType(types: !17)359!17 = !{!18}360!18 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)361!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)362!20 = !DISubroutineType(types: !21)363!21 = !{!18, !22}364!22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !11, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)365!23 = !DIExpression()366!24 = !DILocation(line: 16, column: 5, scope: !7)367!25 = !DILocalVariable(name: "b", scope: !7, file: !1, line: 17, type: !26)368!26 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "B", file: !1, line: 4, size: 64, align: 64, elements: !27, vtableHolder: !26, identifier: ".?AUB@@")369!27 = !{!28, !29}370!28 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$B", scope: !1, file: !1, baseType: !14, size: 64, flags: DIFlagArtificial)371!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)372!30 = !DISubroutineType(types: !31)373!31 = !{!18, !32}374!32 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !26, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)375!33 = !DILocation(line: 17, column: 5, scope: !7)376!34 = !DILocalVariable(name: "c", scope: !7, file: !1, line: 18, type: !35)377!35 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "C", file: !1, line: 7, size: 192, align: 64, elements: !36, vtableHolder: !11, identifier: ".?AUC@@")378!36 = !{!37, !38, !39, !40}379!37 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !35, baseType: !11)380!38 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !35, baseType: !26, offset: 64)381!39 = !DIDerivedType(tag: DW_TAG_member, name: "c", scope: !35, file: !1, line: 8, baseType: !18, size: 32, align: 32, offset: 128)382!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)383!41 = !DISubroutineType(types: !42)384!42 = !{!18, !43}385!43 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !35, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)386!44 = !DILocation(line: 18, column: 5, scope: !7)387!45 = !DILocalVariable(name: "d", scope: !7, file: !1, line: 19, type: !46)388!46 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "D", file: !1, line: 11, size: 192, align: 64, elements: !47, vtableHolder: !46, identifier: ".?AUD@@")389!47 = !{!48, !49, !50, !51}390!48 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !46, baseType: !26, offset: 4, flags: DIFlagVirtual)391!49 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$D", scope: !1, file: !1, baseType: !14, size: 64, flags: DIFlagArtificial)392!50 = !DIDerivedType(tag: DW_TAG_member, name: "d", scope: !46, file: !1, line: 12, baseType: !18, size: 32, align: 32, offset: 64)393!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)394!52 = !DISubroutineType(types: !53)395!53 = !{!18, !54}396!54 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !46, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer)397!55 = !DILocation(line: 19, column: 5, scope: !7)398!56 = !DILocation(line: 20, column: 5, scope: !7)399!57 = !DILocation(line: 21, column: 1, scope: !7)400!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, retainedNodes: !2)401!59 = !DISubroutineType(types: !60)402!60 = !{null, !22}403!61 = !DISubprogram(name: "A", scope: !11, type: !59, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)404!62 = !DILocalVariable(name: "this", arg: 1, scope: !58, type: !63, flags: DIFlagArtificial | DIFlagObjectPointer)405!63 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !11, size: 64, align: 64)406!64 = !DILocation(line: 0, scope: !58)407!65 = !DILocation(line: 1, column: 8, scope: !58)408!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, retainedNodes: !2)409!67 = !DISubroutineType(types: !68)410!68 = !{null, !32}411!69 = !DISubprogram(name: "B", scope: !26, type: !67, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)412!70 = !DILocalVariable(name: "this", arg: 1, scope: !66, type: !71, flags: DIFlagArtificial | DIFlagObjectPointer)413!71 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !26, size: 64, align: 64)414!72 = !DILocation(line: 0, scope: !66)415!73 = !DILocation(line: 4, column: 8, scope: !66)416!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, retainedNodes: !2)417!75 = !DISubroutineType(types: !76)418!76 = !{null, !43}419!77 = !DISubprogram(name: "C", scope: !35, type: !75, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)420!78 = !DILocalVariable(name: "this", arg: 1, scope: !74, type: !79, flags: DIFlagArtificial | DIFlagObjectPointer)421!79 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !35, size: 64, align: 64)422!80 = !DILocation(line: 0, scope: !74)423!81 = !DILocation(line: 7, column: 8, scope: !74)424!82 = !DILocation(line: 8, column: 7, scope: !74)425!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, retainedNodes: !2)426!84 = !DISubroutineType(types: !85)427!85 = !{null, !54}428!86 = !DISubprogram(name: "D", scope: !46, type: !84, isLocal: false, isDefinition: false, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false)429!87 = !DILocalVariable(name: "is_most_derived", arg: 2, scope: !83, type: !18, flags: DIFlagArtificial)430!88 = !DILocation(line: 0, scope: !83)431!89 = !DILocalVariable(name: "this", arg: 1, scope: !83, type: !90, flags: DIFlagArtificial | DIFlagObjectPointer)432!90 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !46, size: 64, align: 64)433!91 = !DILocation(line: 11, column: 8, scope: !83)434!92 = !DILocation(line: 12, column: 7, scope: !83)435!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, retainedNodes: !2)436!94 = !DILocalVariable(name: "this", arg: 1, scope: !93, type: !79, flags: DIFlagArtificial | DIFlagObjectPointer)437!95 = !DILocation(line: 0, scope: !93)438!96 = !DILocation(line: 9, column: 28, scope: !93)439!97 = !DILocation(line: 9, column: 21, scope: !93)440!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, retainedNodes: !2)441!99 = !DILocalVariable(name: "this", arg: 1, scope: !98, type: !90, flags: DIFlagArtificial | DIFlagObjectPointer)442!100 = !DILocation(line: 0, scope: !98)443!101 = !DILocation(line: 13, column: 28, scope: !98)444!102 = !DILocation(line: 13, column: 21, scope: !98)445