1 ; RUN: llc -mtriple=x86_64-pc-linux-gnu < %s | FileCheck -check-prefix=ASM %s
2 ; RUN: llc -mtriple=x86_64-pc-linux-gnu -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
3 ; ModuleID = 'dwarf-public-names.cpp'
8 ; void member_function();
9 ; static int static_member_function();
10 ; static int static_member_variable;
13 ; int C::static_member_variable = 0;
15 ; void C::member_function() {
16 ; static_member_variable = 0;
19 ; int C::static_member_function() {
20 ; return static_member_variable;
25 ; int global_function() {
30 ; void global_namespace_function() {
31 ; global_variable.member_function();
33 ; int global_namespace_variable = 1;
34 ; extern int global_namespace_variable_decl;
40 ; using ns::global_namespace_variable_decl;
64 ; return i + *f3() + inner::b + outer::c;
67 ; ASM: .section .debug_gnu_pubnames
68 ; ASM: .byte 32 # Attributes: VARIABLE, EXTERNAL
69 ; ASM-NEXT: .asciz "global_variable" # External Name
71 ; ASM: .section .debug_gnu_pubtypes
72 ; ASM: .byte 16 # Attributes: TYPE, EXTERNAL
73 ; ASM-NEXT: .asciz "C" # External Name
75 ; CHECK: .debug_info contents:
76 ; CHECK: Compile Unit:
77 ; CHECK: DW_AT_GNU_pubnames [DW_FORM_flag_present] (true)
78 ; CHECK-NOT: DW_AT_GNU_pubtypes [
80 ; CHECK: [[STATIC_MEM_VAR:0x[0-9a-f]+]]: DW_TAG_variable
81 ; CHECK-NEXT: DW_AT_specification {{.*}} "static_member_variable"
83 ; CHECK: [[C:0x[0-9a-f]+]]: DW_TAG_structure_type
84 ; CHECK-NOT: {{DW_TAG|NULL}}
85 ; CHECK: DW_AT_name {{.*}} "C"
87 ; CHECK: DW_TAG_member
88 ; CHECK-NOT: {{DW_TAG|NULL}}
89 ; CHECK: DW_AT_name {{.*}} "static_member_variable"
91 ; CHECK: DW_TAG_subprogram
92 ; CHECK-NOT: {{DW_TAG|NULL}}
93 ; CHECK: DW_AT_linkage_name
94 ; CHECK-NOT: {{DW_TAG|NULL}}
95 ; CHECK: DW_AT_name {{.*}} "member_function"
97 ; CHECK: DW_TAG_subprogram
98 ; CHECK-NOT: {{DW_TAG|NULL}}
99 ; CHECK: DW_AT_linkage_name
100 ; CHECK-NOT: {{DW_TAG|NULL}}
101 ; CHECK: DW_AT_name {{.*}} "static_member_function"
103 ; CHECK: [[INT:0x[0-9a-f]+]]: DW_TAG_base_type
104 ; CHECK-NOT: {{DW_TAG|NULL}}
105 ; CHECK: DW_AT_name {{.*}} "int"
107 ; CHECK: [[GLOB_VAR:0x[0-9a-f]+]]: DW_TAG_variable
108 ; CHECK-NOT: {{DW_TAG|NULL}}
109 ; CHECK: DW_AT_name {{.*}} "global_variable"
111 ; CHECK: [[NS:0x[0-9a-f]+]]: DW_TAG_namespace
112 ; CHECK-NOT: {{DW_TAG|NULL}}
113 ; CHECK: DW_AT_name {{.*}} "ns"
115 ; CHECK: [[GLOB_NS_VAR:0x[0-9a-f]+]]: DW_TAG_variable
116 ; CHECK-NOT: {{DW_TAG|NULL|DW_AT_specification}}
117 ; CHECK: DW_AT_name {{.*}} "global_namespace_variable"
118 ; CHECK-NOT: {{DW_TAG|NULL|DW_AT_specification}}
119 ; CHECK-NOT: DW_AT_specification
120 ; CHECK: DW_AT_location
121 ; CHECK-NOT: DW_AT_specification
123 ; CHECK: [[D_VAR:0x[0-9a-f]+]]: DW_TAG_variable
124 ; CHECK-NOT: {{DW_TAG|NULL}}
125 ; CHECK: DW_AT_name {{.*}} "d"
126 ; CHECK-NOT: {{DW_TAG|NULL|DW_AT_specification}}
127 ; CHECK: DW_AT_location
128 ; CHECK-NOT: DW_AT_specification
130 ; CHECK: [[D:0x[0-9a-f]+]]: DW_TAG_structure_type
131 ; CHECK-NOT: {{DW_TAG|NULL}}
132 ; CHECK: DW_AT_name {{.*}} "D"
134 ; CHECK: [[GLOB_NS_FUNC:0x[0-9a-f]+]]: DW_TAG_subprogram
135 ; CHECK-NOT: {{DW_TAG|NULL}}
136 ; CHECK: DW_AT_linkage_name
137 ; CHECK-NOT: {{DW_TAG|NULL}}
138 ; CHECK: DW_AT_name {{.*}} "global_namespace_function"
140 ; CHECK: DW_TAG_subprogram
141 ; CHECK-NOT: {{DW_TAG|NULL}}
142 ; CHECK: DW_AT_name {{.*}} "f3"
143 ; CHECK-NOT: {{DW_TAG|NULL}}
144 ; CHECK: [[F3_Z:.*]]: DW_TAG_variable
146 ; CHECK: DW_AT_name {{.*}} "z"
147 ; CHECK-NOT: {{DW_TAG|NULL}}
148 ; CHECK: DW_AT_location
149 ; CHECK-NOT: {{DW_TAG|NULL}}
151 ; CHECK-NOT: {{DW_TAG|NULL}}
153 ; CHECK: [[ANON:.*]]: DW_TAG_namespace
154 ; CHECK-NOT: DW_AT_name
155 ; CHECK: [[ANON_I:.*]]: DW_TAG_variable
156 ; CHECK-NOT: {{DW_TAG|NULL}}
157 ; CHECK: DW_AT_name {{.*}} "i"
158 ; CHECK-NOT: {{DW_TAG|NULL}}
159 ; CHECK: [[ANON_INNER:.*]]: DW_TAG_namespace
161 ; CHECK: DW_AT_name {{.*}} "inner"
162 ; CHECK-NOT: {{DW_TAG|NULL}}
163 ; CHECK: [[ANON_INNER_B:.*]]: DW_TAG_variable
165 ; CHECK: DW_AT_name {{.*}} "b"
166 ; CHECK-NOT: {{DW_TAG|NULL}}
168 ; CHECK-NOT: {{DW_TAG|NULL}}
170 ; CHECK-NOT: {{DW_TAG|NULL}}
172 ; CHECK: [[OUTER:.*]]: DW_TAG_namespace
173 ; CHECK-NOT: {{DW_TAG|NULL}}
174 ; CHECK: DW_AT_name {{.*}} "outer"
175 ; CHECK-NOT: {{DW_TAG|NULL}}
176 ; CHECK: [[OUTER_ANON:.*]]: DW_TAG_namespace
177 ; CHECK-NOT: {{DW_TAG|NULL}}
178 ; CHECK-NOT: DW_AT_name
179 ; CHECK: [[OUTER_ANON_C:.*]]: DW_TAG_variable
181 ; CHECK: DW_AT_name {{.*}} "c"
182 ; CHECK-NOT: {{DW_TAG|NULL}}
184 ; CHECK-NOT: {{DW_TAG|NULL}}
186 ; CHECK-NOT: {{DW_TAG|NULL}}
188 ; CHECK: DW_TAG_enumeration
189 ; CHECK-NOT: {{DW_AT_name|DW_TAG|NULL}}
190 ; CHECK: [[UNNAMED_ENUM_ENUMERATOR:0x[0-9a-f]+]]: DW_TAG_enumerator
191 ; CHECK-NOT: {{DW_TAG|NULL}}
192 ; CHECK: DW_AT_name {{.*}} "unnamed_enum_enumerator"
193 ; CHECK-NOT: {{DW_TAG|NULL}}
195 ; CHECK-NOT: {{DW_TAG|NULL}}
197 ; CHECK: [[UNSIGNED_INT:0x[0-9a-f]+]]: DW_TAG_base_type
198 ; CHECK-NOT: {{DW_TAG|NULL}}
199 ; CHECK: DW_AT_name {{.*}} "unsigned int"
200 ; CHECK-NOT: {{DW_TAG|NULL}}
202 ; CHECK: [[NAMED_ENUM:0x[0-9a-f]+]]: DW_TAG_enumeration
203 ; CHECK-NOT: {{DW_TAG|NULL}}
204 ; CHECK: DW_AT_name {{.*}} "named_enum"
205 ; CHECK-NOT: {{DW_TAG|NULL}}
206 ; CHECK: [[NAMED_ENUM_ENUMERATOR:0x[0-9a-f]+]]: DW_TAG_enumerator
207 ; CHECK-NOT: {{DW_TAG|NULL}}
208 ; CHECK: DW_AT_name {{.*}} "named_enum_enumerator"
209 ; CHECK-NOT: {{DW_TAG|NULL}}
211 ; CHECK-NOT: {{DW_TAG|NULL}}
213 ; CHECK: [[NAMED_ENUM_CLASS:0x[0-9a-f]+]]: DW_TAG_enumeration
214 ; CHECK-NOT: {{DW_TAG|NULL}}
215 ; CHECK: DW_AT_name {{.*}} "named_enum_class"
216 ; CHECK-NOT: {{DW_TAG|NULL}}
217 ; CHECK: [[NAMED_ENUM_CLASS_ENUMERATOR:0x[0-9a-f]+]]: DW_TAG_enumerator
218 ; CHECK-NOT: {{DW_TAG|NULL}}
219 ; CHECK: DW_AT_name {{.*}} "named_enum_class_enumerator"
220 ; CHECK-NOT: {{DW_TAG|NULL}}
222 ; CHECK-NOT: {{DW_TAG|NULL}}
224 ; CHECK: DW_TAG_imported_declaration
225 ; CHECK-NOT: {{DW_TAG|NULL}}
227 ; CHECK: [[MEM_FUNC:0x[0-9a-f]+]]: DW_TAG_subprogram
228 ; CHECK-NOT: {{DW_TAG|NULL}}
229 ; CHECK: DW_AT_specification {{.*}} "_ZN1C15member_functionEv"
231 ; CHECK: [[STATIC_MEM_FUNC:0x[0-9a-f]+]]: DW_TAG_subprogram
232 ; CHECK-NOT: {{DW_TAG|NULL}}
233 ; CHECK: DW_AT_specification {{.*}} "_ZN1C22static_member_functionEv"
235 ; CHECK: [[GLOBAL_FUNC:0x[0-9a-f]+]]: DW_TAG_subprogram
236 ; CHECK-NOT: {{DW_TAG|NULL}}
237 ; CHECK: DW_AT_linkage_name
238 ; CHECK-NOT: {{DW_TAG|NULL}}
239 ; CHECK: DW_AT_name {{.*}} "global_function"
241 ; CHECK-LABEL: .debug_gnu_pubnames contents:
242 ; CHECK-NEXT: length = {{.*}} version = 0x0002 unit_offset = 0x00000000 unit_size = {{.*}}
243 ; CHECK-NEXT: Offset Linkage Kind Name
244 ; CHECK-NEXT: [[GLOBAL_FUNC]] EXTERNAL FUNCTION "global_function"
245 ; CHECK-NEXT: [[NS]] EXTERNAL TYPE "ns"
246 ; CHECK-NEXT: [[OUTER_ANON_C]] STATIC VARIABLE "outer::(anonymous namespace)::c"
247 ; CHECK-NEXT: [[ANON_I]] STATIC VARIABLE "(anonymous namespace)::i"
248 ; CHECK-NEXT: [[GLOB_NS_FUNC]] EXTERNAL FUNCTION "ns::global_namespace_function"
249 ; GCC Doesn't put local statics in pubnames, but it seems not unreasonable and
250 ; comes out naturally from LLVM's implementation, so I'm OK with it for now. If
251 ; it's demonstrated that this is a major size concern or degrades debug info
252 ; consumer behavior, feel free to change it.
253 ; CHECK-NEXT: [[F3_Z]] STATIC VARIABLE "f3::z"
254 ; CHECK-NEXT: [[ANON]] EXTERNAL TYPE "(anonymous namespace)"
255 ; CHECK-NEXT: [[OUTER_ANON]] EXTERNAL TYPE "outer::(anonymous namespace)"
256 ; CHECK-NEXT: [[ANON_INNER_B]] STATIC VARIABLE "(anonymous namespace)::inner::b"
257 ; CHECK-NEXT: [[OUTER]] EXTERNAL TYPE "outer"
258 ; FIXME: GCC produces enumerators as EXTERNAL, not STATIC
259 ; CHECK-NEXT: [[NAMED_ENUM_CLASS_ENUMERATOR]] STATIC VARIABLE "named_enum_class_enumerator"
260 ; CHECK-NEXT: [[MEM_FUNC]] EXTERNAL FUNCTION "C::member_function"
261 ; CHECK-NEXT: [[GLOB_VAR]] EXTERNAL VARIABLE "global_variable"
262 ; CHECK-NEXT: [[GLOB_NS_VAR]] EXTERNAL VARIABLE "ns::global_namespace_variable"
263 ; CHECK-NEXT: [[ANON_INNER]] EXTERNAL TYPE "(anonymous namespace)::inner"
264 ; CHECK-NEXT: [[D_VAR]] EXTERNAL VARIABLE "ns::d"
265 ; CHECK-NEXT: [[NAMED_ENUM_ENUMERATOR]] STATIC VARIABLE "named_enum_enumerator"
266 ; CHECK-NEXT: [[STATIC_MEM_VAR]] EXTERNAL VARIABLE "C::static_member_variable"
267 ; CHECK-NEXT: [[STATIC_MEM_FUNC]] EXTERNAL FUNCTION "C::static_member_function"
268 ; CHECK-NEXT: [[UNNAMED_ENUM_ENUMERATOR]] STATIC VARIABLE "unnamed_enum_enumerator"
270 ; CHECK-LABEL: debug_gnu_pubtypes contents:
271 ; CHECK: Offset Linkage Kind Name
272 ; CHECK-NEXT: [[C]] EXTERNAL TYPE "C"
273 ; CHECK-NEXT: [[UNSIGNED_INT]] STATIC TYPE "unsigned int"
274 ; CHECK-NEXT: [[D]] EXTERNAL TYPE "ns::D"
275 ; CHECK-NEXT: [[NAMED_ENUM]] EXTERNAL TYPE "named_enum"
276 ; CHECK-NEXT: [[INT]] STATIC TYPE "int"
277 ; CHECK-NEXT: [[NAMED_ENUM_CLASS]] EXTERNAL TYPE "named_enum_class"
279 %struct.C = type { i8 }
280 %"struct.ns::D" = type { i32 }
282 @_ZN1C22static_member_variableE = dso_local global i32 0, align 4, !dbg !0
283 @global_variable = dso_local global %struct.C zeroinitializer, align 1, !dbg !18
284 @_ZN2ns25global_namespace_variableE = dso_local global i32 1, align 4, !dbg !29
285 @_ZN2ns1dE = dso_local global %"struct.ns::D" zeroinitializer, align 4, !dbg !32
286 @_ZZ2f3vE1z = internal global i32 0, align 4, !dbg !37
287 @_ZN12_GLOBAL__N_11iE = internal global i32 0, align 4, !dbg !44
288 @_ZN12_GLOBAL__N_15inner1bE = internal global i32 0, align 4, !dbg !47
289 @_ZN5outer12_GLOBAL__N_11cE = internal global i32 0, align 4, !dbg !50
291 ; Function Attrs: noinline nounwind optnone uwtable
292 define dso_local void @_ZN1C15member_functionEv(%struct.C* %this) #0 align 2 !dbg !61 {
294 %this.addr = alloca %struct.C*, align 8
295 store %struct.C* %this, %struct.C** %this.addr, align 8
296 call void @llvm.dbg.declare(metadata %struct.C** %this.addr, metadata !62, metadata !DIExpression()), !dbg !64
297 %this1 = load %struct.C*, %struct.C** %this.addr, align 8
298 store i32 0, i32* @_ZN1C22static_member_variableE, align 4, !dbg !65
302 ; Function Attrs: nounwind readnone speculatable
303 declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
305 ; Function Attrs: noinline nounwind optnone uwtable
306 define dso_local i32 @_ZN1C22static_member_functionEv() #0 align 2 !dbg !67 {
308 %0 = load i32, i32* @_ZN1C22static_member_variableE, align 4, !dbg !68
312 ; Function Attrs: noinline nounwind optnone uwtable
313 define dso_local i32 @_Z15global_functionv() #0 !dbg !70 {
318 ; Function Attrs: noinline nounwind optnone uwtable
319 define dso_local void @_ZN2ns25global_namespace_functionEv() #0 !dbg !72 {
321 call void @_ZN1C15member_functionEv(%struct.C* @global_variable), !dbg !75
325 ; Function Attrs: noinline nounwind optnone uwtable
326 define dso_local i32* @_Z2f3v() #0 !dbg !39 {
328 ret i32* @_ZZ2f3vE1z, !dbg !77
331 ; Function Attrs: noinline nounwind optnone uwtable
332 define dso_local i32 @_Z2f7v() #0 !dbg !78 {
334 %0 = load i32, i32* @_ZN12_GLOBAL__N_11iE, align 4, !dbg !79
335 %call = call i32* @_Z2f3v(), !dbg !80
336 %1 = load i32, i32* %call, align 4, !dbg !81
337 %add = add nsw i32 %0, %1, !dbg !82
338 %2 = load i32, i32* @_ZN12_GLOBAL__N_15inner1bE, align 4, !dbg !83
339 %add1 = add nsw i32 %add, %2, !dbg !84
340 %3 = load i32, i32* @_ZN5outer12_GLOBAL__N_11cE, align 4, !dbg !85
341 %add2 = add nsw i32 %add1, %3, !dbg !86
342 %add3 = add nsw i32 %add2, 0, !dbg !87
343 %add4 = add nsw i32 %add3, 0, !dbg !88
344 %add5 = add nsw i32 %add4, 0, !dbg !89
345 ret i32 %add5, !dbg !90
348 attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "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" "unsafe-fp-math"="false" "use-soft-float"="false" }
349 attributes #1 = { nounwind readnone speculatable }
352 !llvm.module.flags = !{!57, !58, !59}
355 !0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
356 !1 = distinct !DIGlobalVariable(name: "static_member_variable", linkageName: "_ZN1C22static_member_variableE", scope: !2, file: !3, line: 7, type: !13, isLocal: false, isDefinition: true, declaration: !22)
357 !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang version 9.0.0 (trunk 363288) (llvm/trunk 363294)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, retainedTypes: !16, globals: !17, imports: !54, nameTableKind: GNU)
358 !3 = !DIFile(filename: "names.cpp", directory: "/usr/local/google/home/blaikie/dev/scratch")
360 !5 = !DICompositeType(tag: DW_TAG_enumeration_type, file: !3, line: 49, baseType: !6, size: 32, elements: !7)
361 !6 = !DIBasicType(name: "unsigned int", size: 32, encoding: DW_ATE_unsigned)
363 !8 = !DIEnumerator(name: "unnamed_enum_enumerator", value: 0, isUnsigned: true)
364 !9 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "named_enum", file: !3, line: 52, baseType: !6, size: 32, elements: !10, identifier: "_ZTS10named_enum")
366 !11 = !DIEnumerator(name: "named_enum_enumerator", value: 0, isUnsigned: true)
367 !12 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "named_enum_class", file: !3, line: 55, baseType: !13, size: 32, flags: DIFlagEnumClass, elements: !14, identifier: "_ZTS16named_enum_class")
368 !13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
370 !15 = !DIEnumerator(name: "named_enum_class_enumerator", value: 0)
372 !17 = !{!0, !18, !29, !32, !37, !44, !47, !50}
373 !18 = !DIGlobalVariableExpression(var: !19, expr: !DIExpression())
374 !19 = distinct !DIGlobalVariable(name: "global_variable", scope: !2, file: !3, line: 13, type: !20, isLocal: false, isDefinition: true)
375 !20 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "C", file: !3, line: 1, size: 8, flags: DIFlagTypePassByValue, elements: !21, identifier: "_ZTS1C")
376 !21 = !{!22, !23, !27}
377 !22 = !DIDerivedType(tag: DW_TAG_member, name: "static_member_variable", scope: !20, file: !3, line: 4, baseType: !13, flags: DIFlagStaticMember)
378 !23 = !DISubprogram(name: "member_function", linkageName: "_ZN1C15member_functionEv", scope: !20, file: !3, line: 2, type: !24, scopeLine: 2, flags: DIFlagPrototyped, spFlags: 0)
379 !24 = !DISubroutineType(types: !25)
381 !26 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !20, size: 64, flags: DIFlagArtificial | DIFlagObjectPointer)
382 !27 = !DISubprogram(name: "static_member_function", linkageName: "_ZN1C22static_member_functionEv", scope: !20, file: !3, line: 3, type: !28, scopeLine: 3, flags: DIFlagPrototyped | DIFlagStaticMember, spFlags: 0)
383 !28 = !DISubroutineType(types: !16)
384 !29 = !DIGlobalVariableExpression(var: !30, expr: !DIExpression())
385 !30 = distinct !DIGlobalVariable(name: "global_namespace_variable", linkageName: "_ZN2ns25global_namespace_variableE", scope: !31, file: !3, line: 19, type: !13, isLocal: false, isDefinition: true)
386 !31 = !DINamespace(name: "ns", scope: null)
387 !32 = !DIGlobalVariableExpression(var: !33, expr: !DIExpression())
388 !33 = distinct !DIGlobalVariable(name: "d", linkageName: "_ZN2ns1dE", scope: !31, file: !3, line: 23, type: !34, isLocal: false, isDefinition: true)
389 !34 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "D", scope: !31, file: !3, line: 21, size: 32, flags: DIFlagTypePassByValue, elements: !35, identifier: "_ZTSN2ns1DE")
391 !36 = !DIDerivedType(tag: DW_TAG_member, name: "A", scope: !34, file: !3, line: 22, baseType: !13, size: 32)
392 !37 = !DIGlobalVariableExpression(var: !38, expr: !DIExpression())
393 !38 = distinct !DIGlobalVariable(name: "z", scope: !39, file: !3, line: 33, type: !13, isLocal: true, isDefinition: true)
394 !39 = distinct !DISubprogram(name: "f3", linkageName: "_Z2f3v", scope: !3, file: !3, line: 32, type: !40, scopeLine: 32, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43)
395 !40 = !DISubroutineType(types: !41)
397 !42 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !13, size: 64)
399 !44 = !DIGlobalVariableExpression(var: !45, expr: !DIExpression())
400 !45 = distinct !DIGlobalVariable(name: "i", linkageName: "_ZN12_GLOBAL__N_11iE", scope: !46, file: !3, line: 29, type: !13, isLocal: true, isDefinition: true)
401 !46 = !DINamespace(scope: null)
402 !47 = !DIGlobalVariableExpression(var: !48, expr: !DIExpression())
403 !48 = distinct !DIGlobalVariable(name: "b", linkageName: "_ZN12_GLOBAL__N_15inner1bE", scope: !49, file: !3, line: 39, type: !13, isLocal: true, isDefinition: true)
404 !49 = !DINamespace(name: "inner", scope: !46)
405 !50 = !DIGlobalVariableExpression(var: !51, expr: !DIExpression())
406 !51 = distinct !DIGlobalVariable(name: "c", linkageName: "_ZN5outer12_GLOBAL__N_11cE", scope: !52, file: !3, line: 45, type: !13, isLocal: true, isDefinition: true)
407 !52 = !DINamespace(scope: !53)
408 !53 = !DINamespace(name: "outer", scope: null)
410 !55 = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: !2, entity: !56, file: !3, line: 26)
411 !56 = !DIGlobalVariable(name: "global_namespace_variable_decl", linkageName: "_ZN2ns30global_namespace_variable_declE", scope: !31, file: !3, line: 20, type: !13, isLocal: false, isDefinition: false)
412 !57 = !{i32 2, !"Dwarf Version", i32 4}
413 !58 = !{i32 2, !"Debug Info Version", i32 3}
414 !59 = !{i32 1, !"wchar_size", i32 4}
415 !60 = !{!"clang version 9.0.0 (trunk 363288) (llvm/trunk 363294)"}
416 !61 = distinct !DISubprogram(name: "member_function", linkageName: "_ZN1C15member_functionEv", scope: !20, file: !3, line: 9, type: !24, scopeLine: 9, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, declaration: !23, retainedNodes: !43)
417 !62 = !DILocalVariable(name: "this", arg: 1, scope: !61, type: !63, flags: DIFlagArtificial | DIFlagObjectPointer)
418 !63 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !20, size: 64)
419 !64 = !DILocation(line: 0, scope: !61)
420 !65 = !DILocation(line: 9, column: 52, scope: !61)
421 !66 = !DILocation(line: 9, column: 57, scope: !61)
422 !67 = distinct !DISubprogram(name: "static_member_function", linkageName: "_ZN1C22static_member_functionEv", scope: !20, file: !3, line: 11, type: !28, scopeLine: 11, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, declaration: !27, retainedNodes: !43)
423 !68 = !DILocation(line: 11, column: 42, scope: !67)
424 !69 = !DILocation(line: 11, column: 35, scope: !67)
425 !70 = distinct !DISubprogram(name: "global_function", linkageName: "_Z15global_functionv", scope: !3, file: !3, line: 15, type: !28, scopeLine: 15, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43)
426 !71 = !DILocation(line: 15, column: 25, scope: !70)
427 !72 = distinct !DISubprogram(name: "global_namespace_function", linkageName: "_ZN2ns25global_namespace_functionEv", scope: !31, file: !3, line: 18, type: !73, scopeLine: 18, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43)
428 !73 = !DISubroutineType(types: !74)
430 !75 = !DILocation(line: 18, column: 52, scope: !72)
431 !76 = !DILocation(line: 18, column: 71, scope: !72)
432 !77 = !DILocation(line: 34, column: 3, scope: !39)
433 !78 = distinct !DISubprogram(name: "f7", linkageName: "_Z2f7v", scope: !3, file: !3, line: 58, type: !28, scopeLine: 58, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43)
434 !79 = !DILocation(line: 59, column: 10, scope: !78)
435 !80 = !DILocation(line: 59, column: 15, scope: !78)
436 !81 = !DILocation(line: 59, column: 14, scope: !78)
437 !82 = !DILocation(line: 59, column: 12, scope: !78)
438 !83 = !DILocation(line: 59, column: 22, scope: !78)
439 !84 = !DILocation(line: 59, column: 20, scope: !78)
440 !85 = !DILocation(line: 59, column: 33, scope: !78)
441 !86 = !DILocation(line: 59, column: 31, scope: !78)
442 !87 = !DILocation(line: 59, column: 42, scope: !78)
443 !88 = !DILocation(line: 59, column: 68, scope: !78)
444 !89 = !DILocation(line: 60, column: 32, scope: !78)
445 !90 = !DILocation(line: 59, column: 3, scope: !78)