1; RUN: llc -mtriple=x86_64-pc-linux-gnu -generate-gnu-dwarf-pub-sections < %s | FileCheck -check-prefix=ASM %s 2; RUN: llc -mtriple=x86_64-pc-linux-gnu -generate-gnu-dwarf-pub-sections -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s 3; ModuleID = 'dwarf-public-names.cpp' 4; 5; Generated from: 6; 7; struct C { 8; void member_function(); 9; static int static_member_function(); 10; static int static_member_variable; 11; }; 12; 13; int C::static_member_variable = 0; 14; 15; void C::member_function() { 16; static_member_variable = 0; 17; } 18; 19; int C::static_member_function() { 20; return static_member_variable; 21; } 22; 23; C global_variable; 24; 25; int global_function() { 26; return -1; 27; } 28; 29; namespace ns { 30; void global_namespace_function() { 31; global_variable.member_function(); 32; } 33; int global_namespace_variable = 1; 34; struct D { 35; int A; 36; } d; 37; } 38 39; ASM: .section .debug_gnu_pubnames 40; ASM: .byte 32 # Kind: VARIABLE, EXTERNAL 41; ASM-NEXT: .asciz "global_variable" # External Name 42 43; ASM: .section .debug_gnu_pubtypes 44; ASM: .byte 16 # Kind: TYPE, EXTERNAL 45; ASM-NEXT: .asciz "C" # External Name 46 47; CHECK: .debug_info contents: 48; CHECK: Compile Unit: 49; CHECK: DW_AT_GNU_pubnames [DW_FORM_flag_present] (true) 50; CHECK-NOT: DW_AT_GNU_pubtypes [ 51 52; CHECK: [[C:0x[0-9a-f]+]]: DW_TAG_structure_type 53; CHECK-NEXT: DW_AT_name {{.*}} "C" 54 55; CHECK: [[STATIC_MEM_DECL:0x[0-9a-f]+]]: DW_TAG_member 56; CHECK-NEXT: DW_AT_name {{.*}} "static_member_variable" 57 58; CHECK: [[MEM_FUNC_DECL:0x[0-9a-f]+]]: DW_TAG_subprogram 59; CHECK-NEXT: DW_AT_MIPS_linkage_name 60; CHECK-NEXT: DW_AT_name {{.*}} "member_function" 61 62; CHECK: [[STATIC_MEM_FUNC_DECL:0x[0-9a-f]+]]: DW_TAG_subprogram 63; CHECK-NEXT: DW_AT_MIPS_linkage_name 64; CHECK-NEXT: DW_AT_name {{.*}} "static_member_function" 65 66; CHECK: [[INT:0x[0-9a-f]+]]: DW_TAG_base_type 67; CHECK-NEXT: DW_AT_name {{.*}} "int" 68 69; CHECK: [[STATIC_MEM_VAR:0x[0-9a-f]+]]: DW_TAG_variable 70; CHECK-NEXT: DW_AT_specification {{.*}} {[[STATIC_MEM_DECL]]} 71 72; CHECK: [[GLOB_VAR:0x[0-9a-f]+]]: DW_TAG_variable 73; CHECK-NEXT: DW_AT_name {{.*}} "global_variable" 74 75; CHECK: [[NS:0x[0-9a-f]+]]: DW_TAG_namespace 76; CHECK-NEXT: DW_AT_name {{.*}} "ns" 77 78; CHECK: [[GLOB_NS_VAR_DECL:0x[0-9a-f]+]]: DW_TAG_variable 79; CHECK-NEXT: DW_AT_name {{.*}} "global_namespace_variable" 80 81; CHECK: [[D_VAR_DECL:0x[0-9a-f]+]]: DW_TAG_variable 82; CHECK-NEXT: DW_AT_name {{.*}} "d" 83 84; CHECK: [[D:0x[0-9a-f]+]]: DW_TAG_structure_type 85; CHECK-NEXT: DW_AT_name {{.*}} "D" 86 87; CHECK: [[GLOB_NS_FUNC:0x[0-9a-f]+]]: DW_TAG_subprogram 88; CHECK-NOT: DW_TAG 89; CHECK: DW_AT_MIPS_linkage_name 90; CHECK-NOT: DW_TAG 91; CHECK: DW_AT_name {{.*}} "global_namespace_function" 92 93; CHECK: [[GLOB_NS_VAR:0x[0-9a-f]+]]: DW_TAG_variable 94; CHECK-NEXT: DW_AT_specification {{.*}} {[[GLOB_NS_VAR_DECL]]} 95 96; CHECK: [[D_VAR:0x[0-9a-f]+]]: DW_TAG_variable 97; CHECK-NEXT: DW_AT_specification {{.*}} {[[D_VAR_DECL]]} 98 99; CHECK: DW_TAG_subprogram 100; CHECK-NOT: DW_TAG 101; CHECK: DW_AT_name {{.*}} "f3" 102; CHECK-NOT: {{DW_TAG|NULL}} 103; CHECK: [[F3_Z:.*]]: DW_TAG_variable 104; CHECK-NOT: DW_TAG 105; CHECK: DW_AT_name {{.*}} "z" 106; CHECK-NOT: {{DW_TAG|NULL}} 107; CHECK: DW_AT_location 108; CHECK-NOT: {{DW_TAG|NULL}} 109; CHECK: NULL 110; CHECK-NOT: {{DW_TAG|NULL}} 111 112; CHECK: [[OUTER:.*]]: DW_TAG_namespace 113; CHECK-NOT: DW_TAG 114; CHECK: DW_AT_name {{.*}} "outer" 115; CHECK-NOT: {{DW_TAG|NULL}} 116; CHECK: [[OUTER_ANON:.*]]: DW_TAG_namespace 117; CHECK-NOT: {{DW_TAG|NULL}} 118; CHECK-NOT: DW_AT_name 119; CHECK: [[OUTER_ANON_C_DECL:.*]]: DW_TAG_variable 120; CHECK-NOT: DW_TAG 121; CHECK: DW_AT_name {{.*}} "c" 122; CHECK-NOT: {{DW_TAG|NULL}} 123; CHECK: NULL 124; CHECK-NOT: {{DW_TAG|NULL}} 125; FIXME: We probably shouldn't bother describing the implicit 126; import of the preceding anonymous namespace. This should be fixed 127; in clang. 128; CHECK: DW_TAG_imported_module 129; CHECK-NOT: {{DW_TAG|NULL}} 130; CHECK: NULL 131; CHECK-NOT: {{DW_TAG|NULL}} 132; CHECK: [[OUTER_ANON_C:.*]]: DW_TAG_variable 133; CHECK-NOT: DW_TAG 134; CHECK-NEXT: DW_AT_specification {{.*}} {[[OUTER_ANON_C_DECL]]} 135 136; CHECK: [[ANON:.*]]: DW_TAG_namespace 137; CHECK-NOT: DW_AT_name 138; CHECK: [[ANON_INNER:.*]]: DW_TAG_namespace 139; CHECK-NOT: DW_TAG 140; CHECK: DW_AT_name {{.*}} "inner" 141; CHECK-NOT: {{DW_TAG|NULL}} 142; CHECK: [[ANON_INNER_B_DECL:.*]]: DW_TAG_variable 143; CHECK-NOT: DW_TAG 144; CHECK: DW_AT_name {{.*}} "b" 145; CHECK-NOT: {{DW_TAG|NULL}} 146; CHECK: NULL 147; CHECK-NOT: {{DW_TAG|NULL}} 148; CHECK: [[ANON_I_DECL:.*]]: DW_TAG_variable 149; CHECK-NOT: DW_TAG 150; CHECK: DW_AT_name {{.*}} "i" 151; CHECK-NOT: {{DW_TAG|NULL}} 152; CHECK: NULL 153; CHECK-NOT: {{DW_TAG|NULL}} 154; CHECK: [[ANON_INNER_B:.*]]: DW_TAG_variable 155; CHECK-NOT: DW_TAG 156; CHECK-NEXT: DW_AT_specification {{.*}} {[[ANON_INNER_B_DECL]]} 157; CHECK: [[ANON_I:.*]]: DW_TAG_variable 158; CHECK-NOT: DW_TAG 159; CHECK-NEXT: DW_AT_specification {{.*}} {[[ANON_I_DECL]]} 160 161; CHECK: [[MEM_FUNC:0x[0-9a-f]+]]: DW_TAG_subprogram 162; CHECK-NOT: DW_TAG 163; CHECK: DW_AT_specification {{.*}} {[[MEM_FUNC_DECL]]} 164 165; CHECK: [[STATIC_MEM_FUNC:0x[0-9a-f]+]]: DW_TAG_subprogram 166; CHECK-NOT: DW_TAG 167; CHECK: DW_AT_specification {{.*}} {[[STATIC_MEM_FUNC_DECL]]} 168 169; CHECK: [[GLOBAL_FUNC:0x[0-9a-f]+]]: DW_TAG_subprogram 170; CHECK-NOT: DW_TAG 171; CHECK: DW_AT_MIPS_linkage_name 172; CHECK-NOT: DW_TAG 173; CHECK: DW_AT_name {{.*}} "global_function" 174 175; CHECK-LABEL: .debug_gnu_pubnames contents: 176; CHECK-NEXT: length = {{.*}} version = 0x0002 unit_offset = 0x00000000 unit_size = {{.*}} 177; CHECK-NEXT: Offset Linkage Kind Name 178; CHECK-DAG: [[GLOBAL_FUNC]] EXTERNAL FUNCTION "global_function" 179; CHECK-DAG: [[NS]] EXTERNAL TYPE "ns" 180; CHECK-DAG: [[MEM_FUNC]] EXTERNAL FUNCTION "C::member_function" 181; CHECK-DAG: [[GLOB_VAR]] EXTERNAL VARIABLE "global_variable" 182; CHECK-DAG: [[GLOB_NS_VAR]] EXTERNAL VARIABLE "ns::global_namespace_variable" 183; CHECK-DAG: [[GLOB_NS_FUNC]] EXTERNAL FUNCTION "ns::global_namespace_function" 184; CHECK-DAG: [[D_VAR]] EXTERNAL VARIABLE "ns::d" 185; CHECK-DAG: [[STATIC_MEM_VAR]] EXTERNAL VARIABLE "C::static_member_variable" 186; CHECK-DAG: [[STATIC_MEM_FUNC]] EXTERNAL FUNCTION "C::static_member_function" 187; CHECK-DAG: [[ANON]] EXTERNAL TYPE "(anonymous namespace)" 188; CHECK-DAG: [[ANON_INNER]] EXTERNAL TYPE "(anonymous namespace)::inner" 189; CHECK-DAG: [[OUTER]] EXTERNAL TYPE "outer" 190; CHECK-DAG: [[OUTER_ANON]] EXTERNAL TYPE "outer::(anonymous namespace)" 191; CHECK-DAG: [[ANON_I]] STATIC VARIABLE "(anonymous namespace)::i" 192; CHECK-DAG: [[ANON_INNER_B]] STATIC VARIABLE "(anonymous namespace)::inner::b" 193; CHECK-DAG: [[OUTER_ANON_C]] STATIC VARIABLE "outer::(anonymous namespace)::c" 194 195; GCC Doesn't put local statics in pubnames, but it seems not unreasonable and 196; comes out naturally from LLVM's implementation, so I'm OK with it for now. If 197; it's demonstrated that this is a major size concern or degrades debug info 198; consumer behavior, feel free to change it. 199 200; CHECK-DAG: [[F3_Z]] STATIC VARIABLE "f3::z" 201 202 203; CHECK-LABEL: debug_gnu_pubtypes contents: 204; CHECK: Offset Linkage Kind Name 205; CHECK-DAG: [[C]] EXTERNAL TYPE "C" 206; CHECK-DAG: [[D]] EXTERNAL TYPE "ns::D" 207; CHECK-DAG: [[INT]] STATIC TYPE "int" 208 209%struct.C = type { i8 } 210%"struct.ns::D" = type { i32 } 211 212@_ZN1C22static_member_variableE = global i32 0, align 4 213@global_variable = global %struct.C zeroinitializer, align 1 214@_ZN2ns25global_namespace_variableE = global i32 1, align 4 215@_ZN2ns1dE = global %"struct.ns::D" zeroinitializer, align 4 216@_ZZ2f3vE1z = internal global i32 0, align 4 217@_ZN12_GLOBAL__N_11iE = internal global i32 0, align 4 218@_ZN12_GLOBAL__N_15inner1bE = internal global i32 0, align 4 219@_ZN5outer12_GLOBAL__N_11cE = internal global i32 0, align 4 220 221; Function Attrs: nounwind uwtable 222define void @_ZN1C15member_functionEv(%struct.C* %this) #0 align 2 { 223entry: 224 %this.addr = alloca %struct.C*, align 8 225 store %struct.C* %this, %struct.C** %this.addr, align 8 226 call void @llvm.dbg.declare(metadata !{%struct.C** %this.addr}, metadata !50), !dbg !52 227 %this1 = load %struct.C** %this.addr 228 store i32 0, i32* @_ZN1C22static_member_variableE, align 4, !dbg !53 229 ret void, !dbg !54 230} 231 232; Function Attrs: nounwind readnone 233declare void @llvm.dbg.declare(metadata, metadata) #1 234 235; Function Attrs: nounwind uwtable 236define i32 @_ZN1C22static_member_functionEv() #0 align 2 { 237entry: 238 %0 = load i32* @_ZN1C22static_member_variableE, align 4, !dbg !55 239 ret i32 %0, !dbg !55 240} 241 242; Function Attrs: nounwind uwtable 243define i32 @_Z15global_functionv() #0 { 244entry: 245 ret i32 -1, !dbg !56 246} 247 248; Function Attrs: nounwind uwtable 249define void @_ZN2ns25global_namespace_functionEv() #0 { 250entry: 251 call void @_ZN1C15member_functionEv(%struct.C* @global_variable), !dbg !57 252 ret void, !dbg !58 253} 254 255; Function Attrs: nounwind uwtable 256define i32* @_Z2f3v() #0 { 257entry: 258 ret i32* @_ZZ2f3vE1z, !dbg !59 259} 260 261; Function Attrs: nounwind uwtable 262define i32 @_Z2f7v() #0 { 263entry: 264 %0 = load i32* @_ZN12_GLOBAL__N_11iE, align 4, !dbg !60 265 %call = call i32* @_Z2f3v(), !dbg !60 266 %1 = load i32* %call, align 4, !dbg !60 267 %add = add nsw i32 %0, %1, !dbg !60 268 %2 = load i32* @_ZN12_GLOBAL__N_15inner1bE, align 4, !dbg !60 269 %add1 = add nsw i32 %add, %2, !dbg !60 270 %3 = load i32* @_ZN5outer12_GLOBAL__N_11cE, align 4, !dbg !60 271 %add2 = add nsw i32 %add1, %3, !dbg !60 272 ret i32 %add2, !dbg !60 273} 274 275attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } 276attributes #1 = { nounwind readnone } 277 278!llvm.dbg.cu = !{!0} 279!llvm.module.flags = !{!47, !48} 280!llvm.ident = !{!49} 281 282!0 = metadata !{i32 786449, metadata !1, i32 4, metadata !"clang version 3.5.0 ", i1 false, metadata !"", i32 0, metadata !2, metadata !3, metadata !19, metadata !32, metadata !45, metadata !"", i32 1} ; [ DW_TAG_compile_unit ] [/tmp/dbginfo/pubnames.cpp] [DW_LANG_C_plus_plus] 283!1 = metadata !{metadata !"pubnames.cpp", metadata !"/tmp/dbginfo"} 284!2 = metadata !{} 285!3 = metadata !{metadata !4, metadata !15} 286!4 = metadata !{i32 786451, metadata !1, null, metadata !"C", i32 1, i64 8, i64 8, i32 0, i32 0, null, metadata !5, i32 0, null, null, metadata !"_ZTS1C"} ; [ DW_TAG_structure_type ] [C] [line 1, size 8, align 8, offset 0] [def] [from ] 287!5 = metadata !{metadata !6, metadata !8, metadata !12} 288!6 = metadata !{i32 786445, metadata !1, metadata !"_ZTS1C", metadata !"static_member_variable", i32 4, i64 0, i64 0, i64 0, i32 4096, metadata !7, null} ; [ DW_TAG_member ] [static_member_variable] [line 4, size 0, align 0, offset 0] [static] [from int] 289!7 = metadata !{i32 786468, null, null, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed] 290!8 = metadata !{i32 786478, metadata !1, metadata !"_ZTS1C", metadata !"member_function", metadata !"member_function", metadata !"_ZN1C15member_functionEv", i32 2, metadata !9, i1 false, i1 false, i32 0, i32 0, null, i32 256, i1 false, null, null, i32 0, null, i32 2} ; [ DW_TAG_subprogram ] [line 2] [member_function] 291!9 = metadata !{i32 786453, i32 0, null, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !10, i32 0, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] 292!10 = metadata !{null, metadata !11} 293!11 = metadata !{i32 786447, null, null, metadata !"", i32 0, i64 64, i64 64, i64 0, i32 1088, metadata !"_ZTS1C"} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [artificial] [from _ZTS1C] 294!12 = metadata !{i32 786478, metadata !1, metadata !"_ZTS1C", metadata !"static_member_function", metadata !"static_member_function", metadata !"_ZN1C22static_member_functionEv", i32 3, metadata !13, i1 false, i1 false, i32 0, i32 0, null, i32 256, i1 false, null, null, i32 0, null, i32 3} ; [ DW_TAG_subprogram ] [line 3] [static_member_function] 295!13 = metadata !{i32 786453, i32 0, null, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !14, i32 0, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] 296!14 = metadata !{metadata !7} 297!15 = metadata !{i32 786451, metadata !1, metadata !16, metadata !"D", i32 28, i64 32, i64 32, i32 0, i32 0, null, metadata !17, i32 0, null, null, metadata !"_ZTSN2ns1DE"} ; [ DW_TAG_structure_type ] [D] [line 28, size 32, align 32, offset 0] [def] [from ] 298!16 = metadata !{i32 786489, metadata !1, null, metadata !"ns", i32 23} ; [ DW_TAG_namespace ] [ns] [line 23] 299!17 = metadata !{metadata !18} 300!18 = metadata !{i32 786445, metadata !1, metadata !"_ZTSN2ns1DE", metadata !"A", i32 29, i64 32, i64 32, i64 0, i32 0, metadata !7} ; [ DW_TAG_member ] [A] [line 29, size 32, align 32, offset 0] [from int] 301!19 = metadata !{metadata !20, metadata !21, metadata !22, metadata !24, metadata !27, metadata !31} 302!20 = metadata !{i32 786478, metadata !1, metadata !"_ZTS1C", metadata !"member_function", metadata !"member_function", metadata !"_ZN1C15member_functionEv", i32 9, metadata !9, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, void (%struct.C*)* @_ZN1C15member_functionEv, null, metadata !8, metadata !2, i32 9} ; [ DW_TAG_subprogram ] [line 9] [def] [member_function] 303!21 = metadata !{i32 786478, metadata !1, metadata !"_ZTS1C", metadata !"static_member_function", metadata !"static_member_function", metadata !"_ZN1C22static_member_functionEv", i32 13, metadata !13, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, i32 ()* @_ZN1C22static_member_functionEv, null, metadata !12, metadata !2, i32 13} ; [ DW_TAG_subprogram ] [line 13] [def] [static_member_function] 304!22 = metadata !{i32 786478, metadata !1, metadata !23, metadata !"global_function", metadata !"global_function", metadata !"_Z15global_functionv", i32 19, metadata !13, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, i32 ()* @_Z15global_functionv, null, null, metadata !2, i32 19} ; [ DW_TAG_subprogram ] [line 19] [def] [global_function] 305!23 = metadata !{i32 786473, metadata !1} ; [ DW_TAG_file_type ] [/tmp/dbginfo/pubnames.cpp] 306!24 = metadata !{i32 786478, metadata !1, metadata !16, metadata !"global_namespace_function", metadata !"global_namespace_function", metadata !"_ZN2ns25global_namespace_functionEv", i32 24, metadata !25, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, void ()* @_ZN2ns25global_namespace_functionEv, null, null, metadata !2, i32 24} ; [ DW_TAG_subprogram ] [line 24] [def] [global_namespace_function] 307!25 = metadata !{i32 786453, i32 0, null, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !26, i32 0, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] 308!26 = metadata !{null} 309!27 = metadata !{i32 786478, metadata !1, metadata !23, metadata !"f3", metadata !"f3", metadata !"_Z2f3v", i32 37, metadata !28, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, i32* ()* @_Z2f3v, null, null, metadata !2, i32 37} ; [ DW_TAG_subprogram ] [line 37] [def] [f3] 310!28 = metadata !{i32 786453, i32 0, null, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !29, i32 0, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] 311!29 = metadata !{metadata !30} 312!30 = metadata !{i32 786447, null, null, metadata !"", i32 0, i64 64, i64 64, i64 0, i32 0, metadata !7} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from int] 313!31 = metadata !{i32 786478, metadata !1, metadata !23, metadata !"f7", metadata !"f7", metadata !"_Z2f7v", i32 54, metadata !13, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, i32 ()* @_Z2f7v, null, null, metadata !2, i32 54} ; [ DW_TAG_subprogram ] [line 54] [def] [f7] 314!32 = metadata !{metadata !33, metadata !34, metadata !35, metadata !36, metadata !37, metadata !38, metadata !41, metadata !44} 315!33 = metadata !{i32 786484, i32 0, metadata !4, metadata !"static_member_variable", metadata !"static_member_variable", metadata !"_ZN1C22static_member_variableE", metadata !23, i32 7, metadata !7, i32 0, i32 1, i32* @_ZN1C22static_member_variableE, metadata !6} ; [ DW_TAG_variable ] [static_member_variable] [line 7] [def] 316!34 = metadata !{i32 786484, i32 0, null, metadata !"global_variable", metadata !"global_variable", metadata !"", metadata !23, i32 17, metadata !"_ZTS1C", i32 0, i32 1, %struct.C* @global_variable, null} ; [ DW_TAG_variable ] [global_variable] [line 17] [def] 317!35 = metadata !{i32 786484, i32 0, metadata !16, metadata !"global_namespace_variable", metadata !"global_namespace_variable", metadata !"_ZN2ns25global_namespace_variableE", metadata !23, i32 27, metadata !7, i32 0, i32 1, i32* @_ZN2ns25global_namespace_variableE, null} ; [ DW_TAG_variable ] [global_namespace_variable] [line 27] [def] 318!36 = metadata !{i32 786484, i32 0, metadata !16, metadata !"d", metadata !"d", metadata !"_ZN2ns1dE", metadata !23, i32 30, metadata !"_ZTSN2ns1DE", i32 0, i32 1, %"struct.ns::D"* @_ZN2ns1dE, null} ; [ DW_TAG_variable ] [d] [line 30] [def] 319!37 = metadata !{i32 786484, i32 0, metadata !27, metadata !"z", metadata !"z", metadata !"", metadata !23, i32 38, metadata !7, i32 1, i32 1, i32* @_ZZ2f3vE1z, null} ; [ DW_TAG_variable ] [z] [line 38] [local] [def] 320!38 = metadata !{i32 786484, i32 0, metadata !39, metadata !"c", metadata !"c", metadata !"_ZN5outer12_GLOBAL__N_11cE", metadata !23, i32 50, metadata !7, i32 1, i32 1, i32* @_ZN5outer12_GLOBAL__N_11cE, null} ; [ DW_TAG_variable ] [c] [line 50] [local] [def] 321!39 = metadata !{i32 786489, metadata !1, metadata !40, metadata !"", i32 49} ; [ DW_TAG_namespace ] [line 49] 322!40 = metadata !{i32 786489, metadata !1, null, metadata !"outer", i32 48} ; [ DW_TAG_namespace ] [outer] [line 48] 323!41 = metadata !{i32 786484, i32 0, metadata !42, metadata !"b", metadata !"b", metadata !"_ZN12_GLOBAL__N_15inner1bE", metadata !23, i32 44, metadata !7, i32 1, i32 1, i32* @_ZN12_GLOBAL__N_15inner1bE, null} ; [ DW_TAG_variable ] [b] [line 44] [local] [def] 324!42 = metadata !{i32 786489, metadata !1, metadata !43, metadata !"inner", i32 43} ; [ DW_TAG_namespace ] [inner] [line 43] 325!43 = metadata !{i32 786489, metadata !1, null, metadata !"", i32 33} ; [ DW_TAG_namespace ] [line 33] 326!44 = metadata !{i32 786484, i32 0, metadata !43, metadata !"i", metadata !"i", metadata !"_ZN12_GLOBAL__N_11iE", metadata !23, i32 34, metadata !7, i32 1, i32 1, i32* @_ZN12_GLOBAL__N_11iE, null} ; [ DW_TAG_variable ] [i] [line 34] [local] [def] 327!45 = metadata !{metadata !46} 328!46 = metadata !{i32 786490, metadata !40, metadata !39, i32 40} ; [ DW_TAG_imported_module ] 329!47 = metadata !{i32 2, metadata !"Dwarf Version", i32 4} 330!48 = metadata !{i32 2, metadata !"Debug Info Version", i32 1} 331!49 = metadata !{metadata !"clang version 3.5.0 "} 332!50 = metadata !{i32 786689, metadata !20, metadata !"this", null, i32 16777216, metadata !51, i32 1088, i32 0} ; [ DW_TAG_arg_variable ] [this] [line 0] 333!51 = metadata !{i32 786447, null, null, metadata !"", i32 0, i64 64, i64 64, i64 0, i32 0, metadata !"_ZTS1C"} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from _ZTS1C] 334!52 = metadata !{i32 0, i32 0, metadata !20, null} 335!53 = metadata !{i32 10, i32 0, metadata !20, null} 336!54 = metadata !{i32 11, i32 0, metadata !20, null} 337!55 = metadata !{i32 14, i32 0, metadata !21, null} 338!56 = metadata !{i32 20, i32 0, metadata !22, null} 339!57 = metadata !{i32 25, i32 0, metadata !24, null} 340!58 = metadata !{i32 26, i32 0, metadata !24, null} 341!59 = metadata !{i32 39, i32 0, metadata !27, null} 342!60 = metadata !{i32 55, i32 0, metadata !31, null} 343