blob: e2e2b3ac6b31e4fbe65e1134f451f3dba4da48a2 [file] [log] [blame]
David Blaikie404d3042013-09-19 23:01:29 +00001; 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
Eric Christopher33ff6972013-11-21 23:46:41 +00003; RUN: llc -mtriple=x86_64-pc-linux-gnu -generate-gnu-dwarf-pub-sections -filetype=obj -dwarf-version=3 < %s | llvm-dwarfdump - | FileCheck %s -check-prefix=DWARF3
Eric Christopherdd1a0122013-09-13 00:35:05 +00004; ModuleID = 'dwarf-public-names.cpp'
5;
6; Generated from:
7;
8; struct C {
9; void member_function();
10; static int static_member_function();
11; static int static_member_variable;
12; };
13;
14; int C::static_member_variable = 0;
15;
16; void C::member_function() {
17; static_member_variable = 0;
18; }
19;
20; int C::static_member_function() {
21; return static_member_variable;
22; }
23;
24; C global_variable;
25;
26; int global_function() {
27; return -1;
28; }
29;
30; namespace ns {
31; void global_namespace_function() {
32; global_variable.member_function();
33; }
34; int global_namespace_variable = 1;
Eric Christopher2c8b7902013-10-17 02:06:06 +000035; struct D {
36; int A;
37; } d;
Eric Christopherdd1a0122013-09-13 00:35:05 +000038; }
39
Eric Christopher261d2342013-09-23 20:55:35 +000040; ASM: .section .debug_gnu_pubnames
David Blaikie404d3042013-09-19 23:01:29 +000041; ASM: .byte 32 # Kind: VARIABLE, EXTERNAL
Eric Christopher2c8b7902013-10-17 02:06:06 +000042; ASM-NEXT: .asciz "global_variable" # External Name
David Blaikie404d3042013-09-19 23:01:29 +000043
Eric Christopher261d2342013-09-23 20:55:35 +000044; ASM: .section .debug_gnu_pubtypes
45; ASM: .byte 16 # Kind: TYPE, EXTERNAL
David Blaikieecd21ff2013-09-24 19:50:00 +000046; ASM-NEXT: .asciz "C" # External Name
Eric Christopher261d2342013-09-23 20:55:35 +000047
David Blaikieac30f9e2013-09-19 23:43:46 +000048; CHECK: .debug_info contents:
Eric Christopher39eebfa2013-09-30 23:14:16 +000049; CHECK: DW_AT_GNU_pubnames [DW_FORM_sec_offset] (0x00000000)
50; CHECK: DW_AT_GNU_pubtypes [DW_FORM_sec_offset] (0x00000000)
Eric Christopherd2b497b2013-10-16 01:37:49 +000051
Eric Christopherd2b497b2013-10-16 01:37:49 +000052; CHECK: [[C:[0-9a-f]+]]: DW_TAG_structure_type
David Blaikieecd21ff2013-09-24 19:50:00 +000053; CHECK-NEXT: DW_AT_name {{.*}} "C"
Eric Christopherd2b497b2013-10-16 01:37:49 +000054
55; CHECK: [[STATIC_MEM_DECL:[0-9a-f]+]]: DW_TAG_member
56; CHECK-NEXT: DW_AT_name {{.*}} "static_member_variable"
57
58; CHECK: [[MEM_FUNC_DECL:[0-9a-f]+]]: DW_TAG_subprogram
David Blaikieac30f9e2013-09-19 23:43:46 +000059; CHECK-NEXT: DW_AT_MIPS_linkage_name
60; CHECK-NEXT: DW_AT_name {{.*}} "member_function"
Eric Christopherd2b497b2013-10-16 01:37:49 +000061
62; CHECK: [[STATIC_MEM_FUNC_DECL:[0-9a-f]+]]: DW_TAG_subprogram
David Blaikieac30f9e2013-09-19 23:43:46 +000063; CHECK-NEXT: DW_AT_MIPS_linkage_name
64; CHECK-NEXT: DW_AT_name {{.*}} "static_member_function"
Eric Christopherd2b497b2013-10-16 01:37:49 +000065
Manman Renf4c339e2013-10-29 22:49:29 +000066; CHECK: [[INT:[0-9a-f]+]]: DW_TAG_base_type
67; CHECK-NEXT: DW_AT_name {{.*}} "int"
68
Eric Christopherd2b497b2013-10-16 01:37:49 +000069; CHECK: [[STATIC_MEM_VAR:[0-9a-f]+]]: DW_TAG_variable
70; CHECK-NEXT: DW_AT_specification {{.*}}[[STATIC_MEM_DECL]]
71
72; CHECK: [[GLOB_VAR:[0-9a-f]+]]: DW_TAG_variable
David Blaikieac30f9e2013-09-19 23:43:46 +000073; CHECK-NEXT: DW_AT_name {{.*}} "global_variable"
Eric Christopherd2b497b2013-10-16 01:37:49 +000074
75; CHECK: [[NS:[0-9a-f]+]]: DW_TAG_namespace
76; CHECK-NEXT: DW_AT_name {{.*}} "ns"
77
78; CHECK: [[GLOB_NS_VAR_DECL:[0-9a-f]+]]: DW_TAG_variable
David Blaikieac30f9e2013-09-19 23:43:46 +000079; CHECK-NEXT: DW_AT_name {{.*}} "global_namespace_variable"
Eric Christopherd2b497b2013-10-16 01:37:49 +000080
Eric Christopher2c8b7902013-10-17 02:06:06 +000081; CHECK: [[D_VAR_DECL:[0-9a-f]+]]: DW_TAG_variable
82; CHECK-NEXT: DW_AT_name {{.*}} "d"
83
Manman Renf6b936b2013-10-29 05:49:41 +000084; CHECK: [[D:[0-9a-f]+]]: DW_TAG_structure_type
85; CHECK-NEXT: DW_AT_name {{.*}} "D"
86
Eric Christopherd2b497b2013-10-16 01:37:49 +000087; CHECK: [[GLOB_NS_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
David Blaikieac30f9e2013-09-19 23:43:46 +000088; CHECK-NEXT: DW_AT_MIPS_linkage_name
89; CHECK-NEXT: DW_AT_name {{.*}} "global_namespace_function"
Eric Christopherd2b497b2013-10-16 01:37:49 +000090
91; CHECK: [[GLOB_NS_VAR:[0-9a-f]+]]: DW_TAG_variable
92; CHECK-NEXT: DW_AT_specification {{.*}}[[GLOB_NS_VAR_DECL]]
93
Eric Christopher2c8b7902013-10-17 02:06:06 +000094; CHECK: [[D_VAR:[0-9a-f]+]]: DW_TAG_variable
95; CHECK-NEXT: DW_AT_specification {{.*}}[[D_VAR_DECL]]
96
Eric Christopherd2b497b2013-10-16 01:37:49 +000097; CHECK: [[MEM_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
98; CHECK-NEXT: DW_AT_specification {{.*}}[[MEM_FUNC_DECL]]
99
100; CHECK: [[STATIC_MEM_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
101; CHECK-NEXT: DW_AT_specification {{.*}}[[STATIC_MEM_FUNC_DECL]]
102
103; CHECK: [[GLOBAL_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
David Blaikieac30f9e2013-09-19 23:43:46 +0000104; CHECK-NEXT: DW_AT_MIPS_linkage_name
105; CHECK-NEXT: DW_AT_name {{.*}} "global_function"
106
107; CHECK-LABEL: .debug_gnu_pubnames contents:
David Blaikie2ede02f2013-11-01 17:53:30 +0000108; CHECK-NEXT: length = 0x000000e7 version = 0x0002 unit_offset = 0x00000000 unit_size = 0x0000017b
David Blaikie404d3042013-09-19 23:01:29 +0000109; CHECK-NEXT: Offset Linkage Kind Name
Eric Christopherd2b497b2013-10-16 01:37:49 +0000110; CHECK-DAG: [[GLOBAL_FUNC]] EXTERNAL FUNCTION "global_function"
Eric Christopher2c8b7902013-10-17 02:06:06 +0000111; CHECK-DAG: [[NS]] EXTERNAL TYPE "ns"
112; CHECK-DAG: [[MEM_FUNC]] EXTERNAL FUNCTION "C::member_function"
113; CHECK-DAG: [[GLOB_VAR]] EXTERNAL VARIABLE "global_variable"
114; CHECK-DAG: [[GLOB_NS_VAR]] EXTERNAL VARIABLE "ns::global_namespace_variable"
115; CHECK-DAG: [[GLOB_NS_FUNC]] EXTERNAL FUNCTION "ns::global_namespace_function"
116; CHECK-DAG: [[D_VAR]] EXTERNAL VARIABLE "ns::d"
117; CHECK-DAG: [[STATIC_MEM_VAR]] EXTERNAL VARIABLE "C::static_member_variable"
118; CHECK-DAG: [[STATIC_MEM_FUNC]] EXTERNAL FUNCTION "C::static_member_function"
119
Eric Christopherdd1a0122013-09-13 00:35:05 +0000120
David Blaikieecd21ff2013-09-24 19:50:00 +0000121; CHECK-LABEL: debug_gnu_pubtypes contents:
David Blaikie2ede02f2013-11-01 17:53:30 +0000122; CHECK: Offset Linkage Kind Name
Eric Christopherd2b497b2013-10-16 01:37:49 +0000123; CHECK-DAG: [[C]] EXTERNAL TYPE "C"
Eric Christopher2c8b7902013-10-17 02:06:06 +0000124; CHECK-DAG: [[D]] EXTERNAL TYPE "ns::D"
Eric Christopherd2b497b2013-10-16 01:37:49 +0000125; CHECK-DAG: [[INT]] STATIC TYPE "int"
David Blaikieecd21ff2013-09-24 19:50:00 +0000126
Eric Christopher33ff6972013-11-21 23:46:41 +0000127; DWARF3: .debug_info contents:
128; DWARF3: DW_AT_GNU_pubnames [DW_FORM_data4] (0x00000000)
129; DWARF3: DW_AT_GNU_pubtypes [DW_FORM_data4] (0x00000000)
130
131; DWARF3: [[C:[0-9a-f]+]]: DW_TAG_structure_type
132; DWARF3-NEXT: DW_AT_name {{.*}} "C"
133
134; DWARF3: [[STATIC_MEM_DECL:[0-9a-f]+]]: DW_TAG_member
135; DWARF3-NEXT: DW_AT_name {{.*}} "static_member_variable"
136
137; DWARF3: [[MEM_FUNC_DECL:[0-9a-f]+]]: DW_TAG_subprogram
138; DWARF3-NEXT: DW_AT_MIPS_linkage_name
139; DWARF3-NEXT: DW_AT_name {{.*}} "member_function"
140
141; DWARF3: [[STATIC_MEM_FUNC_DECL:[0-9a-f]+]]: DW_TAG_subprogram
142; DWARF3-NEXT: DW_AT_MIPS_linkage_name
143; DWARF3-NEXT: DW_AT_name {{.*}} "static_member_function"
144
145; DWARF3: [[INT:[0-9a-f]+]]: DW_TAG_base_type
146; DWARF3-NEXT: DW_AT_name {{.*}} "int"
147
148; DWARF3: [[STATIC_MEM_VAR:[0-9a-f]+]]: DW_TAG_variable
149; DWARF3-NEXT: DW_AT_specification {{.*}}[[STATIC_MEM_DECL]]
150
151; DWARF3: [[GLOB_VAR:[0-9a-f]+]]: DW_TAG_variable
152; DWARF3-NEXT: DW_AT_name {{.*}} "global_variable"
153
154; DWARF3: [[NS:[0-9a-f]+]]: DW_TAG_namespace
155; DWARF3-NEXT: DW_AT_name {{.*}} "ns"
156
157; DWARF3: [[GLOB_NS_VAR_DECL:[0-9a-f]+]]: DW_TAG_variable
158; DWARF3-NEXT: DW_AT_name {{.*}} "global_namespace_variable"
159
160; DWARF3: [[D_VAR_DECL:[0-9a-f]+]]: DW_TAG_variable
161; DWARF3-NEXT: DW_AT_name {{.*}} "d"
162
163; DWARF3: [[D:[0-9a-f]+]]: DW_TAG_structure_type
164; DWARF3-NEXT: DW_AT_name {{.*}} "D"
165
166; DWARF3: [[GLOB_NS_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
167; DWARF3-NEXT: DW_AT_MIPS_linkage_name
168; DWARF3-NEXT: DW_AT_name {{.*}} "global_namespace_function"
169
170; DWARF3: [[GLOB_NS_VAR:[0-9a-f]+]]: DW_TAG_variable
171; DWARF3-NEXT: DW_AT_specification {{.*}}[[GLOB_NS_VAR_DECL]]
172
173; DWARF3: [[D_VAR:[0-9a-f]+]]: DW_TAG_variable
174; DWARF3-NEXT: DW_AT_specification {{.*}}[[D_VAR_DECL]]
175
176; DWARF3: [[MEM_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
177; DWARF3-NEXT: DW_AT_specification {{.*}}[[MEM_FUNC_DECL]]
178
179; DWARF3: [[STATIC_MEM_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
180; DWARF3-NEXT: DW_AT_specification {{.*}}[[STATIC_MEM_FUNC_DECL]]
181
182; DWARF3: [[GLOBAL_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
183; DWARF3-NEXT: DW_AT_MIPS_linkage_name
184; DWARF3-NEXT: DW_AT_name {{.*}} "global_function"
185
186; DWARF3-LABEL: .debug_gnu_pubnames contents:
187; DWARF3-NEXT: length = 0x000000e7 version = 0x0002 unit_offset = 0x00000000 unit_size = 0x0000018b
188; DWARF3-NEXT: Offset Linkage Kind Name
189; DWARF3-DAG: [[GLOBAL_FUNC]] EXTERNAL FUNCTION "global_function"
190; DWARF3-DAG: [[NS]] EXTERNAL TYPE "ns"
191; DWARF3-DAG: [[MEM_FUNC]] EXTERNAL FUNCTION "C::member_function"
192; DWARF3-DAG: [[GLOB_VAR]] EXTERNAL VARIABLE "global_variable"
193; DWARF3-DAG: [[GLOB_NS_VAR]] EXTERNAL VARIABLE "ns::global_namespace_variable"
194; DWARF3-DAG: [[GLOB_NS_FUNC]] EXTERNAL FUNCTION "ns::global_namespace_function"
195; DWARF3-DAG: [[D_VAR]] EXTERNAL VARIABLE "ns::d"
196; DWARF3-DAG: [[STATIC_MEM_VAR]] EXTERNAL VARIABLE "C::static_member_variable"
197; DWARF3-DAG: [[STATIC_MEM_FUNC]] EXTERNAL FUNCTION "C::static_member_function"
198
199
200; DWARF3-LABEL: debug_gnu_pubtypes contents:
201; DWARF3: Offset Linkage Kind Name
202; DWARF3-DAG: [[C]] EXTERNAL TYPE "C"
203; DWARF3-DAG: [[D]] EXTERNAL TYPE "ns::D"
204; DWARF3-DAG: [[INT]] STATIC TYPE "int"
205
Eric Christopherdd1a0122013-09-13 00:35:05 +0000206%struct.C = type { i8 }
Eric Christopher2c8b7902013-10-17 02:06:06 +0000207%"struct.ns::D" = type { i32 }
Eric Christopherdd1a0122013-09-13 00:35:05 +0000208
209@_ZN1C22static_member_variableE = global i32 0, align 4
210@global_variable = global %struct.C zeroinitializer, align 1
211@_ZN2ns25global_namespace_variableE = global i32 1, align 4
Eric Christopher2c8b7902013-10-17 02:06:06 +0000212@_ZN2ns1dE = global %"struct.ns::D" zeroinitializer, align 4
Eric Christopherdd1a0122013-09-13 00:35:05 +0000213
Eric Christopherfa986e72013-09-24 00:17:54 +0000214; Function Attrs: nounwind uwtable
215define void @_ZN1C15member_functionEv(%struct.C* %this) #0 align 2 {
Eric Christopherdd1a0122013-09-13 00:35:05 +0000216entry:
217 %this.addr = alloca %struct.C*, align 8
218 store %struct.C* %this, %struct.C** %this.addr, align 8
Eric Christopher2c8b7902013-10-17 02:06:06 +0000219 call void @llvm.dbg.declare(metadata !{%struct.C** %this.addr}, metadata !36), !dbg !38
Eric Christopherdd1a0122013-09-13 00:35:05 +0000220 %this1 = load %struct.C** %this.addr
Eric Christopher2c8b7902013-10-17 02:06:06 +0000221 store i32 0, i32* @_ZN1C22static_member_variableE, align 4, !dbg !39
222 ret void, !dbg !39
Eric Christopherdd1a0122013-09-13 00:35:05 +0000223}
224
Eric Christopherfa986e72013-09-24 00:17:54 +0000225; Function Attrs: nounwind readnone
226declare void @llvm.dbg.declare(metadata, metadata) #1
Eric Christopherdd1a0122013-09-13 00:35:05 +0000227
Eric Christopherfa986e72013-09-24 00:17:54 +0000228; Function Attrs: nounwind uwtable
229define i32 @_ZN1C22static_member_functionEv() #0 align 2 {
Eric Christopherdd1a0122013-09-13 00:35:05 +0000230entry:
Eric Christopher2c8b7902013-10-17 02:06:06 +0000231 %0 = load i32* @_ZN1C22static_member_variableE, align 4, !dbg !40
232 ret i32 %0, !dbg !40
Eric Christopherdd1a0122013-09-13 00:35:05 +0000233}
234
Eric Christopherfa986e72013-09-24 00:17:54 +0000235; Function Attrs: nounwind uwtable
236define i32 @_Z15global_functionv() #0 {
Eric Christopherdd1a0122013-09-13 00:35:05 +0000237entry:
Eric Christopher2c8b7902013-10-17 02:06:06 +0000238 ret i32 -1, !dbg !41
Eric Christopherdd1a0122013-09-13 00:35:05 +0000239}
240
Eric Christopherfa986e72013-09-24 00:17:54 +0000241; Function Attrs: nounwind uwtable
242define void @_ZN2ns25global_namespace_functionEv() #0 {
Eric Christopherdd1a0122013-09-13 00:35:05 +0000243entry:
Eric Christopher2c8b7902013-10-17 02:06:06 +0000244 call void @_ZN1C15member_functionEv(%struct.C* @global_variable), !dbg !42
245 ret void, !dbg !42
Eric Christopherdd1a0122013-09-13 00:35:05 +0000246}
247
Eric Christopherfa986e72013-09-24 00:17:54 +0000248attributes #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" }
Eric Christopherdd1a0122013-09-13 00:35:05 +0000249attributes #1 = { nounwind readnone }
250
251!llvm.dbg.cu = !{!0}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000252!llvm.module.flags = !{!34}
253!llvm.ident = !{!35}
Eric Christopherdd1a0122013-09-13 00:35:05 +0000254
Eric Christopher2c8b7902013-10-17 02:06:06 +0000255!0 = metadata !{i32 786449, metadata !1, i32 4, metadata !"clang version 3.4 (trunk 192862) (llvm/trunk 192861)", i1 false, metadata !"", i32 0, metadata !2, metadata !3, metadata !21, metadata !29, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [/usr/local/google/home/echristo/tmp/pubnames.cpp] [DW_LANG_C_plus_plus]
Eric Christopherfa986e72013-09-24 00:17:54 +0000256!1 = metadata !{metadata !"pubnames.cpp", metadata !"/usr/local/google/home/echristo/tmp"}
257!2 = metadata !{i32 0}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000258!3 = metadata !{metadata !4, metadata !17}
Eric Christopherfa986e72013-09-24 00:17:54 +0000259!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 ]
260!5 = metadata !{metadata !6, metadata !8, metadata !13}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000261!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]
Eric Christopherfa986e72013-09-24 00:17:54 +0000262!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]
Eric Christopher2c8b7902013-10-17 02:06:06 +0000263!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, metadata !12, i32 2} ; [ DW_TAG_subprogram ] [line 2] [member_function]
Eric Christopherfa986e72013-09-24 00:17:54 +0000264!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 ]
265!10 = metadata !{null, metadata !11}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000266!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]
Eric Christopherfa986e72013-09-24 00:17:54 +0000267!12 = metadata !{i32 786468}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000268!13 = metadata !{i32 786478, metadata !1, metadata !"_ZTS1C", metadata !"static_member_function", metadata !"static_member_function", metadata !"_ZN1C22static_member_functionEv", i32 3, metadata !14, i1 false, i1 false, i32 0, i32 0, null, i32 256, i1 false, null, null, i32 0, metadata !16, i32 3} ; [ DW_TAG_subprogram ] [line 3] [static_member_function]
Eric Christopherfa986e72013-09-24 00:17:54 +0000269!14 = metadata !{i32 786453, i32 0, null, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !15, i32 0, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
270!15 = metadata !{metadata !7}
271!16 = metadata !{i32 786468}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000272!17 = metadata !{i32 786451, metadata !1, metadata !18, metadata !"D", i32 21, i64 32, i64 32, i32 0, i32 0, null, metadata !19, i32 0, null, null, metadata !"_ZTSN2ns1DE"} ; [ DW_TAG_structure_type ] [D] [line 21, size 32, align 32, offset 0] [def] [from ]
273!18 = metadata !{i32 786489, metadata !1, null, metadata !"ns", i32 17} ; [ DW_TAG_namespace ] [ns] [line 17]
274!19 = metadata !{metadata !20}
275!20 = metadata !{i32 786445, metadata !1, metadata !"_ZTSN2ns1DE", metadata !"A", i32 22, i64 32, i64 32, i64 0, i32 0, metadata !7} ; [ DW_TAG_member ] [A] [line 22, size 32, align 32, offset 0] [from int]
276!21 = metadata !{metadata !22, metadata !23, metadata !24, metadata !26}
277!22 = 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]
278!23 = metadata !{i32 786478, metadata !1, metadata !"_ZTS1C", metadata !"static_member_function", metadata !"static_member_function", metadata !"_ZN1C22static_member_functionEv", i32 11, metadata !14, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, i32 ()* @_ZN1C22static_member_functionEv, null, metadata !13, metadata !2, i32 11} ; [ DW_TAG_subprogram ] [line 11] [def] [static_member_function]
279!24 = metadata !{i32 786478, metadata !1, metadata !25, metadata !"global_function", metadata !"global_function", metadata !"_Z15global_functionv", i32 15, metadata !14, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, i32 ()* @_Z15global_functionv, null, null, metadata !2, i32 15} ; [ DW_TAG_subprogram ] [line 15] [def] [global_function]
280!25 = metadata !{i32 786473, metadata !1} ; [ DW_TAG_file_type ] [/usr/local/google/home/echristo/tmp/pubnames.cpp]
281!26 = metadata !{i32 786478, metadata !1, metadata !18, metadata !"global_namespace_function", metadata !"global_namespace_function", metadata !"_ZN2ns25global_namespace_functionEv", i32 18, metadata !27, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, void ()* @_ZN2ns25global_namespace_functionEv, null, null, metadata !2, i32 18} ; [ DW_TAG_subprogram ] [line 18] [def] [global_namespace_function]
282!27 = metadata !{i32 786453, i32 0, null, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !28, i32 0, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
283!28 = metadata !{null}
284!29 = metadata !{metadata !30, metadata !31, metadata !32, metadata !33}
285!30 = metadata !{i32 786484, i32 0, metadata !4, metadata !"static_member_variable", metadata !"static_member_variable", metadata !"_ZN1C22static_member_variableE", metadata !25, i32 7, metadata !7, i32 0, i32 1, i32* @_ZN1C22static_member_variableE, metadata !6} ; [ DW_TAG_variable ] [static_member_variable] [line 7] [def]
286!31 = metadata !{i32 786484, i32 0, null, metadata !"global_variable", metadata !"global_variable", metadata !"", metadata !25, i32 13, metadata !4, i32 0, i32 1, %struct.C* @global_variable, null} ; [ DW_TAG_variable ] [global_variable] [line 13] [def]
287!32 = metadata !{i32 786484, i32 0, metadata !18, metadata !"global_namespace_variable", metadata !"global_namespace_variable", metadata !"_ZN2ns25global_namespace_variableE", metadata !25, i32 19, metadata !7, i32 0, i32 1, i32* @_ZN2ns25global_namespace_variableE, null} ; [ DW_TAG_variable ] [global_namespace_variable] [line 19] [def]
288!33 = metadata !{i32 786484, i32 0, metadata !18, metadata !"d", metadata !"d", metadata !"_ZN2ns1dE", metadata !25, i32 23, metadata !17, i32 0, i32 1, %"struct.ns::D"* @_ZN2ns1dE, null} ; [ DW_TAG_variable ] [d] [line 23] [def]
289!34 = metadata !{i32 2, metadata !"Dwarf Version", i32 4}
290!35 = metadata !{metadata !"clang version 3.4 (trunk 192862) (llvm/trunk 192861)"}
291!36 = metadata !{i32 786689, metadata !22, metadata !"this", null, i32 16777216, metadata !37, i32 1088, i32 0} ; [ DW_TAG_arg_variable ] [this] [line 0]
292!37 = 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]
293!38 = metadata !{i32 0, i32 0, metadata !22, null}
294!39 = metadata !{i32 9, i32 0, metadata !22, null}
295!40 = metadata !{i32 11, i32 0, metadata !23, null}
296!41 = metadata !{i32 15, i32 0, metadata !24, null}
297!42 = metadata !{i32 18, i32 0, metadata !26, null}
298