brintos

brintos / llvm-project-archived public Read only

0
0
Text · 16.6 KiB · 2e39967 Raw
359 lines · plain
1.ifdef GEN2#--- b.cc3struct t1 { };4namespace ns {5struct t2 {};6}7int main() { t1 v1; ns::t2 v2; }8#--- gen9clang --target=x86_64-linux -S -g -gpubnames b.cc -o -10.endif11	.text12	.file	"b.cc"13	.globl	main                            # -- Begin function main14	.p2align	4, 0x9015	.type	main,@function16main:                                   # @main17.Lfunc_begin0:18	.file	0 "/proc/self/cwd" "b.cc" md5 0xcb70125759dcd65dfed077164397a2f419	.loc	0 5 0                           # b.cc:5:020	.cfi_startproc21# %bb.0:                                # %entry22	pushq	%rbp23	.cfi_def_cfa_offset 1624	.cfi_offset %rbp, -1625	movq	%rsp, %rbp26	.cfi_def_cfa_register %rbp27.Ltmp0:28	.loc	0 5 32 prologue_end             # b.cc:5:3229	xorl	%eax, %eax30	.loc	0 5 32 epilogue_begin is_stmt 0 # b.cc:5:3231	popq	%rbp32	.cfi_def_cfa %rsp, 833	retq34.Ltmp1:35.Lfunc_end0:36	.size	main, .Lfunc_end0-main37	.cfi_endproc38                                        # -- End function39	.section	.debug_abbrev,"",@progbits40	.byte	1                               # Abbreviation Code41	.byte	17                              # DW_TAG_compile_unit42	.byte	1                               # DW_CHILDREN_yes43	.byte	37                              # DW_AT_producer44	.byte	37                              # DW_FORM_strx145	.byte	19                              # DW_AT_language46	.byte	5                               # DW_FORM_data247	.byte	3                               # DW_AT_name48	.byte	37                              # DW_FORM_strx149	.byte	114                             # DW_AT_str_offsets_base50	.byte	23                              # DW_FORM_sec_offset51	.byte	16                              # DW_AT_stmt_list52	.byte	23                              # DW_FORM_sec_offset53	.byte	27                              # DW_AT_comp_dir54	.byte	37                              # DW_FORM_strx155	.byte	17                              # DW_AT_low_pc56	.byte	27                              # DW_FORM_addrx57	.byte	18                              # DW_AT_high_pc58	.byte	6                               # DW_FORM_data459	.byte	115                             # DW_AT_addr_base60	.byte	23                              # DW_FORM_sec_offset61	.byte	0                               # EOM(1)62	.byte	0                               # EOM(2)63	.byte	2                               # Abbreviation Code64	.byte	46                              # DW_TAG_subprogram65	.byte	1                               # DW_CHILDREN_yes66	.byte	17                              # DW_AT_low_pc67	.byte	27                              # DW_FORM_addrx68	.byte	18                              # DW_AT_high_pc69	.byte	6                               # DW_FORM_data470	.byte	64                              # DW_AT_frame_base71	.byte	24                              # DW_FORM_exprloc72	.byte	3                               # DW_AT_name73	.byte	37                              # DW_FORM_strx174	.byte	58                              # DW_AT_decl_file75	.byte	11                              # DW_FORM_data176	.byte	59                              # DW_AT_decl_line77	.byte	11                              # DW_FORM_data178	.byte	73                              # DW_AT_type79	.byte	19                              # DW_FORM_ref480	.byte	63                              # DW_AT_external81	.byte	25                              # DW_FORM_flag_present82	.byte	0                               # EOM(1)83	.byte	0                               # EOM(2)84	.byte	3                               # Abbreviation Code85	.byte	52                              # DW_TAG_variable86	.byte	0                               # DW_CHILDREN_no87	.byte	2                               # DW_AT_location88	.byte	24                              # DW_FORM_exprloc89	.byte	3                               # DW_AT_name90	.byte	37                              # DW_FORM_strx191	.byte	58                              # DW_AT_decl_file92	.byte	11                              # DW_FORM_data193	.byte	59                              # DW_AT_decl_line94	.byte	11                              # DW_FORM_data195	.byte	73                              # DW_AT_type96	.byte	19                              # DW_FORM_ref497	.byte	0                               # EOM(1)98	.byte	0                               # EOM(2)99	.byte	4                               # Abbreviation Code100	.byte	36                              # DW_TAG_base_type101	.byte	0                               # DW_CHILDREN_no102	.byte	3                               # DW_AT_name103	.byte	37                              # DW_FORM_strx1104	.byte	62                              # DW_AT_encoding105	.byte	11                              # DW_FORM_data1106	.byte	11                              # DW_AT_byte_size107	.byte	11                              # DW_FORM_data1108	.byte	0                               # EOM(1)109	.byte	0                               # EOM(2)110	.byte	5                               # Abbreviation Code111	.byte	19                              # DW_TAG_structure_type112	.byte	0                               # DW_CHILDREN_no113	.byte	54                              # DW_AT_calling_convention114	.byte	11                              # DW_FORM_data1115	.byte	3                               # DW_AT_name116	.byte	37                              # DW_FORM_strx1117	.byte	11                              # DW_AT_byte_size118	.byte	11                              # DW_FORM_data1119	.byte	58                              # DW_AT_decl_file120	.byte	11                              # DW_FORM_data1121	.byte	59                              # DW_AT_decl_line122	.byte	11                              # DW_FORM_data1123	.byte	0                               # EOM(1)124	.byte	0                               # EOM(2)125	.byte	6                               # Abbreviation Code126	.byte	57                              # DW_TAG_namespace127	.byte	1                               # DW_CHILDREN_yes128	.byte	3                               # DW_AT_name129	.byte	37                              # DW_FORM_strx1130	.byte	0                               # EOM(1)131	.byte	0                               # EOM(2)132	.byte	0                               # EOM(3)133	.section	.debug_info,"",@progbits134.Lcu_begin0:135	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit136.Ldebug_info_start0:137	.short	5                               # DWARF version number138	.byte	1                               # DWARF Unit Type139	.byte	8                               # Address Size (in bytes)140	.long	.debug_abbrev                   # Offset Into Abbrev. Section141	.byte	1                               # Abbrev [1] 0xc:0x51 DW_TAG_compile_unit142	.byte	0                               # DW_AT_producer143	.short	33                              # DW_AT_language144	.byte	1                               # DW_AT_name145	.long	.Lstr_offsets_base0             # DW_AT_str_offsets_base146	.long	.Lline_table_start0             # DW_AT_stmt_list147	.byte	2                               # DW_AT_comp_dir148	.byte	0                               # DW_AT_low_pc149	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc150	.long	.Laddr_table_base0              # DW_AT_addr_base151	.byte	2                               # Abbrev [2] 0x23:0x26 DW_TAG_subprogram152	.byte	0                               # DW_AT_low_pc153	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc154	.byte	1                               # DW_AT_frame_base155	.byte	86156	.byte	3                               # DW_AT_name157	.byte	0                               # DW_AT_decl_file158	.byte	5                               # DW_AT_decl_line159	.long	73                              # DW_AT_type160                                        # DW_AT_external161	.byte	3                               # Abbrev [3] 0x32:0xb DW_TAG_variable162	.byte	2                               # DW_AT_location163	.byte	145164	.byte	127165	.byte	5                               # DW_AT_name166	.byte	0                               # DW_AT_decl_file167	.byte	5                               # DW_AT_decl_line168	.long	77                              # DW_AT_type169	.byte	3                               # Abbrev [3] 0x3d:0xb DW_TAG_variable170	.byte	2                               # DW_AT_location171	.byte	145172	.byte	126173	.byte	7                               # DW_AT_name174	.byte	0                               # DW_AT_decl_file175	.byte	5                               # DW_AT_decl_line176	.long	85                              # DW_AT_type177	.byte	0                               # End Of Children Mark178	.byte	4                               # Abbrev [4] 0x49:0x4 DW_TAG_base_type179	.byte	4                               # DW_AT_name180	.byte	5                               # DW_AT_encoding181	.byte	4                               # DW_AT_byte_size182	.byte	5                               # Abbrev [5] 0x4d:0x6 DW_TAG_structure_type183	.byte	5                               # DW_AT_calling_convention184	.byte	6                               # DW_AT_name185	.byte	1                               # DW_AT_byte_size186	.byte	0                               # DW_AT_decl_file187	.byte	1                               # DW_AT_decl_line188	.byte	6                               # Abbrev [6] 0x53:0x9 DW_TAG_namespace189	.byte	8                               # DW_AT_name190	.byte	5                               # Abbrev [5] 0x55:0x6 DW_TAG_structure_type191	.byte	5                               # DW_AT_calling_convention192	.byte	9                               # DW_AT_name193	.byte	1                               # DW_AT_byte_size194	.byte	0                               # DW_AT_decl_file195	.byte	3                               # DW_AT_decl_line196	.byte	0                               # End Of Children Mark197	.byte	0                               # End Of Children Mark198.Ldebug_info_end0:199	.section	.debug_str_offsets,"",@progbits200	.long	44                              # Length of String Offsets Set201	.short	5202	.short	0203.Lstr_offsets_base0:204	.section	.debug_str,"MS",@progbits,1205.Linfo_string0:206	.byte	0                               # string offset=0207.Linfo_string1:208	.asciz	"b.cc"                          # string offset=1209.Linfo_string2:210	.asciz	"/proc/self/cwd"                # string offset=6211.Linfo_string3:212	.asciz	"main"                          # string offset=21213.Linfo_string4:214	.asciz	"int"                           # string offset=26215.Linfo_string5:216	.asciz	"v1"                            # string offset=30217.Linfo_string6:218	.asciz	"t1"                            # string offset=33219.Linfo_string7:220	.asciz	"v2"                            # string offset=36221.Linfo_string8:222	.asciz	"ns"                            # string offset=39223.Linfo_string9:224	.asciz	"t2"                            # string offset=42225	.section	.debug_str_offsets,"",@progbits226	.long	.Linfo_string0227	.long	.Linfo_string1228	.long	.Linfo_string2229	.long	.Linfo_string3230	.long	.Linfo_string4231	.long	.Linfo_string5232	.long	.Linfo_string6233	.long	.Linfo_string7234	.long	.Linfo_string8235	.long	.Linfo_string9236	.section	.debug_addr,"",@progbits237	.long	.Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution238.Ldebug_addr_start0:239	.short	5                               # DWARF version number240	.byte	8                               # Address size241	.byte	0                               # Segment selector size242.Laddr_table_base0:243	.quad	.Lfunc_begin0244.Ldebug_addr_end0:245	.section	.debug_names,"",@progbits246	.long	.Lnames_end0-.Lnames_start0     # Header: unit length247.Lnames_start0:248	.short	5                               # Header: version249	.short	0                               # Header: padding250	.long	1                               # Header: compilation unit count251	.long	0                               # Header: local type unit count252	.long	0                               # Header: foreign type unit count253	.long	5                               # Header: bucket count254	.long	5                               # Header: name count255	.long	.Lnames_abbrev_end0-.Lnames_abbrev_start0 # Header: abbreviation table size256	.long	8                               # Header: augmentation string size257	.ascii	"LLVM0700"                      # Header: augmentation string258	.long	.Lcu_begin0                     # Compilation unit 0259	.long	0                               # Bucket 0260	.long	1                               # Bucket 1261	.long	3                               # Bucket 2262	.long	4                               # Bucket 3263	.long	5                               # Bucket 4264	.long	5863786                         # Hash in Bucket 1265	.long	2090499946                      # Hash in Bucket 1266	.long	5863787                         # Hash in Bucket 2267	.long	193495088                       # Hash in Bucket 3268	.long	5863654                         # Hash in Bucket 4269	.long	.Linfo_string6                  # String in Bucket 1: t1270	.long	.Linfo_string3                  # String in Bucket 1: main271	.long	.Linfo_string9                  # String in Bucket 2: t2272	.long	.Linfo_string4                  # String in Bucket 3: int273	.long	.Linfo_string8                  # String in Bucket 4: ns274	.long	.Lnames2-.Lnames_entries0       # Offset in Bucket 1275	.long	.Lnames0-.Lnames_entries0       # Offset in Bucket 1276	.long	.Lnames4-.Lnames_entries0       # Offset in Bucket 2277	.long	.Lnames1-.Lnames_entries0       # Offset in Bucket 3278	.long	.Lnames3-.Lnames_entries0       # Offset in Bucket 4279.Lnames_abbrev_start0:280	.byte	1                               # Abbrev code281	.byte	19                              # DW_TAG_structure_type282	.byte	3                               # DW_IDX_die_offset283	.byte	19                              # DW_FORM_ref4284	.byte	4                               # DW_IDX_parent285	.byte	25                              # DW_FORM_flag_present286	.byte	0                               # End of abbrev287	.byte	0                               # End of abbrev288	.byte	2                               # Abbrev code289	.byte	46                              # DW_TAG_subprogram290	.byte	3                               # DW_IDX_die_offset291	.byte	19                              # DW_FORM_ref4292	.byte	4                               # DW_IDX_parent293	.byte	25                              # DW_FORM_flag_present294	.byte	0                               # End of abbrev295	.byte	0                               # End of abbrev296	.byte	3                               # Abbrev code297	.byte	19                              # DW_TAG_structure_type298	.byte	3                               # DW_IDX_die_offset299	.byte	19                              # DW_FORM_ref4300	.byte	4                               # DW_IDX_parent301	.byte	19                              # DW_FORM_ref4302	.byte	0                               # End of abbrev303	.byte	0                               # End of abbrev304	.byte	4                               # Abbrev code305	.byte	36                              # DW_TAG_base_type306	.byte	3                               # DW_IDX_die_offset307	.byte	19                              # DW_FORM_ref4308	.byte	4                               # DW_IDX_parent309	.byte	25                              # DW_FORM_flag_present310	.byte	0                               # End of abbrev311	.byte	0                               # End of abbrev312	.byte	5                               # Abbrev code313	.byte	57                              # DW_TAG_namespace314	.byte	3                               # DW_IDX_die_offset315	.byte	19                              # DW_FORM_ref4316	.byte	4                               # DW_IDX_parent317	.byte	25                              # DW_FORM_flag_present318	.byte	0                               # End of abbrev319	.byte	0                               # End of abbrev320	.byte	0                               # End of abbrev list321.Lnames_abbrev_end0:322.Lnames_entries0:323.Lnames2:324.L4:325	.byte	1                               # Abbreviation code326	.long	77                              # DW_IDX_die_offset327	.byte	0                               # DW_IDX_parent328                                        # End of list: t1329.Lnames0:330.L2:331	.byte	2                               # Abbreviation code332	.long	35                              # DW_IDX_die_offset333	.byte	0                               # DW_IDX_parent334                                        # End of list: main335.Lnames4:336.L3:337	.byte	3                               # Abbreviation code338	.long	85                              # DW_IDX_die_offset339	.long	.L1-.Lnames_entries0            # DW_IDX_parent340	.byte	0                               # End of list: t2341.Lnames1:342.L0:343	.byte	4                               # Abbreviation code344	.long	73                              # DW_IDX_die_offset345	.byte	0                               # DW_IDX_parent346                                        # End of list: int347.Lnames3:348.L1:349	.byte	5                               # Abbreviation code350	.long	83                              # DW_IDX_die_offset351	.byte	0                               # DW_IDX_parent352                                        # End of list: ns353	.p2align	2, 0x0354.Lnames_end0:355	.section	".note.GNU-stack","",@progbits356	.addrsig357	.section	.debug_line,"",@progbits358.Lline_table_start0:359