brintos

brintos / llvm-project-archived public Read only

0
0
Text · 15.4 KiB · cc951b6 Raw
331 lines · plain
1#--- main.s2# clang++ -g2 -gdwarf-4 -gsplit-dwarf=split -gno-pubnames -S main.cpp3# extern int getReturn();4# int main() {5#   return getReturn();6# }7	.file	"main.cpp"8	.globl	main                            # -- Begin function main9	.type	main,@function10main:                                   # @main11.Lfunc_begin0:12	.file	1 "." "main.cpp"13	.loc	1 2 0                           # main.cpp:2:014	.loc	1 3 10 prologue_end             # main.cpp:3:1015	.loc	1 3 3 epilogue_begin is_stmt 0  # main.cpp:3:316	retq17.Lfunc_end0:18	.size	main, .Lfunc_end0-main19	.section	.debug_abbrev,"",@progbits20	.byte	1                               # Abbreviation Code21	.byte	17                              # DW_TAG_compile_unit22	.byte	0                               # DW_CHILDREN_no23	.byte	16                              # DW_AT_stmt_list24	.byte	23                              # DW_FORM_sec_offset25	.byte	27                              # DW_AT_comp_dir26	.byte	14                              # DW_FORM_strp27	.ascii	"\260B"                         # DW_AT_GNU_dwo_name28	.byte	14                              # DW_FORM_strp29	.ascii	"\261B"                         # DW_AT_GNU_dwo_id30	.byte	7                               # DW_FORM_data831	.byte	17                              # DW_AT_low_pc32	.byte	1                               # DW_FORM_addr33	.byte	18                              # DW_AT_high_pc34	.byte	6                               # DW_FORM_data435	.ascii	"\263B"                         # DW_AT_GNU_addr_base36	.byte	23                              # DW_FORM_sec_offset37	.byte	0                               # EOM(1)38	.byte	0                               # EOM(2)39	.byte	0                               # EOM(3)40	.section	.debug_info,"",@progbits41.Lcu_begin0:42	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit43.Ldebug_info_start0:44	.short	4                               # DWARF version number45	.long	.debug_abbrev                   # Offset Into Abbrev. Section46	.byte	8                               # Address Size (in bytes)47	.byte	1                               # Abbrev [1] 0xb:0x25 DW_TAG_compile_unit48	.long	.Lline_table_start0             # DW_AT_stmt_list49	.long	.Lskel_string0                  # DW_AT_comp_dir50	.long	.Lskel_string1                  # DW_AT_GNU_dwo_name51	.quad	-9094791692727444213            # DW_AT_GNU_dwo_id52	.quad	.Lfunc_begin0                   # DW_AT_low_pc53	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc54	.long	.Laddr_table_base0              # DW_AT_GNU_addr_base55.Ldebug_info_end0:56	.section	.debug_str,"MS",@progbits,157.Lskel_string0:58	.asciz	"." # string offset=059.Lskel_string1:60	.asciz	"main.dwo"                      # string offset=261	.section	.debug_str.dwo,"eMS",@progbits,162.Linfo_string0:63	.asciz	"main"                          # string offset=064.Linfo_string1:65	.asciz	"int"                           # string offset=566.Linfo_string2:67	.asciz	"clang version 22.0.0" # string offset=968.Linfo_string3:69	.asciz	"main.cpp"                      # string offset=3070.Linfo_string4:71	.asciz	"main.dwo"                      # string offset=3972	.section	.debug_str_offsets.dwo,"e",@progbits73	.long	074	.long	575	.long	976	.long	3077	.long	3978	.section	.debug_info.dwo,"e",@progbits79	.long	.Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit80.Ldebug_info_dwo_start0:81	.short	4                               # DWARF version number82	.long	0                               # Offset Into Abbrev. Section83	.byte	8                               # Address Size (in bytes)84	.byte	1                               # Abbrev [1] 0xb:0x22 DW_TAG_compile_unit85	.byte	2                               # DW_AT_producer86	.short	33                              # DW_AT_language87	.byte	3                               # DW_AT_name88	.byte	4                               # DW_AT_GNU_dwo_name89	.quad	-9094791692727444213            # DW_AT_GNU_dwo_id90	.byte	2                               # Abbrev [2] 0x19:0xf DW_TAG_subprogram91	.byte	0                               # DW_AT_low_pc92	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc93	.byte	1                               # DW_AT_frame_base94	.byte	8695	.byte	0                               # DW_AT_name96	.byte	1                               # DW_AT_decl_file97	.byte	2                               # DW_AT_decl_line98	.long	40                              # DW_AT_type99                                        # DW_AT_external100	.byte	3                               # Abbrev [3] 0x28:0x4 DW_TAG_base_type101	.byte	1                               # DW_AT_name102	.byte	5                               # DW_AT_encoding103	.byte	4                               # DW_AT_byte_size104	.byte	0                               # End Of Children Mark105.Ldebug_info_dwo_end0:106	.section	.debug_abbrev.dwo,"e",@progbits107	.byte	1                               # Abbreviation Code108	.byte	17                              # DW_TAG_compile_unit109	.byte	1                               # DW_CHILDREN_yes110	.byte	37                              # DW_AT_producer111	.ascii	"\202>"                         # DW_FORM_GNU_str_index112	.byte	19                              # DW_AT_language113	.byte	5                               # DW_FORM_data2114	.byte	3                               # DW_AT_name115	.ascii	"\202>"                         # DW_FORM_GNU_str_index116	.ascii	"\260B"                         # DW_AT_GNU_dwo_name117	.ascii	"\202>"                         # DW_FORM_GNU_str_index118	.ascii	"\261B"                         # DW_AT_GNU_dwo_id119	.byte	7                               # DW_FORM_data8120	.byte	0                               # EOM(1)121	.byte	0                               # EOM(2)122	.byte	2                               # Abbreviation Code123	.byte	46                              # DW_TAG_subprogram124	.byte	0                               # DW_CHILDREN_no125	.byte	17                              # DW_AT_low_pc126	.ascii	"\201>"                         # DW_FORM_GNU_addr_index127	.byte	18                              # DW_AT_high_pc128	.byte	6                               # DW_FORM_data4129	.byte	64                              # DW_AT_frame_base130	.byte	24                              # DW_FORM_exprloc131	.byte	3                               # DW_AT_name132	.ascii	"\202>"                         # DW_FORM_GNU_str_index133	.byte	58                              # DW_AT_decl_file134	.byte	11                              # DW_FORM_data1135	.byte	59                              # DW_AT_decl_line136	.byte	11                              # DW_FORM_data1137	.byte	73                              # DW_AT_type138	.byte	19                              # DW_FORM_ref4139	.byte	63                              # DW_AT_external140	.byte	25                              # DW_FORM_flag_present141	.byte	0                               # EOM(1)142	.byte	0                               # EOM(2)143	.byte	3                               # Abbreviation Code144	.byte	36                              # DW_TAG_base_type145	.byte	0                               # DW_CHILDREN_no146	.byte	3                               # DW_AT_name147	.ascii	"\202>"                         # DW_FORM_GNU_str_index148	.byte	62                              # DW_AT_encoding149	.byte	11                              # DW_FORM_data1150	.byte	11                              # DW_AT_byte_size151	.byte	11                              # DW_FORM_data1152	.byte	0                               # EOM(1)153	.byte	0                               # EOM(2)154	.byte	0                               # EOM(3)155	.section	.debug_addr,"",@progbits156.Laddr_table_base0:157	.quad	.Lfunc_begin0158	.ident	"clang version 22.0.0"159	.section	".note.GNU-stack","",@progbits160	.addrsig161	.addrsig_sym _Z9getReturnv162	.section	.debug_line,"",@progbits163.Lline_table_start0:164#--- helper.s165# clang++ -g2 -gdwarf-4 -gsplit-dwarf=split -gno-pubnames -S helper.cpp166# int getReturn() {167#   return 0;168# }169	.file	"helper.cpp"170	.globl	_Z9getReturnv                   # -- Begin function _Z9getReturnv171	.type	_Z9getReturnv,@function172_Z9getReturnv:                          # @_Z9getReturnv173.Lfunc_begin0:174	.file	1 "." "helper.cpp"175	.loc	1 1 0                           # helper.cpp:1:0176	.loc	1 2 3 prologue_end              # helper.cpp:2:3177	.loc	1 2 3 epilogue_begin is_stmt 0  # helper.cpp:2:3178	retq179.Lfunc_end0:180	.size	_Z9getReturnv, .Lfunc_end0-_Z9getReturnv181	.section	.debug_abbrev,"",@progbits182	.byte	1                               # Abbreviation Code183	.byte	17                              # DW_TAG_compile_unit184	.byte	0                               # DW_CHILDREN_no185	.byte	16                              # DW_AT_stmt_list186	.byte	23                              # DW_FORM_sec_offset187	.byte	27                              # DW_AT_comp_dir188	.byte	14                              # DW_FORM_strp189	.ascii	"\260B"                         # DW_AT_GNU_dwo_name190	.byte	14                              # DW_FORM_strp191	.ascii	"\261B"                         # DW_AT_GNU_dwo_id192	.byte	7                               # DW_FORM_data8193	.byte	17                              # DW_AT_low_pc194	.byte	1                               # DW_FORM_addr195	.byte	18                              # DW_AT_high_pc196	.byte	6                               # DW_FORM_data4197	.ascii	"\263B"                         # DW_AT_GNU_addr_base198	.byte	23                              # DW_FORM_sec_offset199	.byte	0                               # EOM(1)200	.byte	0                               # EOM(2)201	.byte	0                               # EOM(3)202	.section	.debug_info,"",@progbits203.Lcu_begin0:204	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit205.Ldebug_info_start0:206	.short	4                               # DWARF version number207	.long	.debug_abbrev                   # Offset Into Abbrev. Section208	.byte	8                               # Address Size (in bytes)209	.byte	1                               # Abbrev [1] 0xb:0x25 DW_TAG_compile_unit210	.long	.Lline_table_start0             # DW_AT_stmt_list211	.long	.Lskel_string0                  # DW_AT_comp_dir212	.long	.Lskel_string1                  # DW_AT_GNU_dwo_name213	.quad	5976014880088676049             # DW_AT_GNU_dwo_id214	.quad	.Lfunc_begin0                   # DW_AT_low_pc215	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc216	.long	.Laddr_table_base0              # DW_AT_GNU_addr_base217.Ldebug_info_end0:218	.section	.debug_str,"MS",@progbits,1219.Lskel_string0:220	.asciz	"." # string offset=0221.Lskel_string1:222	.asciz	"helper.dwo"                    # string offset=2223	.section	.debug_str.dwo,"eMS",@progbits,1224.Linfo_string0:225	.asciz	"_Z9getReturnv"                 # string offset=0226.Linfo_string1:227	.asciz	"getReturn"                     # string offset=14228.Linfo_string2:229	.asciz	"int"                           # string offset=24230.Linfo_string3:231	.asciz	"clang version 22.0.0" # string offset=28232.Linfo_string4:233	.asciz	"helper.cpp"                    # string offset=49234.Linfo_string5:235	.asciz	"helper.dwo"                    # string offset=60236	.section	.debug_str_offsets.dwo,"e",@progbits237	.long	0238	.long	14239	.long	24240	.long	28241	.long	49242	.long	60243	.section	.debug_info.dwo,"e",@progbits244	.long	.Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit245.Ldebug_info_dwo_start0:246	.short	4                               # DWARF version number247	.long	0                               # Offset Into Abbrev. Section248	.byte	8                               # Address Size (in bytes)249	.byte	1                               # Abbrev [1] 0xb:0x23 DW_TAG_compile_unit250	.byte	3                               # DW_AT_producer251	.short	33                              # DW_AT_language252	.byte	4                               # DW_AT_name253	.byte	5                               # DW_AT_GNU_dwo_name254	.quad	5976014880088676049             # DW_AT_GNU_dwo_id255	.byte	2                               # Abbrev [2] 0x19:0x10 DW_TAG_subprogram256	.byte	0                               # DW_AT_low_pc257	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc258	.byte	1                               # DW_AT_frame_base259	.byte	86260	.byte	0                               # DW_AT_linkage_name261	.byte	1                               # DW_AT_name262	.byte	1                               # DW_AT_decl_file263	.byte	1                               # DW_AT_decl_line264	.long	41                              # DW_AT_type265                                        # DW_AT_external266	.byte	3                               # Abbrev [3] 0x29:0x4 DW_TAG_base_type267	.byte	2                               # DW_AT_name268	.byte	5                               # DW_AT_encoding269	.byte	4                               # DW_AT_byte_size270	.byte	0                               # End Of Children Mark271.Ldebug_info_dwo_end0:272	.section	.debug_abbrev.dwo,"e",@progbits273	.byte	1                               # Abbreviation Code274	.byte	17                              # DW_TAG_compile_unit275	.byte	1                               # DW_CHILDREN_yes276	.byte	37                              # DW_AT_producer277	.ascii	"\202>"                         # DW_FORM_GNU_str_index278	.byte	19                              # DW_AT_language279	.byte	5                               # DW_FORM_data2280	.byte	3                               # DW_AT_name281	.ascii	"\202>"                         # DW_FORM_GNU_str_index282	.ascii	"\260B"                         # DW_AT_GNU_dwo_name283	.ascii	"\202>"                         # DW_FORM_GNU_str_index284	.ascii	"\261B"                         # DW_AT_GNU_dwo_id285	.byte	7                               # DW_FORM_data8286	.byte	0                               # EOM(1)287	.byte	0                               # EOM(2)288	.byte	2                               # Abbreviation Code289	.byte	46                              # DW_TAG_subprogram290	.byte	0                               # DW_CHILDREN_no291	.byte	17                              # DW_AT_low_pc292	.ascii	"\201>"                         # DW_FORM_GNU_addr_index293	.byte	18                              # DW_AT_high_pc294	.byte	6                               # DW_FORM_data4295	.byte	64                              # DW_AT_frame_base296	.byte	24                              # DW_FORM_exprloc297	.byte	110                             # DW_AT_linkage_name298	.ascii	"\202>"                         # DW_FORM_GNU_str_index299	.byte	3                               # DW_AT_name300	.ascii	"\202>"                         # DW_FORM_GNU_str_index301	.byte	58                              # DW_AT_decl_file302	.byte	11                              # DW_FORM_data1303	.byte	59                              # DW_AT_decl_line304	.byte	11                              # DW_FORM_data1305	.byte	73                              # DW_AT_type306	.byte	19                              # DW_FORM_ref4307	.byte	63                              # DW_AT_external308	.byte	25                              # DW_FORM_flag_present309	.byte	0                               # EOM(1)310	.byte	0                               # EOM(2)311	.byte	3                               # Abbreviation Code312	.byte	36                              # DW_TAG_base_type313	.byte	0                               # DW_CHILDREN_no314	.byte	3                               # DW_AT_name315	.ascii	"\202>"                         # DW_FORM_GNU_str_index316	.byte	62                              # DW_AT_encoding317	.byte	11                              # DW_FORM_data1318	.byte	11                              # DW_AT_byte_size319	.byte	11                              # DW_FORM_data1320	.byte	0                               # EOM(1)321	.byte	0                               # EOM(2)322	.byte	0                               # EOM(3)323	.section	.debug_addr,"",@progbits324.Laddr_table_base0:325	.quad	.Lfunc_begin0326	.ident	"clang version 22.0.0"327	.section	".note.GNU-stack","",@progbits328	.addrsig329	.section	.debug_line,"",@progbits330.Lline_table_start0:331