blob: b8997822938099a88932466d5c96f53f76f31900 [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 Christopherc4dd56b2013-12-05 01:00:12 +000049; CHECK: Compile Unit: length = [[UNIT_SIZE:[0-9a-f]+]]
Eric Christopher39eebfa2013-09-30 23:14:16 +000050; CHECK: DW_AT_GNU_pubnames [DW_FORM_sec_offset] (0x00000000)
51; CHECK: DW_AT_GNU_pubtypes [DW_FORM_sec_offset] (0x00000000)
Eric Christopherd2b497b2013-10-16 01:37:49 +000052
Eric Christopherd2b497b2013-10-16 01:37:49 +000053; CHECK: [[C:[0-9a-f]+]]: DW_TAG_structure_type
David Blaikieecd21ff2013-09-24 19:50:00 +000054; CHECK-NEXT: DW_AT_name {{.*}} "C"
Eric Christopherd2b497b2013-10-16 01:37:49 +000055
56; CHECK: [[STATIC_MEM_DECL:[0-9a-f]+]]: DW_TAG_member
57; CHECK-NEXT: DW_AT_name {{.*}} "static_member_variable"
58
59; CHECK: [[MEM_FUNC_DECL:[0-9a-f]+]]: DW_TAG_subprogram
David Blaikieac30f9e2013-09-19 23:43:46 +000060; CHECK-NEXT: DW_AT_MIPS_linkage_name
61; CHECK-NEXT: DW_AT_name {{.*}} "member_function"
Eric Christopherd2b497b2013-10-16 01:37:49 +000062
63; CHECK: [[STATIC_MEM_FUNC_DECL:[0-9a-f]+]]: DW_TAG_subprogram
David Blaikieac30f9e2013-09-19 23:43:46 +000064; CHECK-NEXT: DW_AT_MIPS_linkage_name
65; CHECK-NEXT: DW_AT_name {{.*}} "static_member_function"
Eric Christopherd2b497b2013-10-16 01:37:49 +000066
Manman Renf4c339e2013-10-29 22:49:29 +000067; CHECK: [[INT:[0-9a-f]+]]: DW_TAG_base_type
68; CHECK-NEXT: DW_AT_name {{.*}} "int"
69
Eric Christopherd2b497b2013-10-16 01:37:49 +000070; CHECK: [[STATIC_MEM_VAR:[0-9a-f]+]]: DW_TAG_variable
71; CHECK-NEXT: DW_AT_specification {{.*}}[[STATIC_MEM_DECL]]
72
73; CHECK: [[GLOB_VAR:[0-9a-f]+]]: DW_TAG_variable
David Blaikieac30f9e2013-09-19 23:43:46 +000074; CHECK-NEXT: DW_AT_name {{.*}} "global_variable"
Eric Christopherd2b497b2013-10-16 01:37:49 +000075
76; CHECK: [[NS:[0-9a-f]+]]: DW_TAG_namespace
77; CHECK-NEXT: DW_AT_name {{.*}} "ns"
78
79; CHECK: [[GLOB_NS_VAR_DECL:[0-9a-f]+]]: DW_TAG_variable
David Blaikieac30f9e2013-09-19 23:43:46 +000080; CHECK-NEXT: DW_AT_name {{.*}} "global_namespace_variable"
Eric Christopherd2b497b2013-10-16 01:37:49 +000081
Eric Christopher2c8b7902013-10-17 02:06:06 +000082; CHECK: [[D_VAR_DECL:[0-9a-f]+]]: DW_TAG_variable
83; CHECK-NEXT: DW_AT_name {{.*}} "d"
84
Manman Renf6b936b2013-10-29 05:49:41 +000085; CHECK: [[D:[0-9a-f]+]]: DW_TAG_structure_type
86; CHECK-NEXT: DW_AT_name {{.*}} "D"
87
Eric Christopherd2b497b2013-10-16 01:37:49 +000088; CHECK: [[GLOB_NS_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
David Blaikieac30f9e2013-09-19 23:43:46 +000089; CHECK-NEXT: DW_AT_MIPS_linkage_name
90; CHECK-NEXT: DW_AT_name {{.*}} "global_namespace_function"
Eric Christopherd2b497b2013-10-16 01:37:49 +000091
92; CHECK: [[GLOB_NS_VAR:[0-9a-f]+]]: DW_TAG_variable
93; CHECK-NEXT: DW_AT_specification {{.*}}[[GLOB_NS_VAR_DECL]]
94
Eric Christopher2c8b7902013-10-17 02:06:06 +000095; CHECK: [[D_VAR:[0-9a-f]+]]: DW_TAG_variable
96; CHECK-NEXT: DW_AT_specification {{.*}}[[D_VAR_DECL]]
97
Eric Christopherd2b497b2013-10-16 01:37:49 +000098; CHECK: [[MEM_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
99; CHECK-NEXT: DW_AT_specification {{.*}}[[MEM_FUNC_DECL]]
100
101; CHECK: [[STATIC_MEM_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
102; CHECK-NEXT: DW_AT_specification {{.*}}[[STATIC_MEM_FUNC_DECL]]
103
104; CHECK: [[GLOBAL_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
David Blaikieac30f9e2013-09-19 23:43:46 +0000105; CHECK-NEXT: DW_AT_MIPS_linkage_name
106; CHECK-NEXT: DW_AT_name {{.*}} "global_function"
107
108; CHECK-LABEL: .debug_gnu_pubnames contents:
Eric Christopherc4dd56b2013-12-05 01:00:12 +0000109; CHECK-NEXT: length = 0x000000e7 version = 0x0002 unit_offset = 0x00000000 unit_size = [[UNIT_SIZE]]
David Blaikie404d3042013-09-19 23:01:29 +0000110; CHECK-NEXT: Offset Linkage Kind Name
Eric Christopherd2b497b2013-10-16 01:37:49 +0000111; CHECK-DAG: [[GLOBAL_FUNC]] EXTERNAL FUNCTION "global_function"
Eric Christopher2c8b7902013-10-17 02:06:06 +0000112; CHECK-DAG: [[NS]] EXTERNAL TYPE "ns"
113; CHECK-DAG: [[MEM_FUNC]] EXTERNAL FUNCTION "C::member_function"
114; CHECK-DAG: [[GLOB_VAR]] EXTERNAL VARIABLE "global_variable"
115; CHECK-DAG: [[GLOB_NS_VAR]] EXTERNAL VARIABLE "ns::global_namespace_variable"
116; CHECK-DAG: [[GLOB_NS_FUNC]] EXTERNAL FUNCTION "ns::global_namespace_function"
117; CHECK-DAG: [[D_VAR]] EXTERNAL VARIABLE "ns::d"
118; CHECK-DAG: [[STATIC_MEM_VAR]] EXTERNAL VARIABLE "C::static_member_variable"
119; CHECK-DAG: [[STATIC_MEM_FUNC]] EXTERNAL FUNCTION "C::static_member_function"
120
Eric Christopherdd1a0122013-09-13 00:35:05 +0000121
David Blaikieecd21ff2013-09-24 19:50:00 +0000122; CHECK-LABEL: debug_gnu_pubtypes contents:
David Blaikie2ede02f2013-11-01 17:53:30 +0000123; CHECK: Offset Linkage Kind Name
Eric Christopherd2b497b2013-10-16 01:37:49 +0000124; CHECK-DAG: [[C]] EXTERNAL TYPE "C"
Eric Christopher2c8b7902013-10-17 02:06:06 +0000125; CHECK-DAG: [[D]] EXTERNAL TYPE "ns::D"
Eric Christopherd2b497b2013-10-16 01:37:49 +0000126; CHECK-DAG: [[INT]] STATIC TYPE "int"
David Blaikieecd21ff2013-09-24 19:50:00 +0000127
Eric Christopher33ff6972013-11-21 23:46:41 +0000128; DWARF3: .debug_info contents:
Eric Christopherc4dd56b2013-12-05 01:00:12 +0000129; DWARF3: Compile Unit: length = [[UNIT_SIZE:[0-9a-f]+]]
Eric Christopher33ff6972013-11-21 23:46:41 +0000130; DWARF3: DW_AT_GNU_pubnames [DW_FORM_data4] (0x00000000)
131; DWARF3: DW_AT_GNU_pubtypes [DW_FORM_data4] (0x00000000)
132
133; DWARF3: [[C:[0-9a-f]+]]: DW_TAG_structure_type
134; DWARF3-NEXT: DW_AT_name {{.*}} "C"
135
136; DWARF3: [[STATIC_MEM_DECL:[0-9a-f]+]]: DW_TAG_member
137; DWARF3-NEXT: DW_AT_name {{.*}} "static_member_variable"
138
139; DWARF3: [[MEM_FUNC_DECL:[0-9a-f]+]]: DW_TAG_subprogram
140; DWARF3-NEXT: DW_AT_MIPS_linkage_name
141; DWARF3-NEXT: DW_AT_name {{.*}} "member_function"
142
143; DWARF3: [[STATIC_MEM_FUNC_DECL:[0-9a-f]+]]: DW_TAG_subprogram
144; DWARF3-NEXT: DW_AT_MIPS_linkage_name
145; DWARF3-NEXT: DW_AT_name {{.*}} "static_member_function"
146
147; DWARF3: [[INT:[0-9a-f]+]]: DW_TAG_base_type
148; DWARF3-NEXT: DW_AT_name {{.*}} "int"
149
150; DWARF3: [[STATIC_MEM_VAR:[0-9a-f]+]]: DW_TAG_variable
151; DWARF3-NEXT: DW_AT_specification {{.*}}[[STATIC_MEM_DECL]]
152
153; DWARF3: [[GLOB_VAR:[0-9a-f]+]]: DW_TAG_variable
154; DWARF3-NEXT: DW_AT_name {{.*}} "global_variable"
155
156; DWARF3: [[NS:[0-9a-f]+]]: DW_TAG_namespace
157; DWARF3-NEXT: DW_AT_name {{.*}} "ns"
158
159; DWARF3: [[GLOB_NS_VAR_DECL:[0-9a-f]+]]: DW_TAG_variable
160; DWARF3-NEXT: DW_AT_name {{.*}} "global_namespace_variable"
161
162; DWARF3: [[D_VAR_DECL:[0-9a-f]+]]: DW_TAG_variable
163; DWARF3-NEXT: DW_AT_name {{.*}} "d"
164
165; DWARF3: [[D:[0-9a-f]+]]: DW_TAG_structure_type
166; DWARF3-NEXT: DW_AT_name {{.*}} "D"
167
168; DWARF3: [[GLOB_NS_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
169; DWARF3-NEXT: DW_AT_MIPS_linkage_name
170; DWARF3-NEXT: DW_AT_name {{.*}} "global_namespace_function"
171
172; DWARF3: [[GLOB_NS_VAR:[0-9a-f]+]]: DW_TAG_variable
173; DWARF3-NEXT: DW_AT_specification {{.*}}[[GLOB_NS_VAR_DECL]]
174
175; DWARF3: [[D_VAR:[0-9a-f]+]]: DW_TAG_variable
176; DWARF3-NEXT: DW_AT_specification {{.*}}[[D_VAR_DECL]]
177
178; DWARF3: [[MEM_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
179; DWARF3-NEXT: DW_AT_specification {{.*}}[[MEM_FUNC_DECL]]
180
181; DWARF3: [[STATIC_MEM_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
182; DWARF3-NEXT: DW_AT_specification {{.*}}[[STATIC_MEM_FUNC_DECL]]
183
184; DWARF3: [[GLOBAL_FUNC:[0-9a-f]+]]: DW_TAG_subprogram
185; DWARF3-NEXT: DW_AT_MIPS_linkage_name
186; DWARF3-NEXT: DW_AT_name {{.*}} "global_function"
187
188; DWARF3-LABEL: .debug_gnu_pubnames contents:
Eric Christopherc4dd56b2013-12-05 01:00:12 +0000189; DWARF3-NEXT: length = 0x000000e7 version = 0x0002 unit_offset = 0x00000000 unit_size = [[UNIT_SIZE]]
Eric Christopher33ff6972013-11-21 23:46:41 +0000190; DWARF3-NEXT: Offset Linkage Kind Name
191; DWARF3-DAG: [[GLOBAL_FUNC]] EXTERNAL FUNCTION "global_function"
192; DWARF3-DAG: [[NS]] EXTERNAL TYPE "ns"
193; DWARF3-DAG: [[MEM_FUNC]] EXTERNAL FUNCTION "C::member_function"
194; DWARF3-DAG: [[GLOB_VAR]] EXTERNAL VARIABLE "global_variable"
195; DWARF3-DAG: [[GLOB_NS_VAR]] EXTERNAL VARIABLE "ns::global_namespace_variable"
196; DWARF3-DAG: [[GLOB_NS_FUNC]] EXTERNAL FUNCTION "ns::global_namespace_function"
197; DWARF3-DAG: [[D_VAR]] EXTERNAL VARIABLE "ns::d"
198; DWARF3-DAG: [[STATIC_MEM_VAR]] EXTERNAL VARIABLE "C::static_member_variable"
199; DWARF3-DAG: [[STATIC_MEM_FUNC]] EXTERNAL FUNCTION "C::static_member_function"
200
201
202; DWARF3-LABEL: debug_gnu_pubtypes contents:
203; DWARF3: Offset Linkage Kind Name
204; DWARF3-DAG: [[C]] EXTERNAL TYPE "C"
205; DWARF3-DAG: [[D]] EXTERNAL TYPE "ns::D"
206; DWARF3-DAG: [[INT]] STATIC TYPE "int"
207
Eric Christopherdd1a0122013-09-13 00:35:05 +0000208%struct.C = type { i8 }
Eric Christopher2c8b7902013-10-17 02:06:06 +0000209%"struct.ns::D" = type { i32 }
Eric Christopherdd1a0122013-09-13 00:35:05 +0000210
211@_ZN1C22static_member_variableE = global i32 0, align 4
212@global_variable = global %struct.C zeroinitializer, align 1
213@_ZN2ns25global_namespace_variableE = global i32 1, align 4
Eric Christopher2c8b7902013-10-17 02:06:06 +0000214@_ZN2ns1dE = global %"struct.ns::D" zeroinitializer, align 4
Eric Christopherdd1a0122013-09-13 00:35:05 +0000215
Eric Christopherfa986e72013-09-24 00:17:54 +0000216; Function Attrs: nounwind uwtable
217define void @_ZN1C15member_functionEv(%struct.C* %this) #0 align 2 {
Eric Christopherdd1a0122013-09-13 00:35:05 +0000218entry:
219 %this.addr = alloca %struct.C*, align 8
220 store %struct.C* %this, %struct.C** %this.addr, align 8
Eric Christopher2c8b7902013-10-17 02:06:06 +0000221 call void @llvm.dbg.declare(metadata !{%struct.C** %this.addr}, metadata !36), !dbg !38
Eric Christopherdd1a0122013-09-13 00:35:05 +0000222 %this1 = load %struct.C** %this.addr
Eric Christopher2c8b7902013-10-17 02:06:06 +0000223 store i32 0, i32* @_ZN1C22static_member_variableE, align 4, !dbg !39
224 ret void, !dbg !39
Eric Christopherdd1a0122013-09-13 00:35:05 +0000225}
226
Eric Christopherfa986e72013-09-24 00:17:54 +0000227; Function Attrs: nounwind readnone
228declare void @llvm.dbg.declare(metadata, metadata) #1
Eric Christopherdd1a0122013-09-13 00:35:05 +0000229
Eric Christopherfa986e72013-09-24 00:17:54 +0000230; Function Attrs: nounwind uwtable
231define i32 @_ZN1C22static_member_functionEv() #0 align 2 {
Eric Christopherdd1a0122013-09-13 00:35:05 +0000232entry:
Eric Christopher2c8b7902013-10-17 02:06:06 +0000233 %0 = load i32* @_ZN1C22static_member_variableE, align 4, !dbg !40
234 ret i32 %0, !dbg !40
Eric Christopherdd1a0122013-09-13 00:35:05 +0000235}
236
Eric Christopherfa986e72013-09-24 00:17:54 +0000237; Function Attrs: nounwind uwtable
238define i32 @_Z15global_functionv() #0 {
Eric Christopherdd1a0122013-09-13 00:35:05 +0000239entry:
Eric Christopher2c8b7902013-10-17 02:06:06 +0000240 ret i32 -1, !dbg !41
Eric Christopherdd1a0122013-09-13 00:35:05 +0000241}
242
Eric Christopherfa986e72013-09-24 00:17:54 +0000243; Function Attrs: nounwind uwtable
244define void @_ZN2ns25global_namespace_functionEv() #0 {
Eric Christopherdd1a0122013-09-13 00:35:05 +0000245entry:
Eric Christopher2c8b7902013-10-17 02:06:06 +0000246 call void @_ZN1C15member_functionEv(%struct.C* @global_variable), !dbg !42
247 ret void, !dbg !42
Eric Christopherdd1a0122013-09-13 00:35:05 +0000248}
249
Eric Christopherfa986e72013-09-24 00:17:54 +0000250attributes #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 +0000251attributes #1 = { nounwind readnone }
252
253!llvm.dbg.cu = !{!0}
Manman Ren409558f2013-11-22 21:49:45 +0000254!llvm.module.flags = !{!34, !43}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000255!llvm.ident = !{!35}
Eric Christopherdd1a0122013-09-13 00:35:05 +0000256
Eric Christopher2c8b7902013-10-17 02:06:06 +0000257!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 +0000258!1 = metadata !{metadata !"pubnames.cpp", metadata !"/usr/local/google/home/echristo/tmp"}
David Blaikie5e390e42014-02-04 01:23:52 +0000259!2 = metadata !{}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000260!3 = metadata !{metadata !4, metadata !17}
Eric Christopherfa986e72013-09-24 00:17:54 +0000261!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 ]
262!5 = metadata !{metadata !6, metadata !8, metadata !13}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000263!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 +0000264!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 +0000265!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 +0000266!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 ]
267!10 = metadata !{null, metadata !11}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000268!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 +0000269!12 = metadata !{i32 786468}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000270!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 +0000271!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 ]
272!15 = metadata !{metadata !7}
273!16 = metadata !{i32 786468}
Eric Christopher2c8b7902013-10-17 02:06:06 +0000274!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 ]
275!18 = metadata !{i32 786489, metadata !1, null, metadata !"ns", i32 17} ; [ DW_TAG_namespace ] [ns] [line 17]
276!19 = metadata !{metadata !20}
277!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]
278!21 = metadata !{metadata !22, metadata !23, metadata !24, metadata !26}
279!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]
280!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]
281!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]
282!25 = metadata !{i32 786473, metadata !1} ; [ DW_TAG_file_type ] [/usr/local/google/home/echristo/tmp/pubnames.cpp]
283!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]
284!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 ]
285!28 = metadata !{null}
286!29 = metadata !{metadata !30, metadata !31, metadata !32, metadata !33}
287!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]
288!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]
289!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]
290!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]
291!34 = metadata !{i32 2, metadata !"Dwarf Version", i32 4}
292!35 = metadata !{metadata !"clang version 3.4 (trunk 192862) (llvm/trunk 192861)"}
293!36 = metadata !{i32 786689, metadata !22, metadata !"this", null, i32 16777216, metadata !37, i32 1088, i32 0} ; [ DW_TAG_arg_variable ] [this] [line 0]
294!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]
295!38 = metadata !{i32 0, i32 0, metadata !22, null}
296!39 = metadata !{i32 9, i32 0, metadata !22, null}
297!40 = metadata !{i32 11, i32 0, metadata !23, null}
298!41 = metadata !{i32 15, i32 0, metadata !24, null}
299!42 = metadata !{i32 18, i32 0, metadata !26, null}
300
Manman Ren409558f2013-11-22 21:49:45 +0000301!43 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}