brintos

brintos / llvm-project-archived public Read only

0
0
Text · 10.0 KiB · 9c5f676 Raw
223 lines · plain
1# Manually modified to remove low_pc/high_pc and base_address2# int helper(int i) {3#   return ++i;4# }5	.text6	.file	"helper.cpp"7	.globl	_Z6helperi                      # -- Begin function _Z6helperi8	.p2align	4, 0x909	.type	_Z6helperi,@function10_Z6helperi:                             # @_Z6helperi11.Lfunc_begin0:12	.file	1 "." "helper.cpp"13	.loc	1 1 0                           # helper.cpp:1:014	.cfi_startproc15# %bb.0:                                # %entry16	pushq	%rbp17	.cfi_def_cfa_offset 1618	.cfi_offset %rbp, -1619	movq	%rsp, %rbp20	.cfi_def_cfa_register %rbp21	movl	%edi, -4(%rbp)22.Ltmp0:23	.loc	1 2 10 prologue_end             # helper.cpp:2:1024	movl	-4(%rbp), %eax25	addl	$1, %eax26	movl	%eax, -4(%rbp)27	.loc	1 2 3 is_stmt 0                 # helper.cpp:2:328	popq	%rbp29	.cfi_def_cfa %rsp, 830	retq31.Ltmp1:32.Lfunc_end0:33	.size	_Z6helperi, .Lfunc_end0-_Z6helperi34	.cfi_endproc35                                        # -- End function36	.section	.debug_abbrev,"",@progbits37	.byte	1                               # Abbreviation Code38	.byte	17                              # DW_TAG_compile_unit39	.byte	0                               # DW_CHILDREN_no40	.byte	16                              # DW_AT_stmt_list41	.byte	23                              # DW_FORM_sec_offset42	.byte	27                              # DW_AT_comp_dir43	.byte	14                              # DW_FORM_strp44	.ascii	"\264B"                         # DW_AT_GNU_pubnames45	.byte	25                              # DW_FORM_flag_present46	.ascii	"\260B"                         # DW_AT_GNU_dwo_name47	.byte	14                              # DW_FORM_strp48	.ascii	"\261B"                         # DW_AT_GNU_dwo_id49	.byte	7                               # DW_FORM_data850	.byte	0                               # EOM(1)51	.byte	0                               # EOM(2)52	.byte	0                               # EOM(3)53	.section	.debug_info,"",@progbits54.Lcu_begin0:55	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit56.Ldebug_info_start0:57	.short	4                               # DWARF version number58	.long	.debug_abbrev                   # Offset Into Abbrev. Section59	.byte	8                               # Address Size (in bytes)60	.byte	1                               # Abbrev [1] 0xb:0x25 DW_TAG_compile_unit61	.long	.Lline_table_start0             # DW_AT_stmt_list62	.long	.Lskel_string0                  # DW_AT_comp_dir63                                        # DW_AT_GNU_pubnames64	.long	.Lskel_string1                  # DW_AT_GNU_dwo_name65	.quad	2738718332032343034             # DW_AT_GNU_dwo_id66.Ldebug_info_end0:67	.section	.debug_str,"MS",@progbits,168.Lskel_string0:69	.asciz	"." # string offset=070.Lskel_string1:71	.asciz	"helper.dwo"                    # string offset=3872	.section	.debug_str.dwo,"eMS",@progbits,173.Linfo_string0:74	.asciz	"_Z6helperi"                    # string offset=075.Linfo_string1:76	.asciz	"helper"                        # string offset=1177.Linfo_string2:78	.asciz	"int"                           # string offset=1879.Linfo_string3:80	.asciz	"i"                             # string offset=2281.Linfo_string4:82	.asciz	"clang version 15.0.0" # string offset=2483.Linfo_string5:84	.asciz	"helper.cpp"                    # string offset=15885.Linfo_string6:86	.asciz	"helper.dwo"                    # string offset=16987	.section	.debug_str_offsets.dwo,"e",@progbits88	.long	089	.long	1190	.long	1891	.long	2292	.long	2493	.long	15894	.long	16995	.section	.debug_info.dwo,"e",@progbits96	.long	.Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit97.Ldebug_info_dwo_start0:98	.short	4                               # DWARF version number99	.long	0                               # Offset Into Abbrev. Section100	.byte	8                               # Address Size (in bytes)101	.byte	1                               # Abbrev [1] 0xb:0x2f DW_TAG_compile_unit102	.byte	4                               # DW_AT_producer103	.short	33                              # DW_AT_language104	.byte	5                               # DW_AT_name105	.byte	6                               # DW_AT_GNU_dwo_name106	.quad	2738718332032343034             # DW_AT_GNU_dwo_id107	.byte	2                               # Abbrev [2] 0x19:0x1c DW_TAG_subprogram108	.byte	1                               # DW_AT_frame_base109	.byte	86110	.byte	0                               # DW_AT_linkage_name111	.byte	1                               # DW_AT_name112	.byte	1                               # DW_AT_decl_file113	.byte	1                               # DW_AT_decl_line114	.long	48                              # DW_AT_type115                                        # DW_AT_external116	.byte	3                               # Abbrev [3] 0x29:0xb DW_TAG_formal_parameter117	.byte	2                               # DW_AT_location118	.byte	145119	.byte	124120	.byte	3                               # DW_AT_name121	.byte	1                               # DW_AT_decl_file122	.byte	1                               # DW_AT_decl_line123	.long	48                              # DW_AT_type124	.byte	0                               # End Of Children Mark125	.byte	4                               # Abbrev [4] 0x35:0x4 DW_TAG_base_type126	.byte	2                               # DW_AT_name127	.byte	5                               # DW_AT_encoding128	.byte	4                               # DW_AT_byte_size129	.byte	0                               # End Of Children Mark130.Ldebug_info_dwo_end0:131	.section	.debug_abbrev.dwo,"e",@progbits132	.byte	1                               # Abbreviation Code133	.byte	17                              # DW_TAG_compile_unit134	.byte	1                               # DW_CHILDREN_yes135	.byte	37                              # DW_AT_producer136	.ascii	"\202>"                         # DW_FORM_GNU_str_index137	.byte	19                              # DW_AT_language138	.byte	5                               # DW_FORM_data2139	.byte	3                               # DW_AT_name140	.ascii	"\202>"                         # DW_FORM_GNU_str_index141	.ascii	"\260B"                         # DW_AT_GNU_dwo_name142	.ascii	"\202>"                         # DW_FORM_GNU_str_index143	.ascii	"\261B"                         # DW_AT_GNU_dwo_id144	.byte	7                               # DW_FORM_data8145	.byte	0                               # EOM(1)146	.byte	0                               # EOM(2)147	.byte	2                               # Abbreviation Code148	.byte	46                              # DW_TAG_subprogram149	.byte	1                               # DW_CHILDREN_yes150	.byte	64                              # DW_AT_frame_base151	.byte	24                              # DW_FORM_exprloc152	.byte	110                             # DW_AT_linkage_name153	.ascii	"\202>"                         # DW_FORM_GNU_str_index154	.byte	3                               # DW_AT_name155	.ascii	"\202>"                         # DW_FORM_GNU_str_index156	.byte	58                              # DW_AT_decl_file157	.byte	11                              # DW_FORM_data1158	.byte	59                              # DW_AT_decl_line159	.byte	11                              # DW_FORM_data1160	.byte	73                              # DW_AT_type161	.byte	19                              # DW_FORM_ref4162	.byte	63                              # DW_AT_external163	.byte	25                              # DW_FORM_flag_present164	.byte	0                               # EOM(1)165	.byte	0                               # EOM(2)166	.byte	3                               # Abbreviation Code167	.byte	5                               # DW_TAG_formal_parameter168	.byte	0                               # DW_CHILDREN_no169	.byte	2                               # DW_AT_location170	.byte	24                              # DW_FORM_exprloc171	.byte	3                               # DW_AT_name172	.ascii	"\202>"                         # DW_FORM_GNU_str_index173	.byte	58                              # DW_AT_decl_file174	.byte	11                              # DW_FORM_data1175	.byte	59                              # DW_AT_decl_line176	.byte	11                              # DW_FORM_data1177	.byte	73                              # DW_AT_type178	.byte	19                              # DW_FORM_ref4179	.byte	0                               # EOM(1)180	.byte	0                               # EOM(2)181	.byte	4                               # Abbreviation Code182	.byte	36                              # DW_TAG_base_type183	.byte	0                               # DW_CHILDREN_no184	.byte	3                               # DW_AT_name185	.ascii	"\202>"                         # DW_FORM_GNU_str_index186	.byte	62                              # DW_AT_encoding187	.byte	11                              # DW_FORM_data1188	.byte	11                              # DW_AT_byte_size189	.byte	11                              # DW_FORM_data1190	.byte	0                               # EOM(1)191	.byte	0                               # EOM(2)192	.byte	0                               # EOM(3)193	.section	.debug_addr,"",@progbits194.Laddr_table_base0:195	.quad	.Lfunc_begin0196	.section	.debug_gnu_pubnames,"",@progbits197	.long	.LpubNames_end0-.LpubNames_start0 # Length of Public Names Info198.LpubNames_start0:199	.short	2                               # DWARF Version200	.long	.Lcu_begin0                     # Offset of Compilation Unit Info201	.long	48                              # Compilation Unit Length202	.long	25                              # DIE offset203	.byte	48                              # Attributes: FUNCTION, EXTERNAL204	.asciz	"helper"                        # External Name205	.long	0                               # End Mark206.LpubNames_end0:207	.section	.debug_gnu_pubtypes,"",@progbits208	.long	.LpubTypes_end0-.LpubTypes_start0 # Length of Public Types Info209.LpubTypes_start0:210	.short	2                               # DWARF Version211	.long	.Lcu_begin0                     # Offset of Compilation Unit Info212	.long	48                              # Compilation Unit Length213	.long	53                              # DIE offset214	.byte	144                             # Attributes: TYPE, STATIC215	.asciz	"int"                           # External Name216	.long	0                               # End Mark217.LpubTypes_end0:218	.ident	"clang version 15.0.0"219	.section	".note.GNU-stack","",@progbits220	.addrsig221	.section	.debug_line,"",@progbits222.Lline_table_start0:223