brintos

brintos / llvm-project-archived public Read only

0
0
Text · 17.2 KiB · fd63c7c Raw
381 lines · plain
1# clang++ -O2 -g -gdwarf-4 -gsplit-dwarf2# int z = 0;3# int d = 0;4# int helper(int z_, int d_) {5#  z += z_;6#  d += d_;7#  return z * d;8# }9	.text10	.file	"helper.cpp"11	.file	0 "." "helper.cpp" md5 0xb012cefec76132f29ac48b29c758035212	.globl	_Z6helperii                     # -- Begin function _Z6helperii13	.p2align	4, 0x9014	.type	_Z6helperii,@function15_Z6helperii:                            # @_Z6helperii16.Lfunc_begin0:17	.loc	0 3 0                           # helper.cpp:3:018	.cfi_startproc19# %bb.0:                                # %entry20	#DEBUG_VALUE: helper:z_ <- $edi21	#DEBUG_VALUE: helper:d_ <- $esi22	movl	%esi, %eax23.Ltmp0:24	.loc	0 4 4 prologue_end              # helper.cpp:4:425	addl	z(%rip), %edi26.Ltmp1:27	#DEBUG_VALUE: helper:z_ <- [DW_OP_LLVM_entry_value 1] $edi28	.loc	0 5 4                           # helper.cpp:5:429	addl	d(%rip), %eax30	.loc	0 4 4                           # helper.cpp:4:431	movl	%edi, z(%rip)32	.loc	0 5 4                           # helper.cpp:5:433	movl	%eax, d(%rip)34	.loc	0 6 11                          # helper.cpp:6:1135	imull	%edi, %eax36	.loc	0 6 2 is_stmt 0                 # helper.cpp:6:237	retq38.Ltmp2:39.Lfunc_end0:40	.size	_Z6helperii, .Lfunc_end0-_Z6helperii41	.cfi_endproc42                                        # -- End function43	.type	z,@object                       # @z44	.bss45	.globl	z46	.p2align	2, 0x047z:48	.long	0                               # 0x049	.size	z, 450 51	.type	d,@object                       # @d52	.globl	d53	.p2align	2, 0x054d:55	.long	0                               # 0x056	.size	d, 457 58	.section	.debug_loclists.dwo,"e",@progbits59	.long	.Ldebug_list_header_end0-.Ldebug_list_header_start0 # Length60.Ldebug_list_header_start0:61	.short	5                               # Version62	.byte	8                               # Address size63	.byte	0                               # Segment selector size64	.long	1                               # Offset entry count65.Lloclists_table_base0:66	.long	.Ldebug_loc0-.Lloclists_table_base067.Ldebug_loc0:68	.byte	1                               # DW_LLE_base_addressx69	.byte	2                               #   base address index70	.byte	4                               # DW_LLE_offset_pair71	.uleb128 .Lfunc_begin0-.Lfunc_begin0    #   starting offset72	.uleb128 .Ltmp1-.Lfunc_begin0           #   ending offset73	.byte	1                               # Loc expr size74	.byte	85                              # super-register DW_OP_reg575	.byte	4                               # DW_LLE_offset_pair76	.uleb128 .Ltmp1-.Lfunc_begin0           #   starting offset77	.uleb128 .Lfunc_end0-.Lfunc_begin0      #   ending offset78	.byte	4                               # Loc expr size79	.byte	163                             # DW_OP_entry_value80	.byte	1                               # 181	.byte	85                              # super-register DW_OP_reg582	.byte	159                             # DW_OP_stack_value83	.byte	0                               # DW_LLE_end_of_list84.Ldebug_list_header_end0:85	.section	.debug_abbrev,"",@progbits86	.byte	1                               # Abbreviation Code87	.byte	74                              # DW_TAG_skeleton_unit88	.byte	0                               # DW_CHILDREN_no89	.byte	16                              # DW_AT_stmt_list90	.byte	23                              # DW_FORM_sec_offset91	.byte	114                             # DW_AT_str_offsets_base92	.byte	23                              # DW_FORM_sec_offset93	.byte	27                              # DW_AT_comp_dir94	.byte	37                              # DW_FORM_strx195	.ascii	"\264B"                         # DW_AT_GNU_pubnames96	.byte	25                              # DW_FORM_flag_present97	.byte	118                             # DW_AT_dwo_name98	.byte	37                              # DW_FORM_strx199	.byte	17                              # DW_AT_low_pc100	.byte	27                              # DW_FORM_addrx101	.byte	18                              # DW_AT_high_pc102	.byte	6                               # DW_FORM_data4103	.byte	115                             # DW_AT_addr_base104	.byte	23                              # DW_FORM_sec_offset105	.byte	0                               # EOM(1)106	.byte	0                               # EOM(2)107	.byte	0                               # EOM(3)108	.section	.debug_info,"",@progbits109.Lcu_begin0:110	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit111.Ldebug_info_start0:112	.short	5                               # DWARF version number113	.byte	4                               # DWARF Unit Type114	.byte	8                               # Address Size (in bytes)115	.long	.debug_abbrev                   # Offset Into Abbrev. Section116	.quad	6512974040646495267117	.byte	1                               # Abbrev [1] 0x14:0x14 DW_TAG_skeleton_unit118	.long	.Lline_table_start0             # DW_AT_stmt_list119	.long	.Lstr_offsets_base0             # DW_AT_str_offsets_base120	.byte	0                               # DW_AT_comp_dir121                                        # DW_AT_GNU_pubnames122	.byte	1                               # DW_AT_dwo_name123	.byte	2                               # DW_AT_low_pc124	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc125	.long	.Laddr_table_base0              # DW_AT_addr_base126.Ldebug_info_end0:127	.section	.debug_str_offsets,"",@progbits128	.long	12                              # Length of String Offsets Set129	.short	5130	.short	0131.Lstr_offsets_base0:132	.section	.debug_str,"MS",@progbits,1133.Lskel_string0:134	.asciz	"." # string offset=0135.Lskel_string1:136	.asciz	"helper.dwo"                    # string offset=47137	.section	.debug_str_offsets,"",@progbits138	.long	.Lskel_string0139	.long	.Lskel_string1140	.section	.debug_str_offsets.dwo,"e",@progbits141	.long	44                              # Length of String Offsets Set142	.short	5143	.short	0144	.section	.debug_str.dwo,"eMS",@progbits,1145.Linfo_string0:146	.asciz	"z"                             # string offset=0147.Linfo_string1:148	.asciz	"int"                           # string offset=2149.Linfo_string2:150	.asciz	"d"                             # string offset=6151.Linfo_string3:152	.asciz	"_Z6helperii"                   # string offset=8153.Linfo_string4:154	.asciz	"helper"                        # string offset=20155.Linfo_string5:156	.asciz	"z_"                            # string offset=27157.Linfo_string6:158	.asciz	"d_"                            # string offset=30159.Linfo_string7:160	.asciz	"clang version 18.0.0 (git@github.com:llvm/llvm-project.git 3a8db0f4bfb57348f49d9603119fa157114bbf8e)" # string offset=33161.Linfo_string8:162	.asciz	"helper.cpp"                    # string offset=134163.Linfo_string9:164	.asciz	"helper.dwo"                    # string offset=145165	.section	.debug_str_offsets.dwo,"e",@progbits166	.long	0167	.long	2168	.long	6169	.long	8170	.long	20171	.long	27172	.long	30173	.long	33174	.long	134175	.long	145176	.section	.debug_info.dwo,"e",@progbits177	.long	.Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit178.Ldebug_info_dwo_start0:179	.short	5                               # DWARF version number180	.byte	5                               # DWARF Unit Type181	.byte	8                               # Address Size (in bytes)182	.long	0                               # Offset Into Abbrev. Section183	.quad	6512974040646495267184	.byte	1                               # Abbrev [1] 0x14:0x45 DW_TAG_compile_unit185	.byte	7                               # DW_AT_producer186	.short	33                              # DW_AT_language187	.byte	8                               # DW_AT_name188	.byte	9                               # DW_AT_dwo_name189	.byte	2                               # Abbrev [2] 0x1a:0xb DW_TAG_variable190	.byte	0                               # DW_AT_name191	.long	37                              # DW_AT_type192                                        # DW_AT_external193	.byte	0                               # DW_AT_decl_file194	.byte	1                               # DW_AT_decl_line195	.byte	2                               # DW_AT_location196	.byte	161197	.byte	0198	.byte	3                               # Abbrev [3] 0x25:0x4 DW_TAG_base_type199	.byte	1                               # DW_AT_name200	.byte	5                               # DW_AT_encoding201	.byte	4                               # DW_AT_byte_size202	.byte	2                               # Abbrev [2] 0x29:0xb DW_TAG_variable203	.byte	2                               # DW_AT_name204	.long	37                              # DW_AT_type205                                        # DW_AT_external206	.byte	0                               # DW_AT_decl_file207	.byte	2                               # DW_AT_decl_line208	.byte	2                               # DW_AT_location209	.byte	161210	.byte	1211	.byte	4                               # Abbrev [4] 0x34:0x24 DW_TAG_subprogram212	.byte	2                               # DW_AT_low_pc213	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc214	.byte	1                               # DW_AT_frame_base215	.byte	87216                                        # DW_AT_call_all_calls217	.byte	3                               # DW_AT_linkage_name218	.byte	4                               # DW_AT_name219	.byte	0                               # DW_AT_decl_file220	.byte	3                               # DW_AT_decl_line221	.long	37                              # DW_AT_type222                                        # DW_AT_external223	.byte	5                               # Abbrev [5] 0x44:0x9 DW_TAG_formal_parameter224	.byte	0                               # DW_AT_location225	.byte	5                               # DW_AT_name226	.byte	0                               # DW_AT_decl_file227	.byte	3                               # DW_AT_decl_line228	.long	37                              # DW_AT_type229	.byte	6                               # Abbrev [6] 0x4d:0xa DW_TAG_formal_parameter230	.byte	1                               # DW_AT_location231	.byte	84232	.byte	6                               # DW_AT_name233	.byte	0                               # DW_AT_decl_file234	.byte	3                               # DW_AT_decl_line235	.long	37                              # DW_AT_type236	.byte	0                               # End Of Children Mark237	.byte	0                               # End Of Children Mark238.Ldebug_info_dwo_end0:239	.section	.debug_abbrev.dwo,"e",@progbits240	.byte	1                               # Abbreviation Code241	.byte	17                              # DW_TAG_compile_unit242	.byte	1                               # DW_CHILDREN_yes243	.byte	37                              # DW_AT_producer244	.byte	37                              # DW_FORM_strx1245	.byte	19                              # DW_AT_language246	.byte	5                               # DW_FORM_data2247	.byte	3                               # DW_AT_name248	.byte	37                              # DW_FORM_strx1249	.byte	118                             # DW_AT_dwo_name250	.byte	37                              # DW_FORM_strx1251	.byte	0                               # EOM(1)252	.byte	0                               # EOM(2)253	.byte	2                               # Abbreviation Code254	.byte	52                              # DW_TAG_variable255	.byte	0                               # DW_CHILDREN_no256	.byte	3                               # DW_AT_name257	.byte	37                              # DW_FORM_strx1258	.byte	73                              # DW_AT_type259	.byte	19                              # DW_FORM_ref4260	.byte	63                              # DW_AT_external261	.byte	25                              # DW_FORM_flag_present262	.byte	58                              # DW_AT_decl_file263	.byte	11                              # DW_FORM_data1264	.byte	59                              # DW_AT_decl_line265	.byte	11                              # DW_FORM_data1266	.byte	2                               # DW_AT_location267	.byte	24                              # DW_FORM_exprloc268	.byte	0                               # EOM(1)269	.byte	0                               # EOM(2)270	.byte	3                               # Abbreviation Code271	.byte	36                              # DW_TAG_base_type272	.byte	0                               # DW_CHILDREN_no273	.byte	3                               # DW_AT_name274	.byte	37                              # DW_FORM_strx1275	.byte	62                              # DW_AT_encoding276	.byte	11                              # DW_FORM_data1277	.byte	11                              # DW_AT_byte_size278	.byte	11                              # DW_FORM_data1279	.byte	0                               # EOM(1)280	.byte	0                               # EOM(2)281	.byte	4                               # Abbreviation Code282	.byte	46                              # DW_TAG_subprogram283	.byte	1                               # DW_CHILDREN_yes284	.byte	17                              # DW_AT_low_pc285	.byte	27                              # DW_FORM_addrx286	.byte	18                              # DW_AT_high_pc287	.byte	6                               # DW_FORM_data4288	.byte	64                              # DW_AT_frame_base289	.byte	24                              # DW_FORM_exprloc290	.byte	122                             # DW_AT_call_all_calls291	.byte	25                              # DW_FORM_flag_present292	.byte	110                             # DW_AT_linkage_name293	.byte	37                              # DW_FORM_strx1294	.byte	3                               # DW_AT_name295	.byte	37                              # DW_FORM_strx1296	.byte	58                              # DW_AT_decl_file297	.byte	11                              # DW_FORM_data1298	.byte	59                              # DW_AT_decl_line299	.byte	11                              # DW_FORM_data1300	.byte	73                              # DW_AT_type301	.byte	19                              # DW_FORM_ref4302	.byte	63                              # DW_AT_external303	.byte	25                              # DW_FORM_flag_present304	.byte	0                               # EOM(1)305	.byte	0                               # EOM(2)306	.byte	5                               # Abbreviation Code307	.byte	5                               # DW_TAG_formal_parameter308	.byte	0                               # DW_CHILDREN_no309	.byte	2                               # DW_AT_location310	.byte	34                              # DW_FORM_loclistx311	.byte	3                               # DW_AT_name312	.byte	37                              # DW_FORM_strx1313	.byte	58                              # DW_AT_decl_file314	.byte	11                              # DW_FORM_data1315	.byte	59                              # DW_AT_decl_line316	.byte	11                              # DW_FORM_data1317	.byte	73                              # DW_AT_type318	.byte	19                              # DW_FORM_ref4319	.byte	0                               # EOM(1)320	.byte	0                               # EOM(2)321	.byte	6                               # Abbreviation Code322	.byte	5                               # DW_TAG_formal_parameter323	.byte	0                               # DW_CHILDREN_no324	.byte	2                               # DW_AT_location325	.byte	24                              # DW_FORM_exprloc326	.byte	3                               # DW_AT_name327	.byte	37                              # DW_FORM_strx1328	.byte	58                              # DW_AT_decl_file329	.byte	11                              # DW_FORM_data1330	.byte	59                              # DW_AT_decl_line331	.byte	11                              # DW_FORM_data1332	.byte	73                              # DW_AT_type333	.byte	19                              # DW_FORM_ref4334	.byte	0                               # EOM(1)335	.byte	0                               # EOM(2)336	.byte	0                               # EOM(3)337	.section	.debug_addr,"",@progbits338	.long	.Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution339.Ldebug_addr_start0:340	.short	5                               # DWARF version number341	.byte	8                               # Address size342	.byte	0                               # Segment selector size343.Laddr_table_base0:344	.quad	z345	.quad	d346	.quad	.Lfunc_begin0347.Ldebug_addr_end0:348	.section	.debug_gnu_pubnames,"",@progbits349	.long	.LpubNames_end0-.LpubNames_start0 # Length of Public Names Info350.LpubNames_start0:351	.short	2                               # DWARF Version352	.long	.Lcu_begin0                     # Offset of Compilation Unit Info353	.long	40                              # Compilation Unit Length354	.long	26                              # DIE offset355	.byte	32                              # Attributes: VARIABLE, EXTERNAL356	.asciz	"z"                             # External Name357	.long	41                              # DIE offset358	.byte	32                              # Attributes: VARIABLE, EXTERNAL359	.asciz	"d"                             # External Name360	.long	52                              # DIE offset361	.byte	48                              # Attributes: FUNCTION, EXTERNAL362	.asciz	"helper"                        # External Name363	.long	0                               # End Mark364.LpubNames_end0:365	.section	.debug_gnu_pubtypes,"",@progbits366	.long	.LpubTypes_end0-.LpubTypes_start0 # Length of Public Types Info367.LpubTypes_start0:368	.short	2                               # DWARF Version369	.long	.Lcu_begin0                     # Offset of Compilation Unit Info370	.long	40                              # Compilation Unit Length371	.long	37                              # DIE offset372	.byte	144                             # Attributes: TYPE, STATIC373	.asciz	"int"                           # External Name374	.long	0                               # End Mark375.LpubTypes_end0:376	.ident	"clang version 18.0.0 (git@github.com:llvm/llvm-project.git 3a8db0f4bfb57348f49d9603119fa157114bbf8e)"377	.section	".note.GNU-stack","",@progbits378	.addrsig379	.section	.debug_line,"",@progbits380.Lline_table_start0:381