brintos

brintos / llvm-project-archived public Read only

0
0
Text · 25.4 KiB · 9df4435 Raw
498 lines · plain
1; RUN: llc < %s | FileCheck %s --check-prefix=ASM2; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s --check-prefix=OBJ3; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s --check-prefix=OBJ4; RUN: llc < %s -filetype=obj | obj2yaml | FileCheck %s --check-prefixes=YAML,YAML-STDOUT5; RUN: llc < %s -filetype=obj -o %t6; RUN: obj2yaml < %t | FileCheck %s --check-prefixes=YAML,YAML-FILE7 8; C++ source to regenerate:9; $ cat a.cpp10; int first;11; 12; template <typename T> struct A { static const int comdat = 3; };13; 14; thread_local const int *middle = &A<void>::comdat;15; 16; namespace foo {17; thread_local int globalTLS = 4;18; static thread_local int staticTLS = 5;19; int justGlobal = 6;20; static int globalStatic = 7;21; constexpr int constExpr = 8;22; const int constVal = 9;23; 24; struct Data {25;   inline static thread_local int DataStaticTLS = 11;26;   int DataGlobal = 12;27;   inline static int DataStatic = 13;28;   constexpr static int DataConstExpr = 14;29;   const int DataConstVal = 15;30; };31; } // namespace foo32; 33; int last;34; 35; int bar() {36;   struct Local {37;     int LocalGlobal = 12;38;     const int LocalConstVal = 15;39;   };40;   foo::Data D;41;   Local L;42;   return foo::globalStatic + foo::globalTLS + foo::staticTLS + foo::justGlobal +43;          foo::globalStatic + foo::constExpr + foo::constVal + D.DataStaticTLS +44;          D.DataGlobal + D.DataStatic + D.DataConstExpr + D.DataConstVal +45;          L.LocalGlobal + L.LocalConstVal;46; }47; 48; $ clang-cl a.cpp /c /GS- /Z7 /GR- /std:c++17 /clang:-S /clang:-emit-llvm49 50; ASM:        .section        .debug$S,"dr"51; ASM-NEXT:   .p2align        2, 0x052; ASM-NEXT:   .long   4                       # Debug section magic53 54; ASM:        .short  4365                    # Record kind: S_GDATA3255; ASM-NEXT:   .long   116                     # Type56; ASM-NEXT:   .secrel32       "?first@@3HA"   # DataOffset57; ASM-NEXT:   .secidx "?first@@3HA"           # Segment58; ASM-NEXT:   .asciz  "first"                 # Name59; ASM-NEXT:   .p2align        2, 0x060 61; ASM:        .short  4371                    # Record kind: S_GTHREAD3262; ASM-NEXT:   .long   4117                    # Type63; ASM-NEXT:   .secrel32       "?middle@@3PEBHEB" # DataOffset64; ASM-NEXT:   .secidx "?middle@@3PEBHEB"      # Segment65; ASM-NEXT:   .asciz  "middle"                # Name66; ASM-NEXT:   .p2align        2, 0x067 68; ASM:        .short  4371                    # Record kind: S_GTHREAD3269; ASM-NEXT:   .long   116                     # Type70; ASM-NEXT:   .secrel32       "?globalTLS@foo@@3HA" # DataOffset71; ASM-NEXT:   .secidx "?globalTLS@foo@@3HA"   # Segment72; ASM-NEXT:   .asciz  "foo::globalTLS"        # Name73; ASM-NEXT:   .p2align        2, 0x074 75; ASM:        .short  4365                    # Record kind: S_GDATA3276; ASM-NEXT:   .long   116                     # Type77; ASM-NEXT:   .secrel32       "?justGlobal@foo@@3HA" # DataOffset78; ASM-NEXT:   .secidx "?justGlobal@foo@@3HA"  # Segment79; ASM-NEXT:   .asciz  "foo::justGlobal"       # Name80; ASM-NEXT:   .p2align        2, 0x081 82; ASM:        .short  4365                    # Record kind: S_GDATA3283; ASM-NEXT:   .long   116                     # Type84; ASM-NEXT:   .secrel32       "?last@@3HA"    # DataOffset85; ASM-NEXT:   .secidx "?last@@3HA"            # Segment86; ASM-NEXT:   .asciz  "last"                  # Name87; ASM-NEXT:   .p2align        2, 0x088 89; ASM:        .short	4359                    # Record kind: S_CONSTANT90; ASM-NEXT:	  .long	4100                    # Type91; ASM-NEXT:   .byte	0x08, 0x00              # Value92; ASM-NEXT:	  .asciz	"foo::constExpr"        # Name93; ASM-NEXT:   .p2align	2, 0x094 95; ASM:        .short	4359                    # Record kind: S_CONSTANT96; ASM-NEXT:   .long	4100                    # Type97; ASM-NEXT:   .byte	0x09, 0x00              # Value98; ASM-NEXT:   .asciz	"foo::constVal"         # Name99; ASM-NEXT:   .p2align	2, 0x0100 101; ASM:        .short	4359                    # Record kind: S_CONSTANT102; ASM-NEXT:   .long	4100                    # Type103; ASM-NEXT:   .byte	0x0e, 0x00              # Value104; ASM-NEXT:   .asciz	"foo::Data::DataConstExpr" # Name105; ASM-NEXT:   .p2align	2, 0x0106 107; ASM:        .short  4364                    # Record kind: S_LDATA32108; ASM-NEXT:   .long   116                     # Type109; ASM-NEXT:   .secrel32       "?globalStatic@foo@@3HA" # DataOffset110; ASM-NEXT:   .secidx "?globalStatic@foo@@3HA" # Segment111; ASM-NEXT:   .asciz  "foo::globalStatic"     # Name112; ASM-NEXT:   .p2align        2, 0x0113 114; ASM:        .short  4370                    # Record kind: S_LTHREAD32115; ASM-NEXT:   .long   116                     # Type116; ASM-NEXT:   .secrel32       "?staticTLS@foo@@3HA" # DataOffset117; ASM-NEXT:   .secidx "?staticTLS@foo@@3HA"   # Segment118; ASM-NEXT:   .asciz  "foo::staticTLS"        # Name119; ASM-NEXT:   .p2align        2, 0x0120 121; ASM:        .section        .debug$S,"dr",associative,"?comdat@?$A@X@@2HB"122; ASM-NEXT:   .p2align        2, 0x0123; ASM-NEXT:   .long   4                       # Debug section magic124 125; ASM:        .short  4365                    # Record kind: S_GDATA32126; ASM-NEXT:   .long   4100                    # Type127; ASM-NEXT:   .secrel32       "?comdat@?$A@X@@2HB" # DataOffset128; ASM-NEXT:   .secidx "?comdat@?$A@X@@2HB"    # Segment129; ASM-NEXT:   .asciz  "A<void>::comdat"       # Name130 131; ASM:	      .section	.debug$S,"dr",associative,"?DataStaticTLS@Data@foo@@2HA"132; ASM-NEXT:	  .p2align	2, 0x0          # Symbol subsection for ?DataStaticTLS@Data@foo@@2HA133 134; ASM:	      .short	4371                    # Record kind: S_GTHREAD32135; ASM-NEXT:	  .long	116                     # Type136; ASM-NEXT:	  .secrel32	"?DataStaticTLS@Data@foo@@2HA" # DataOffset137; ASM-NEXT:	  .secidx	"?DataStaticTLS@Data@foo@@2HA" # Segment138; ASM-NEXT:	  .asciz	"foo::Data::DataStaticTLS"         # Name139; ASM-NEXT:   .p2align	2, 0x0140 141; ASM:        .section        .debug$S,"dr",associative,"?DataStatic@Data@foo@@2HA"142; ASM-NEXT:   .p2align        2, 0x0          # Symbol subsection for ?DataStatic@Data@foo@@2HA143 144; ASM:        .short  4365                    # Record kind: S_GDATA32145; ASM-NEXT:   .long   116                     # Type146; ASM-NEXT:   .secrel32       "?DataStatic@Data@foo@@2HA" # DataOffset147; ASM-NEXT:   .secidx "?DataStatic@Data@foo@@2HA" # Segment148; ASM-NEXT:   .asciz  "foo::Data::DataStatic" # Name149; ASM-NEXT:   .p2align        2, 0x0150 151; OBJ: CodeViewDebugInfo [152; OBJ:   Section: .debug$S153; OBJ:   Magic: 0x4154; OBJ:   Subsection [155 156; OBJ-LABEL:    GlobalData {157; OBJ-NEXT:       Kind: S_GDATA32 (0x110D)158; OBJ-NEXT:       DataOffset: ?first@@3HA+0x0159; OBJ-NEXT:       Type: int (0x74)160; OBJ-NEXT:       DisplayName: first161; OBJ-NEXT:       LinkageName: ?first@@3HA162; OBJ-NEXT:     }163; OBJ-NEXT:     GlobalTLS {164; OBJ-NEXT:       Kind: S_GTHREAD32 (0x1113)165; OBJ-NEXT:       DataOffset: ?middle@@3PEBHEB+0x0166; OBJ-NEXT:       Type: const int* (0x1015)167; OBJ-NEXT:       DisplayName: middle168; OBJ-NEXT:       LinkageName: ?middle@@3PEBHEB169; OBJ-NEXT:     }170; OBJ-NEXT:     GlobalTLS {171; OBJ-NEXT:       Kind: S_GTHREAD32 (0x1113)172; OBJ-NEXT:       DataOffset: ?globalTLS@foo@@3HA+0x0173; OBJ-NEXT:       Type: int (0x74)174; OBJ-NEXT:       DisplayName: foo::globalTLS175; OBJ-NEXT:       LinkageName: ?globalTLS@foo@@3HA176; OBJ-NEXT:     }177; OBJ-NEXT:     GlobalData {178; OBJ-NEXT:       Kind: S_GDATA32 (0x110D)179; OBJ-NEXT:       DataOffset: ?justGlobal@foo@@3HA+0x0180; OBJ-NEXT:       Type: int (0x74)181; OBJ-NEXT:       DisplayName: foo::justGlobal182; OBJ-NEXT:       LinkageName: ?justGlobal@foo@@3HA183; OBJ-NEXT:     }184; OBJ-NEXT:     GlobalData {185; OBJ-NEXT:       Kind: S_GDATA32 (0x110D)186; OBJ-NEXT:       DataOffset: ?last@@3HA+0x0187; OBJ-NEXT:       Type: int (0x74)188; OBJ-NEXT:       DisplayName: last189; OBJ-NEXT:       LinkageName: ?last@@3HA190; OBJ-NEXT:     }191; OBJ-NEXT:    ConstantSym {192; OBJ-NEXT:      Kind: S_CONSTANT (0x1107)193; OBJ-NEXT:      Type: const int (0x1004)194; OBJ-NEXT:      Value: 8195; OBJ-NEXT:      Name: foo::constExpr196; OBJ-NEXT:    }197; OBJ-NEXT:    ConstantSym {198; OBJ-NEXT:      Kind: S_CONSTANT (0x1107)199; OBJ-NEXT:      Type: const int (0x1004)200; OBJ-NEXT:      Value: 9201; OBJ-NEXT:      Name: foo::constVal202; OBJ-NEXT:    }203; OBJ-NEXT:    ConstantSym {204; OBJ-NEXT:      Kind: S_CONSTANT (0x1107)205; OBJ-NEXT:      Type: const int (0x1004)206; OBJ-NEXT:      Value: 14207; OBJ-NEXT:      Name: foo::Data::DataConstExpr208; OBJ-NEXT:    }209; OBJ-NEXT:     DataSym {210; OBJ-NEXT:       Kind: S_LDATA32 (0x110C)211; OBJ-NEXT:       DataOffset: ?globalStatic@foo@@3HA+0x0212; OBJ-NEXT:       Type: int (0x74)213; OBJ-NEXT:       DisplayName: foo::globalStatic214; OBJ-NEXT:       LinkageName: ?globalStatic@foo@@3HA215; OBJ-NEXT:     }216; OBJ-NEXT:     ThreadLocalDataSym {217; OBJ-NEXT:       Kind: S_LTHREAD32 (0x1112)218; OBJ-NEXT:       DataOffset: ?staticTLS@foo@@3HA+0x0219; OBJ-NEXT:       Type: int (0x74)220; OBJ-NEXT:       DisplayName: foo::staticTLS221; OBJ-NEXT:       LinkageName: ?staticTLS@foo@@3HA222; OBJ-NEXT:     }223 224; OBJ:    GlobalData {225; OBJ-NEXT:      Kind: S_GDATA32 (0x110D)226; OBJ-LABEL:      DataOffset: ?comdat@?$A@X@@2HB+0x0227; OBJ-NEXT:      Type: const int (0x1004)228; OBJ-NEXT:      DisplayName: A<void>::comdat229; OBJ-NEXT:      LinkageName: ?comdat@?$A@X@@2HB230 231; OBJ:    GlobalTLS {232; OBJ-NEXT:      Kind: S_GTHREAD32 (0x1113)233; OBJ-NEXT:      DataOffset: ?DataStaticTLS@Data@foo@@2HA+0x0234; OBJ-NEXT:      Type: int (0x74)235; OBJ-NEXT:      DisplayName: foo::Data::DataStaticTLS236; OBJ-NEXT:      LinkageName: ?DataStaticTLS@Data@foo@@2HA237; OBJ-NEXT:    }238 239; OBJ:    GlobalData {240; OBJ-NEXT:      Kind: S_GDATA32 (0x110D)241; OBJ-NEXT:      DataOffset: ?DataStatic@Data@foo@@2HA+0x0242; OBJ-NEXT:      Type: int (0x74)243; OBJ-NEXT:      DisplayName: foo::Data::DataStatic244; OBJ-NEXT:      LinkageName: ?DataStatic@Data@foo@@2HA245; OBJ-NEXT:    }246 247; YAML-LABEL:  - Name:            '.debug$S'248; YAML:    Subsections:249; YAML:      - !Symbols250; YAML:        Records:251; YAML:          - Kind:            S_OBJNAME252; YAML:            ObjNameSym:253; YAML:               Signature:       0254; YAML-STDOUT:        ObjectName:      ''255; YAML-FILE:          ObjectName:      '{{.*}}'256; YAML:          - Kind:            S_COMPILE3257; YAML:            Compile3Sym:258 259; YAML:      - !Symbols260; YAML-NEXT:        Records:261; YAML-LABEL:        - Kind:            S_GDATA32262; YAML-NEXT:            DataSym:263; YAML-NOT: Segment264; YAML-NEXT:              Type:            116265; YAML-NOT: Segment266; YAML-NEXT:              DisplayName:     first267; YAML-NOT: Segment268; YAML-NEXT:          - Kind:            S_GTHREAD32269; YAML-NEXT:            ThreadLocalDataSym:270; YAML-NEXT:              Type:            4117271; YAML-NEXT:              DisplayName:     middle272; YAML-NEXT:          - Kind:            S_GTHREAD32273; YAML-NEXT:            ThreadLocalDataSym:274; YAML-NEXT:              Type:            116275; YAML-NEXT:              DisplayName:     'foo::globalTLS'276; YAML-NEXT:          - Kind:            S_GDATA32277; YAML-NEXT:            DataSym:278; YAML-NOT: Segment279; YAML-NEXT:              Type:            116280; YAML-NOT: Segment281; YAML-NEXT:              DisplayName:     'foo::justGlobal'282; YAML-NOT: Segment283; YAML-NEXT:          - Kind:            S_GDATA32284; YAML-NEXT:            DataSym:285; YAML-NEXT:              Type:            116286; YAML-NEXT:              DisplayName:     last287; YAML-NEXT:          - Kind:            S_CONSTANT288; YAML-NEXT:            ConstantSym:289; YAML-NEXT:              Type:            4100290; YAML-NEXT:              Value:           8291; YAML-NEXT:              Name:            'foo::constExpr'292; YAML-NEXT:          - Kind:            S_CONSTANT293; YAML-NEXT:            ConstantSym:294; YAML-NEXT:              Type:            4100295; YAML-NEXT:              Value:           9296; YAML-NEXT:              Name:            'foo::constVal'297; YAML-NEXT:          - Kind:            S_CONSTANT298; YAML-NEXT:            ConstantSym:299; YAML-NEXT:              Type:            4100300; YAML-NEXT:              Value:           14301; YAML-NEXT:              Name:            'foo::Data::DataConstExpr'302; YAML-NEXT:          - Kind:            S_LDATA32303; YAML-NEXT:            DataSym:304; YAML-NEXT:              Type:            116305; YAML-NEXT:              DisplayName:     'foo::globalStatic'306; YAML-NEXT:          - Kind:            S_LTHREAD32307; YAML-NEXT:            ThreadLocalDataSym:308; YAML-NEXT:              Type:            116309; YAML-NEXT:              DisplayName:     'foo::staticTLS'310 311; ModuleID = 'a.cpp'312source_filename = "a.cpp"313target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"314target triple = "x86_64-pc-windows-msvc19.25.28614"315 316%"struct.foo::Data" = type { i32, i32 }317%struct.Local = type { i32, i32 }318 319$"??0Data@foo@@QEAA@XZ" = comdat any320 321$"?comdat@?$A@X@@2HB" = comdat any322 323$"?DataStaticTLS@Data@foo@@2HA" = comdat any324 325$"?DataStatic@Data@foo@@2HA" = comdat any326 327@"?first@@3HA" = dso_local global i32 0, align 4, !dbg !0328@"?comdat@?$A@X@@2HB" = linkonce_odr dso_local constant i32 3, comdat, align 4, !dbg !17329@"?middle@@3PEBHEB" = dso_local thread_local global ptr @"?comdat@?$A@X@@2HB", align 8, !dbg !24330@"?globalTLS@foo@@3HA" = dso_local thread_local global i32 4, align 4, !dbg !27331@"?justGlobal@foo@@3HA" = dso_local global i32 6, align 4, !dbg !29332@"?last@@3HA" = dso_local global i32 0, align 4, !dbg !31333@"?globalStatic@foo@@3HA" = internal global i32 7, align 4, !dbg !43334@"?staticTLS@foo@@3HA" = internal thread_local global i32 5, align 4, !dbg !45335@"?DataStaticTLS@Data@foo@@2HA" = linkonce_odr dso_local thread_local global i32 11, comdat, align 4, !dbg !37336@"?DataStatic@Data@foo@@2HA" = linkonce_odr dso_local global i32 13, comdat, align 4, !dbg !39337 338; Function Attrs: noinline nounwind optnone uwtable339define dso_local i32 @"?bar@@YAHXZ"() #0 !dbg !54 {340entry:341  %D = alloca %"struct.foo::Data", align 4342  %L = alloca %struct.Local, align 4343  call void @llvm.dbg.declare(metadata ptr %D, metadata !57, metadata !DIExpression()), !dbg !58344  %call = call ptr @"??0Data@foo@@QEAA@XZ"(ptr %D) #2, !dbg !58345  call void @llvm.dbg.declare(metadata ptr %L, metadata !59, metadata !DIExpression()), !dbg !64346  %call1 = call ptr @"??0Local@?1??bar@@YAHXZ@QEAA@XZ"(ptr %L) #2, !dbg !64347  %0 = load i32, ptr @"?globalStatic@foo@@3HA", align 4, !dbg !65348  %1 = load i32, ptr @"?globalTLS@foo@@3HA", align 4, !dbg !65349  %add = add nsw i32 %0, %1, !dbg !65350  %2 = load i32, ptr @"?staticTLS@foo@@3HA", align 4, !dbg !65351  %add2 = add nsw i32 %add, %2, !dbg !65352  %3 = load i32, ptr @"?justGlobal@foo@@3HA", align 4, !dbg !65353  %add3 = add nsw i32 %add2, %3, !dbg !65354  %4 = load i32, ptr @"?globalStatic@foo@@3HA", align 4, !dbg !65355  %add4 = add nsw i32 %add3, %4, !dbg !65356  %add5 = add nsw i32 %add4, 8, !dbg !65357  %add6 = add nsw i32 %add5, 9, !dbg !65358  %5 = load i32, ptr @"?DataStaticTLS@Data@foo@@2HA", align 4, !dbg !65359  %add7 = add nsw i32 %add6, %5, !dbg !65360  %6 = load i32, ptr %D, align 4, !dbg !65361  %add8 = add nsw i32 %add7, %6, !dbg !65362  %7 = load i32, ptr @"?DataStatic@Data@foo@@2HA", align 4, !dbg !65363  %add9 = add nsw i32 %add8, %7, !dbg !65364  %add10 = add nsw i32 %add9, 14, !dbg !65365  %DataConstVal = getelementptr inbounds %"struct.foo::Data", ptr %D, i32 0, i32 1, !dbg !65366  %8 = load i32, ptr %DataConstVal, align 4, !dbg !65367  %add11 = add nsw i32 %add10, %8, !dbg !65368  %9 = load i32, ptr %L, align 4, !dbg !65369  %add12 = add nsw i32 %add11, %9, !dbg !65370  %LocalConstVal = getelementptr inbounds %struct.Local, ptr %L, i32 0, i32 1, !dbg !65371  %10 = load i32, ptr %LocalConstVal, align 4, !dbg !65372  %add13 = add nsw i32 %add12, %10, !dbg !65373  ret i32 %add13, !dbg !65374}375 376; Function Attrs: nounwind readnone speculatable willreturn377declare void @llvm.dbg.declare(metadata, metadata, metadata) #1378 379; Function Attrs: noinline nounwind optnone uwtable380define linkonce_odr dso_local ptr @"??0Data@foo@@QEAA@XZ"(ptr returned %this) unnamed_addr #0 comdat align 2 !dbg !66 {381entry:382  %this.addr = alloca ptr, align 8383  store ptr %this, ptr %this.addr, align 8384  call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !71, metadata !DIExpression()), !dbg !73385  %this1 = load ptr, ptr %this.addr, align 8386  store i32 12, ptr %this1, align 4, !dbg !74387  %DataConstVal = getelementptr inbounds %"struct.foo::Data", ptr %this1, i32 0, i32 1, !dbg !74388  store i32 15, ptr %DataConstVal, align 4, !dbg !74389  ret ptr %this1, !dbg !74390}391 392; Function Attrs: noinline nounwind optnone uwtable393define internal ptr @"??0Local@?1??bar@@YAHXZ@QEAA@XZ"(ptr returned %this) unnamed_addr #0 align 2 !dbg !75 {394entry:395  %this.addr = alloca ptr, align 8396  store ptr %this, ptr %this.addr, align 8397  call void @llvm.dbg.declare(metadata ptr %this.addr, metadata !80, metadata !DIExpression()), !dbg !82398  %this1 = load ptr, ptr %this.addr, align 8399  store i32 12, ptr %this1, align 4, !dbg !83400  %LocalConstVal = getelementptr inbounds %struct.Local, ptr %this1, i32 0, i32 1, !dbg !83401  store i32 15, ptr %LocalConstVal, align 4, !dbg !83402  ret ptr %this1, !dbg !83403}404 405attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="none" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "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"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "use-soft-float"="false" }406attributes #1 = { nounwind readnone speculatable willreturn }407attributes #2 = { nounwind }408 409!llvm.dbg.cu = !{!2}410!llvm.linker.options = !{!47, !48}411!llvm.module.flags = !{!49, !50, !51, !52}412!llvm.ident = !{!53}413 414!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())415!1 = distinct !DIGlobalVariable(name: "first", linkageName: "?first@@3HA", scope: !2, file: !3, line: 1, type: !10, isLocal: false, isDefinition: true)416!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !3, producer: "clang version 11.0.0 (https://github.com/llvm/llvm-project.git 202f144bffd0be254a829924195e1b8ebabcbb79)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, retainedTypes: !5, globals: !16, nameTableKind: None)417!3 = !DIFile(filename: "a.cpp", directory: "F:\\llvm-project\\__test", checksumkind: CSK_MD5, checksum: "ae8137877dbd6fb10cfa1fc9ea4a39ca")418!4 = !{}419!5 = !{!6}420!6 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Data", scope: !7, file: !3, line: 15, size: 64, flags: DIFlagTypePassByValue | DIFlagNonTrivial, elements: !8, identifier: ".?AUData@foo@@")421!7 = !DINamespace(name: "foo", scope: null)422!8 = !{!9, !11, !12, !13, !15}423!9 = !DIDerivedType(tag: DW_TAG_member, name: "DataStaticTLS", scope: !6, file: !3, line: 16, baseType: !10, flags: DIFlagStaticMember, extraData: i32 11)424!10 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)425!11 = !DIDerivedType(tag: DW_TAG_member, name: "DataGlobal", scope: !6, file: !3, line: 17, baseType: !10, size: 32)426!12 = !DIDerivedType(tag: DW_TAG_member, name: "DataStatic", scope: !6, file: !3, line: 18, baseType: !10, flags: DIFlagStaticMember, extraData: i32 13)427!13 = !DIDerivedType(tag: DW_TAG_member, name: "DataConstExpr", scope: !6, file: !3, line: 19, baseType: !14, flags: DIFlagStaticMember, extraData: i32 14)428!14 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !10)429!15 = !DIDerivedType(tag: DW_TAG_member, name: "DataConstVal", scope: !6, file: !3, line: 20, baseType: !14, size: 32, offset: 32)430!16 = !{!0, !17, !24, !27, !29, !31, !33, !35, !37, !39, !41, !43, !45}431!17 = !DIGlobalVariableExpression(var: !18, expr: !DIExpression())432!18 = distinct !DIGlobalVariable(name: "comdat", linkageName: "?comdat@?$A@X@@2HB", scope: !2, file: !3, line: 3, type: !14, isLocal: false, isDefinition: true, declaration: !19)433!19 = !DIDerivedType(tag: DW_TAG_member, name: "comdat", scope: !20, file: !3, line: 3, baseType: !14, flags: DIFlagStaticMember, extraData: i32 3)434!20 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "A<void>", file: !3, line: 3, size: 8, flags: DIFlagTypePassByValue, elements: !21, templateParams: !22, identifier: ".?AU?$A@X@@")435!21 = !{!19}436!22 = !{!23}437!23 = !DITemplateTypeParameter(name: "T", type: null)438!24 = !DIGlobalVariableExpression(var: !25, expr: !DIExpression())439!25 = distinct !DIGlobalVariable(name: "middle", linkageName: "?middle@@3PEBHEB", scope: !2, file: !3, line: 5, type: !26, isLocal: false, isDefinition: true)440!26 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !14, size: 64)441!27 = !DIGlobalVariableExpression(var: !28, expr: !DIExpression())442!28 = distinct !DIGlobalVariable(name: "globalTLS", linkageName: "?globalTLS@foo@@3HA", scope: !7, file: !3, line: 8, type: !10, isLocal: false, isDefinition: true)443!29 = !DIGlobalVariableExpression(var: !30, expr: !DIExpression())444!30 = distinct !DIGlobalVariable(name: "justGlobal", linkageName: "?justGlobal@foo@@3HA", scope: !7, file: !3, line: 10, type: !10, isLocal: false, isDefinition: true)445!31 = !DIGlobalVariableExpression(var: !32, expr: !DIExpression())446!32 = distinct !DIGlobalVariable(name: "last", linkageName: "?last@@3HA", scope: !2, file: !3, line: 24, type: !10, isLocal: false, isDefinition: true)447!33 = !DIGlobalVariableExpression(var: !34, expr: !DIExpression(DW_OP_constu, 8, DW_OP_stack_value))448!34 = distinct !DIGlobalVariable(name: "constExpr", scope: !7, file: !3, line: 12, type: !14, isLocal: true, isDefinition: true)449!35 = !DIGlobalVariableExpression(var: !36, expr: !DIExpression(DW_OP_constu, 9, DW_OP_stack_value))450!36 = distinct !DIGlobalVariable(name: "constVal", scope: !7, file: !3, line: 13, type: !14, isLocal: true, isDefinition: true)451!37 = !DIGlobalVariableExpression(var: !38, expr: !DIExpression())452!38 = distinct !DIGlobalVariable(name: "DataStaticTLS", linkageName: "?DataStaticTLS@Data@foo@@2HA", scope: !2, file: !3, line: 16, type: !10, isLocal: false, isDefinition: true, declaration: !9)453!39 = !DIGlobalVariableExpression(var: !40, expr: !DIExpression())454!40 = distinct !DIGlobalVariable(name: "DataStatic", linkageName: "?DataStatic@Data@foo@@2HA", scope: !2, file: !3, line: 18, type: !10, isLocal: false, isDefinition: true, declaration: !12)455!41 = !DIGlobalVariableExpression(var: !42, expr: !DIExpression(DW_OP_constu, 14, DW_OP_stack_value))456!42 = distinct !DIGlobalVariable(name: "DataConstExpr", scope: !2, file: !3, line: 19, type: !14, isLocal: true, isDefinition: true, declaration: !13)457!43 = !DIGlobalVariableExpression(var: !44, expr: !DIExpression())458!44 = distinct !DIGlobalVariable(name: "globalStatic", linkageName: "?globalStatic@foo@@3HA", scope: !7, file: !3, line: 11, type: !10, isLocal: true, isDefinition: true)459!45 = !DIGlobalVariableExpression(var: !46, expr: !DIExpression())460!46 = distinct !DIGlobalVariable(name: "staticTLS", linkageName: "?staticTLS@foo@@3HA", scope: !7, file: !3, line: 9, type: !10, isLocal: true, isDefinition: true)461!47 = !{!"/DEFAULTLIB:libcmt.lib"}462!48 = !{!"/DEFAULTLIB:oldnames.lib"}463!49 = !{i32 2, !"CodeView", i32 1}464!50 = !{i32 2, !"Debug Info Version", i32 3}465!51 = !{i32 1, !"wchar_size", i32 2}466!52 = !{i32 7, !"PIC Level", i32 2}467!53 = !{!"clang version 11.0.0 (https://github.com/llvm/llvm-project.git 202f144bffd0be254a829924195e1b8ebabcbb79)"}468!54 = distinct !DISubprogram(name: "bar", linkageName: "?bar@@YAHXZ", scope: !3, file: !3, line: 26, type: !55, scopeLine: 26, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !4)469!55 = !DISubroutineType(types: !56)470!56 = !{!10}471!57 = !DILocalVariable(name: "D", scope: !54, file: !3, line: 31, type: !6)472!58 = !DILocation(line: 31, scope: !54)473!59 = !DILocalVariable(name: "L", scope: !54, file: !3, line: 32, type: !60)474!60 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Local", scope: !54, file: !3, line: 27, size: 64, flags: DIFlagTypePassByValue | DIFlagNonTrivial, elements: !61, identifier: ".?AULocal@?1??bar@@YAHXZ@")475!61 = !{!62, !63}476!62 = !DIDerivedType(tag: DW_TAG_member, name: "LocalGlobal", scope: !60, file: !3, line: 28, baseType: !10, size: 32)477!63 = !DIDerivedType(tag: DW_TAG_member, name: "LocalConstVal", scope: !60, file: !3, line: 29, baseType: !14, size: 32, offset: 32)478!64 = !DILocation(line: 32, scope: !54)479!65 = !DILocation(line: 33, scope: !54)480!66 = distinct !DISubprogram(name: "Data", linkageName: "??0Data@foo@@QEAA@XZ", scope: !6, file: !3, line: 15, type: !67, scopeLine: 15, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, declaration: !70, retainedNodes: !4)481!67 = !DISubroutineType(types: !68)482!68 = !{null, !69}483!69 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !6, size: 64, flags: DIFlagArtificial | DIFlagObjectPointer)484!70 = !DISubprogram(name: "Data", scope: !6, type: !67, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: 0)485!71 = !DILocalVariable(name: "this", arg: 1, scope: !66, type: !72, flags: DIFlagArtificial | DIFlagObjectPointer)486!72 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !6, size: 64)487!73 = !DILocation(line: 0, scope: !66)488!74 = !DILocation(line: 15, scope: !66)489!75 = distinct !DISubprogram(name: "Local", linkageName: "??0Local@?1??bar@@YAHXZ@QEAA@XZ", scope: !60, file: !3, line: 27, type: !76, scopeLine: 27, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !2, declaration: !79, retainedNodes: !4)490!76 = !DISubroutineType(types: !77)491!77 = !{null, !78}492!78 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !60, size: 64, flags: DIFlagArtificial | DIFlagObjectPointer)493!79 = !DISubprogram(name: "Local", scope: !60, type: !76, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: 0)494!80 = !DILocalVariable(name: "this", arg: 1, scope: !75, type: !81, flags: DIFlagArtificial | DIFlagObjectPointer)495!81 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !60, size: 64)496!82 = !DILocation(line: 0, scope: !75)497!83 = !DILocation(line: 27, scope: !75)498