brintos

brintos / llvm-project-archived public Read only

0
0
Text · 19.9 KiB · 7a91173 Raw
436 lines · plain
1# -gdwarf-5 -g2 -O2 -S2# int helper(int z_, int d_);3# int x = 0;4# int y = 1;5# int  main(int argc, char *argv[]) {6#    if (argc == 5) {7#      x = argc;8#      y = argc + 3;9#      return helper(x, y);10#    }11#    return 0;12# }13 14	.text15	.file	"main.cpp"16	.file	0 "." "main.cpp" md5 0x988e72b4cad0891e25706b94310511c417	.globl	main                            # -- Begin function main18	.p2align	4, 0x9019	.type	main,@function20main:                                   # @main21.Lfunc_begin0:22	.loc	0 5 0                           # main.cpp:5:023	.cfi_startproc24# %bb.0:                                # %entry25	#DEBUG_VALUE: main:argc <- $edi26	#DEBUG_VALUE: main:argv <- $rsi27	.loc	0 6 14 prologue_end             # main.cpp:6:1428	cmpl	$5, %edi29.Ltmp0:30	.loc	0 6 9 is_stmt 0                 # main.cpp:6:931	jne	.LBB0_132.Ltmp1:33# %bb.2:                                # %if.then34	#DEBUG_VALUE: main:argc <- $edi35	#DEBUG_VALUE: main:argv <- $rsi36	.loc	0 7 9 is_stmt 1                 # main.cpp:7:937	movl	$5, x(%rip)38	.loc	0 8 9                           # main.cpp:8:939	movl	$8, y(%rip)40	.loc	0 9 14                          # main.cpp:9:1441	movl	$5, %edi42.Ltmp2:43	#DEBUG_VALUE: main:argc <- [DW_OP_LLVM_entry_value 1] $edi44	movl	$8, %esi45.Ltmp3:46	#DEBUG_VALUE: main:argv <- [DW_OP_LLVM_entry_value 1] $rsi47	jmp	_Z6helperii                     # TAILCALL48.Ltmp4:49.LBB0_1:                                # %return50	#DEBUG_VALUE: main:argc <- $edi51	#DEBUG_VALUE: main:argv <- $rsi52	.loc	0 12 2                          # main.cpp:12:253	xorl	%eax, %eax54	retq55.Ltmp5:56.Lfunc_end0:57	.size	main, .Lfunc_end0-main58	.cfi_endproc59                                        # -- End function60	.type	x,@object                       # @x61	.bss62	.globl	x63	.p2align	264x:65	.long	0                               # 0x066	.size	x, 467 68	.type	y,@object                       # @y69	.data70	.globl	y71	.p2align	272y:73	.long	1                               # 0x174	.size	y, 475 76	.section	.debug_loclists,"",@progbits77	.long	.Ldebug_list_header_end0-.Ldebug_list_header_start0 # Length78.Ldebug_list_header_start0:79	.short	5                               # Version80	.byte	8                               # Address size81	.byte	0                               # Segment selector size82	.long	2                               # Offset entry count83.Lloclists_table_base0:84	.long	.Ldebug_loc0-.Lloclists_table_base085	.long	.Ldebug_loc1-.Lloclists_table_base086.Ldebug_loc0:87	.byte	4                               # DW_LLE_offset_pair88	.uleb128 .Lfunc_begin0-.Lfunc_begin0    #   starting offset89	.uleb128 .Ltmp2-.Lfunc_begin0           #   ending offset90	.byte	1                               # Loc expr size91	.byte	85                              # super-register DW_OP_reg592	.byte	4                               # DW_LLE_offset_pair93	.uleb128 .Ltmp2-.Lfunc_begin0           #   starting offset94	.uleb128 .Ltmp4-.Lfunc_begin0           #   ending offset95	.byte	4                               # Loc expr size96	.byte	163                             # DW_OP_entry_value97	.byte	1                               # 198	.byte	85                              # super-register DW_OP_reg599	.byte	159                             # DW_OP_stack_value100	.byte	4                               # DW_LLE_offset_pair101	.uleb128 .Ltmp4-.Lfunc_begin0           #   starting offset102	.uleb128 .Lfunc_end0-.Lfunc_begin0      #   ending offset103	.byte	1                               # Loc expr size104	.byte	85                              # super-register DW_OP_reg5105	.byte	0                               # DW_LLE_end_of_list106.Ldebug_loc1:107	.byte	4                               # DW_LLE_offset_pair108	.uleb128 .Lfunc_begin0-.Lfunc_begin0    #   starting offset109	.uleb128 .Ltmp3-.Lfunc_begin0           #   ending offset110	.byte	1                               # Loc expr size111	.byte	84                              # DW_OP_reg4112	.byte	4                               # DW_LLE_offset_pair113	.uleb128 .Ltmp3-.Lfunc_begin0           #   starting offset114	.uleb128 .Ltmp4-.Lfunc_begin0           #   ending offset115	.byte	4                               # Loc expr size116	.byte	163                             # DW_OP_entry_value117	.byte	1                               # 1118	.byte	84                              # DW_OP_reg4119	.byte	159                             # DW_OP_stack_value120	.byte	4                               # DW_LLE_offset_pair121	.uleb128 .Ltmp4-.Lfunc_begin0           #   starting offset122	.uleb128 .Lfunc_end0-.Lfunc_begin0      #   ending offset123	.byte	1                               # Loc expr size124	.byte	84                              # DW_OP_reg4125	.byte	0                               # DW_LLE_end_of_list126.Ldebug_list_header_end0:127	.section	.debug_abbrev,"",@progbits128	.byte	1                               # Abbreviation Code129	.byte	17                              # DW_TAG_compile_unit130	.byte	1                               # DW_CHILDREN_yes131	.byte	37                              # DW_AT_producer132	.byte	37                              # DW_FORM_strx1133	.byte	19                              # DW_AT_language134	.byte	5                               # DW_FORM_data2135	.byte	3                               # DW_AT_name136	.byte	37                              # DW_FORM_strx1137	.byte	114                             # DW_AT_str_offsets_base138	.byte	23                              # DW_FORM_sec_offset139	.byte	16                              # DW_AT_stmt_list140	.byte	23                              # DW_FORM_sec_offset141	.byte	27                              # DW_AT_comp_dir142	.byte	37                              # DW_FORM_strx1143	.byte	17                              # DW_AT_low_pc144	.byte	27                              # DW_FORM_addrx145	.byte	18                              # DW_AT_high_pc146	.byte	6                               # DW_FORM_data4147	.byte	115                             # DW_AT_addr_base148	.byte	23                              # DW_FORM_sec_offset149	.ascii	"\214\001"                      # DW_AT_loclists_base150	.byte	23                              # DW_FORM_sec_offset151	.byte	0                               # EOM(1)152	.byte	0                               # EOM(2)153	.byte	2                               # Abbreviation Code154	.byte	52                              # DW_TAG_variable155	.byte	0                               # DW_CHILDREN_no156	.byte	3                               # DW_AT_name157	.byte	37                              # DW_FORM_strx1158	.byte	73                              # DW_AT_type159	.byte	19                              # DW_FORM_ref4160	.byte	63                              # DW_AT_external161	.byte	25                              # DW_FORM_flag_present162	.byte	58                              # DW_AT_decl_file163	.byte	11                              # DW_FORM_data1164	.byte	59                              # DW_AT_decl_line165	.byte	11                              # DW_FORM_data1166	.byte	2                               # DW_AT_location167	.byte	24                              # DW_FORM_exprloc168	.byte	0                               # EOM(1)169	.byte	0                               # EOM(2)170	.byte	3                               # Abbreviation Code171	.byte	36                              # DW_TAG_base_type172	.byte	0                               # DW_CHILDREN_no173	.byte	3                               # DW_AT_name174	.byte	37                              # DW_FORM_strx1175	.byte	62                              # DW_AT_encoding176	.byte	11                              # DW_FORM_data1177	.byte	11                              # DW_AT_byte_size178	.byte	11                              # DW_FORM_data1179	.byte	0                               # EOM(1)180	.byte	0                               # EOM(2)181	.byte	4                               # Abbreviation Code182	.byte	46                              # DW_TAG_subprogram183	.byte	1                               # DW_CHILDREN_yes184	.byte	17                              # DW_AT_low_pc185	.byte	27                              # DW_FORM_addrx186	.byte	18                              # DW_AT_high_pc187	.byte	6                               # DW_FORM_data4188	.byte	64                              # DW_AT_frame_base189	.byte	24                              # DW_FORM_exprloc190	.byte	122                             # DW_AT_call_all_calls191	.byte	25                              # DW_FORM_flag_present192	.byte	3                               # DW_AT_name193	.byte	37                              # DW_FORM_strx1194	.byte	58                              # DW_AT_decl_file195	.byte	11                              # DW_FORM_data1196	.byte	59                              # DW_AT_decl_line197	.byte	11                              # DW_FORM_data1198	.byte	73                              # DW_AT_type199	.byte	19                              # DW_FORM_ref4200	.byte	63                              # DW_AT_external201	.byte	25                              # DW_FORM_flag_present202	.byte	0                               # EOM(1)203	.byte	0                               # EOM(2)204	.byte	5                               # Abbreviation Code205	.byte	5                               # DW_TAG_formal_parameter206	.byte	0                               # DW_CHILDREN_no207	.byte	2                               # DW_AT_location208	.byte	34                              # DW_FORM_loclistx209	.byte	3                               # DW_AT_name210	.byte	37                              # DW_FORM_strx1211	.byte	58                              # DW_AT_decl_file212	.byte	11                              # DW_FORM_data1213	.byte	59                              # DW_AT_decl_line214	.byte	11                              # DW_FORM_data1215	.byte	73                              # DW_AT_type216	.byte	19                              # DW_FORM_ref4217	.byte	0                               # EOM(1)218	.byte	0                               # EOM(2)219	.byte	6                               # Abbreviation Code220	.byte	72                              # DW_TAG_call_site221	.byte	1                               # DW_CHILDREN_yes222	.byte	127                             # DW_AT_call_origin223	.byte	19                              # DW_FORM_ref4224	.ascii	"\202\001"                      # DW_AT_call_tail_call225	.byte	25                              # DW_FORM_flag_present226	.ascii	"\201\001"                      # DW_AT_call_pc227	.byte	27                              # DW_FORM_addrx228	.byte	0                               # EOM(1)229	.byte	0                               # EOM(2)230	.byte	7                               # Abbreviation Code231	.byte	73                              # DW_TAG_call_site_parameter232	.byte	0                               # DW_CHILDREN_no233	.byte	2                               # DW_AT_location234	.byte	24                              # DW_FORM_exprloc235	.byte	126                             # DW_AT_call_value236	.byte	24                              # DW_FORM_exprloc237	.byte	0                               # EOM(1)238	.byte	0                               # EOM(2)239	.byte	8                               # Abbreviation Code240	.byte	46                              # DW_TAG_subprogram241	.byte	1                               # DW_CHILDREN_yes242	.byte	110                             # DW_AT_linkage_name243	.byte	37                              # DW_FORM_strx1244	.byte	3                               # DW_AT_name245	.byte	37                              # DW_FORM_strx1246	.byte	58                              # DW_AT_decl_file247	.byte	11                              # DW_FORM_data1248	.byte	59                              # DW_AT_decl_line249	.byte	11                              # DW_FORM_data1250	.byte	73                              # DW_AT_type251	.byte	19                              # DW_FORM_ref4252	.byte	60                              # DW_AT_declaration253	.byte	25                              # DW_FORM_flag_present254	.byte	63                              # DW_AT_external255	.byte	25                              # DW_FORM_flag_present256	.byte	0                               # EOM(1)257	.byte	0                               # EOM(2)258	.byte	9                               # Abbreviation Code259	.byte	5                               # DW_TAG_formal_parameter260	.byte	0                               # DW_CHILDREN_no261	.byte	73                              # DW_AT_type262	.byte	19                              # DW_FORM_ref4263	.byte	0                               # EOM(1)264	.byte	0                               # EOM(2)265	.byte	10                              # Abbreviation Code266	.byte	15                              # DW_TAG_pointer_type267	.byte	0                               # DW_CHILDREN_no268	.byte	73                              # DW_AT_type269	.byte	19                              # DW_FORM_ref4270	.byte	0                               # EOM(1)271	.byte	0                               # EOM(2)272	.byte	0                               # EOM(3)273	.section	.debug_info,"",@progbits274.Lcu_begin0:275	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit276.Ldebug_info_start0:277	.short	5                               # DWARF version number278	.byte	1                               # DWARF Unit Type279	.byte	8                               # Address Size (in bytes)280	.long	.debug_abbrev                   # Offset Into Abbrev. Section281	.byte	1                               # Abbrev [1] 0xc:0x8b DW_TAG_compile_unit282	.byte	0                               # DW_AT_producer283	.short	33                              # DW_AT_language284	.byte	1                               # DW_AT_name285	.long	.Lstr_offsets_base0             # DW_AT_str_offsets_base286	.long	.Lline_table_start0             # DW_AT_stmt_list287	.byte	2                               # DW_AT_comp_dir288	.byte	2                               # DW_AT_low_pc289	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc290	.long	.Laddr_table_base0              # DW_AT_addr_base291	.long	.Lloclists_table_base0          # DW_AT_loclists_base292	.byte	2                               # Abbrev [2] 0x27:0xb DW_TAG_variable293	.byte	3                               # DW_AT_name294	.long	50                              # DW_AT_type295                                        # DW_AT_external296	.byte	0                               # DW_AT_decl_file297	.byte	3                               # DW_AT_decl_line298	.byte	2                               # DW_AT_location299	.byte	161300	.byte	0301	.byte	3                               # Abbrev [3] 0x32:0x4 DW_TAG_base_type302	.byte	4                               # DW_AT_name303	.byte	5                               # DW_AT_encoding304	.byte	4                               # DW_AT_byte_size305	.byte	2                               # Abbrev [2] 0x36:0xb DW_TAG_variable306	.byte	5                               # DW_AT_name307	.long	50                              # DW_AT_type308                                        # DW_AT_external309	.byte	0                               # DW_AT_decl_file310	.byte	4                               # DW_AT_decl_line311	.byte	2                               # DW_AT_location312	.byte	161313	.byte	1314	.byte	4                               # Abbrev [4] 0x41:0x33 DW_TAG_subprogram315	.byte	2                               # DW_AT_low_pc316	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc317	.byte	1                               # DW_AT_frame_base318	.byte	87319                                        # DW_AT_call_all_calls320	.byte	8                               # DW_AT_name321	.byte	0                               # DW_AT_decl_file322	.byte	5                               # DW_AT_decl_line323	.long	50                              # DW_AT_type324                                        # DW_AT_external325	.byte	5                               # Abbrev [5] 0x50:0x9 DW_TAG_formal_parameter326	.byte	0                               # DW_AT_location327	.byte	9                               # DW_AT_name328	.byte	0                               # DW_AT_decl_file329	.byte	5                               # DW_AT_decl_line330	.long	50                              # DW_AT_type331	.byte	5                               # Abbrev [5] 0x59:0x9 DW_TAG_formal_parameter332	.byte	1                               # DW_AT_location333	.byte	10                              # DW_AT_name334	.byte	0                               # DW_AT_decl_file335	.byte	5                               # DW_AT_decl_line336	.long	136                             # DW_AT_type337	.byte	6                               # Abbrev [6] 0x62:0x11 DW_TAG_call_site338	.long	116                             # DW_AT_call_origin339                                        # DW_AT_call_tail_call340	.byte	3                               # DW_AT_call_pc341	.byte	7                               # Abbrev [7] 0x68:0x5 DW_TAG_call_site_parameter342	.byte	1                               # DW_AT_location343	.byte	84344	.byte	1                               # DW_AT_call_value345	.byte	56346	.byte	7                               # Abbrev [7] 0x6d:0x5 DW_TAG_call_site_parameter347	.byte	1                               # DW_AT_location348	.byte	85349	.byte	1                               # DW_AT_call_value350	.byte	53351	.byte	0                               # End Of Children Mark352	.byte	0                               # End Of Children Mark353	.byte	8                               # Abbrev [8] 0x74:0x14 DW_TAG_subprogram354	.byte	6                               # DW_AT_linkage_name355	.byte	7                               # DW_AT_name356	.byte	0                               # DW_AT_decl_file357	.byte	2                               # DW_AT_decl_line358	.long	50                              # DW_AT_type359                                        # DW_AT_declaration360                                        # DW_AT_external361	.byte	9                               # Abbrev [9] 0x7d:0x5 DW_TAG_formal_parameter362	.long	50                              # DW_AT_type363	.byte	9                               # Abbrev [9] 0x82:0x5 DW_TAG_formal_parameter364	.long	50                              # DW_AT_type365	.byte	0                               # End Of Children Mark366	.byte	10                              # Abbrev [10] 0x88:0x5 DW_TAG_pointer_type367	.long	141                             # DW_AT_type368	.byte	10                              # Abbrev [10] 0x8d:0x5 DW_TAG_pointer_type369	.long	146                             # DW_AT_type370	.byte	3                               # Abbrev [3] 0x92:0x4 DW_TAG_base_type371	.byte	11                              # DW_AT_name372	.byte	6                               # DW_AT_encoding373	.byte	1                               # DW_AT_byte_size374	.byte	0                               # End Of Children Mark375.Ldebug_info_end0:376	.section	.debug_str_offsets,"",@progbits377	.long	52                              # Length of String Offsets Set378	.short	5379	.short	0380.Lstr_offsets_base0:381	.section	.debug_str,"MS",@progbits,1382.Linfo_string0:383	.asciz	"clang version 15.0.0" # string offset=0384.Linfo_string1:385	.asciz	"main.cpp"                      # string offset=134386.Linfo_string2:387	.asciz	"." # string offset=143388.Linfo_string3:389	.asciz	"x"                             # string offset=189390.Linfo_string4:391	.asciz	"int"                           # string offset=191392.Linfo_string5:393	.asciz	"y"                             # string offset=195394.Linfo_string6:395	.asciz	"_Z6helperii"                   # string offset=197396.Linfo_string7:397	.asciz	"helper"                        # string offset=209398.Linfo_string8:399	.asciz	"main"                          # string offset=216400.Linfo_string9:401	.asciz	"argc"                          # string offset=221402.Linfo_string10:403	.asciz	"argv"                          # string offset=226404.Linfo_string11:405	.asciz	"char"                          # string offset=231406	.section	.debug_str_offsets,"",@progbits407	.long	.Linfo_string0408	.long	.Linfo_string1409	.long	.Linfo_string2410	.long	.Linfo_string3411	.long	.Linfo_string4412	.long	.Linfo_string5413	.long	.Linfo_string6414	.long	.Linfo_string7415	.long	.Linfo_string8416	.long	.Linfo_string9417	.long	.Linfo_string10418	.long	.Linfo_string11419	.section	.debug_addr,"",@progbits420	.long	.Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution421.Ldebug_addr_start0:422	.short	5                               # DWARF version number423	.byte	8                               # Address size424	.byte	0                               # Segment selector size425.Laddr_table_base0:426	.quad	x427	.quad	y428	.quad	.Lfunc_begin0429	.quad	.Ltmp3430.Ldebug_addr_end0:431	.ident	"clang version 15.0.0"432	.section	".note.GNU-stack","",@progbits433	.addrsig434	.section	.debug_line,"",@progbits435.Lline_table_start0:436