brintos

brintos / llvm-project-archived public Read only

0
0
Text · 18.6 KiB · 3dbd945 Raw
404 lines · plain
1# Assembly generated from convert-linked.ll2	.text3	.file	"main.ll"4	.globl	foo                             # -- Begin function foo5	.p2align	4, 0x906	.type	foo,@function7foo:                                    # @foo8.Lfunc_begin0:9	.file	1 "/tmp" "dbg-foo.c" md5 0xb35f80a032deb2a30bc187d564b5a77510	.loc	1 8 0                           # dbg-foo.c:8:011	.cfi_startproc12# %bb.0:                                # %entry13	movb	%dil, %al14.Ltmp0:15	#DEBUG_VALUE: foo:x <- $al16	#DEBUG_VALUE: foo:y <- [DW_OP_lit0, DW_OP_plus, DW_OP_LLVM_convert 8 5, DW_OP_LLVM_convert 32 5, DW_OP_stack_value] 3217	.loc	1 10 3 prologue_end             # dbg-foo.c:10:318	movsbl	%al, %eax19.Ltmp1:20	retq21.Ltmp2:22.Lfunc_end0:23	.size	foo, .Lfunc_end0-foo24	.cfi_endproc25                                        # -- End function26	.globl	bar                             # -- Begin function bar27	.p2align	4, 0x9028	.type	bar,@function29bar:                                    # @bar30.Lfunc_begin1:31	.file	2 "/tmp" "dbg-bar.c" md5 0x9836bb594260d883960455e7d8bc51ea32	.loc	2 2 0                           # dbg-bar.c:2:033	.cfi_startproc34# %bb.0:                                # %entry35	movb	%dil, %al36.Ltmp3:37	#DEBUG_VALUE: bar:x <- $al38	#DEBUG_VALUE: bar:z <- [DW_OP_lit0, DW_OP_plus, DW_OP_LLVM_convert 8 5, DW_OP_LLVM_convert 16 5, DW_OP_stack_value] 3239	.loc	2 4 3 prologue_end              # dbg-bar.c:4:340	movsbl	%al, %eax41.Ltmp4:42	retq43.Ltmp5:44.Lfunc_end1:45	.size	bar, .Lfunc_end1-bar46	.cfi_endproc47                                        # -- End function48	.section	.debug_loclists,"",@progbits49	.long	.Ldebug_list_header_end0-.Ldebug_list_header_start0 # Length50.Ldebug_list_header_start0:51	.short	5                               # Version52	.byte	8                               # Address size53	.byte	0                               # Segment selector size54	.long	2                               # Offset entry count55.Lloclists_table_base0:56	.long	.Ldebug_loc0-.Lloclists_table_base057	.long	.Ldebug_loc1-.Lloclists_table_base058.Ldebug_loc0:59	.byte	4                               # DW_LLE_offset_pair60	.uleb128 .Ltmp0-.Lfunc_begin0           #   starting offset61	.uleb128 .Ltmp1-.Lfunc_begin0           #   ending offset62	.byte	1                               # Loc expr size63	.byte	80                              # super-register DW_OP_reg064	.byte	0                               # DW_LLE_end_of_list65.Ldebug_loc1:66	.byte	4                               # DW_LLE_offset_pair67	.uleb128 .Ltmp3-.Lfunc_begin1           #   starting offset68	.uleb128 .Ltmp4-.Lfunc_begin1           #   ending offset69	.byte	1                               # Loc expr size70	.byte	80                              # super-register DW_OP_reg071	.byte	0                               # DW_LLE_end_of_list72.Ldebug_list_header_end0:73	.section	.debug_abbrev,"",@progbits74	.byte	1                               # Abbreviation Code75	.byte	17                              # DW_TAG_compile_unit76	.byte	1                               # DW_CHILDREN_yes77	.byte	37                              # DW_AT_producer78	.byte	37                              # DW_FORM_strx179	.byte	19                              # DW_AT_language80	.byte	5                               # DW_FORM_data281	.byte	3                               # DW_AT_name82	.byte	37                              # DW_FORM_strx183	.byte	114                             # DW_AT_str_offsets_base84	.byte	23                              # DW_FORM_sec_offset85	.byte	16                              # DW_AT_stmt_list86	.byte	23                              # DW_FORM_sec_offset87	.byte	27                              # DW_AT_comp_dir88	.byte	37                              # DW_FORM_strx189	.byte	17                              # DW_AT_low_pc90	.byte	27                              # DW_FORM_addrx91	.byte	18                              # DW_AT_high_pc92	.byte	6                               # DW_FORM_data493	.byte	115                             # DW_AT_addr_base94	.byte	23                              # DW_FORM_sec_offset95	.ascii	"\214\001"                      # DW_AT_loclists_base96	.byte	23                              # DW_FORM_sec_offset97	.byte	0                               # EOM(1)98	.byte	0                               # EOM(2)99	.byte	2                               # 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	3                               # Abbreviation Code111	.byte	46                              # DW_TAG_subprogram112	.byte	1                               # DW_CHILDREN_yes113	.byte	17                              # DW_AT_low_pc114	.byte	27                              # DW_FORM_addrx115	.byte	18                              # DW_AT_high_pc116	.byte	6                               # DW_FORM_data4117	.byte	64                              # DW_AT_frame_base118	.byte	24                              # DW_FORM_exprloc119	.byte	3                               # DW_AT_name120	.byte	37                              # DW_FORM_strx1121	.byte	58                              # DW_AT_decl_file122	.byte	11                              # DW_FORM_data1123	.byte	59                              # DW_AT_decl_line124	.byte	11                              # DW_FORM_data1125	.byte	39                              # DW_AT_prototyped126	.byte	25                              # DW_FORM_flag_present127	.byte	73                              # DW_AT_type128	.byte	19                              # DW_FORM_ref4129	.byte	63                              # DW_AT_external130	.byte	25                              # DW_FORM_flag_present131	.byte	0                               # EOM(1)132	.byte	0                               # EOM(2)133	.byte	4                               # Abbreviation Code134	.byte	5                               # DW_TAG_formal_parameter135	.byte	0                               # DW_CHILDREN_no136	.byte	2                               # DW_AT_location137	.byte	34                              # DW_FORM_loclistx138	.byte	3                               # DW_AT_name139	.byte	37                              # DW_FORM_strx1140	.byte	58                              # DW_AT_decl_file141	.byte	11                              # DW_FORM_data1142	.byte	59                              # DW_AT_decl_line143	.byte	11                              # DW_FORM_data1144	.byte	73                              # DW_AT_type145	.byte	19                              # DW_FORM_ref4146	.byte	0                               # EOM(1)147	.byte	0                               # EOM(2)148	.byte	5                               # Abbreviation Code149	.byte	52                              # DW_TAG_variable150	.byte	0                               # DW_CHILDREN_no151	.byte	2                               # DW_AT_location152	.byte	24                              # DW_FORM_exprloc153	.byte	3                               # DW_AT_name154	.byte	37                              # DW_FORM_strx1155	.byte	58                              # DW_AT_decl_file156	.byte	11                              # DW_FORM_data1157	.byte	59                              # DW_AT_decl_line158	.byte	11                              # DW_FORM_data1159	.byte	73                              # DW_AT_type160	.byte	19                              # DW_FORM_ref4161	.byte	0                               # EOM(1)162	.byte	0                               # EOM(2)163	.byte	6                               # Abbreviation Code164	.byte	46                              # DW_TAG_subprogram165	.byte	1                               # DW_CHILDREN_yes166	.byte	17                              # DW_AT_low_pc167	.byte	27                              # DW_FORM_addrx168	.byte	18                              # DW_AT_high_pc169	.byte	6                               # DW_FORM_data4170	.byte	64                              # DW_AT_frame_base171	.byte	24                              # DW_FORM_exprloc172	.byte	3                               # DW_AT_name173	.byte	37                              # DW_FORM_strx1174	.byte	58                              # DW_AT_decl_file175	.byte	11                              # DW_FORM_data1176	.byte	59                              # DW_AT_decl_line177	.byte	11                              # DW_FORM_data1178	.byte	39                              # DW_AT_prototyped179	.byte	25                              # DW_FORM_flag_present180	.byte	73                              # DW_AT_type181	.byte	16                              # DW_FORM_ref_addr182	.byte	63                              # DW_AT_external183	.byte	25                              # DW_FORM_flag_present184	.byte	0                               # EOM(1)185	.byte	0                               # EOM(2)186	.byte	7                               # Abbreviation Code187	.byte	5                               # DW_TAG_formal_parameter188	.byte	0                               # DW_CHILDREN_no189	.byte	2                               # DW_AT_location190	.byte	34                              # DW_FORM_loclistx191	.byte	3                               # DW_AT_name192	.byte	37                              # DW_FORM_strx1193	.byte	58                              # DW_AT_decl_file194	.byte	11                              # DW_FORM_data1195	.byte	59                              # DW_AT_decl_line196	.byte	11                              # DW_FORM_data1197	.byte	73                              # DW_AT_type198	.byte	16                              # DW_FORM_ref_addr199	.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	5                               # DWARF version number207	.byte	1                               # DWARF Unit Type208	.byte	8                               # Address Size (in bytes)209	.long	.debug_abbrev                   # Offset Into Abbrev. Section210	.byte	1                               # Abbrev [1] 0xc:0x5d DW_TAG_compile_unit211	.byte	0                               # DW_AT_producer212	.short	12                              # DW_AT_language213	.byte	1                               # DW_AT_name214	.long	.Lstr_offsets_base0             # DW_AT_str_offsets_base215	.long	.Lline_table_start0             # DW_AT_stmt_list216	.byte	2                               # DW_AT_comp_dir217	.byte	0                               # DW_AT_low_pc218	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc219	.long	.Laddr_table_base0              # DW_AT_addr_base220	.long	.Lloclists_table_base0          # DW_AT_loclists_base221	.byte	2                               # Abbrev [2] 0x27:0x4 DW_TAG_base_type222	.byte	5                               # DW_AT_name223	.byte	5                               # DW_AT_encoding224	.byte	1                               # DW_AT_byte_size225	.byte	2                               # Abbrev [2] 0x2b:0x4 DW_TAG_base_type226	.byte	4                               # DW_AT_name227	.byte	5                               # DW_AT_encoding228	.byte	4                               # DW_AT_byte_size229	.byte	3                               # Abbrev [3] 0x2f:0x31 DW_TAG_subprogram230	.byte	0                               # DW_AT_low_pc231	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc232	.byte	1                               # DW_AT_frame_base233	.byte	87234	.byte	7                               # DW_AT_name235	.byte	1                               # DW_AT_decl_file236	.byte	7                               # DW_AT_decl_line237                                        # DW_AT_prototyped238	.long	96                              # DW_AT_type239                                        # DW_AT_external240	.byte	4                               # Abbrev [4] 0x3e:0x9 DW_TAG_formal_parameter241	.byte	0                               # DW_AT_location242	.byte	10                              # DW_AT_name243	.byte	1                               # DW_AT_decl_file244	.byte	7                               # DW_AT_decl_line245	.long	96                              # DW_AT_type246	.byte	5                               # Abbrev [5] 0x47:0x18 DW_TAG_variable247	.byte	15                              # DW_AT_location248	.byte	16249	.byte	32250	.byte	48251	.byte	34252	.byte	168253	.asciz	"\247\200\200"254	.byte	168255	.asciz	"\253\200\200"256	.byte	159257	.byte	11                              # DW_AT_name258	.byte	1                               # DW_AT_decl_file259	.byte	9                               # DW_AT_decl_line260	.long	100                             # DW_AT_type261	.byte	0                               # End Of Children Mark262	.byte	2                               # Abbrev [2] 0x60:0x4 DW_TAG_base_type263	.byte	8                               # DW_AT_name264	.byte	6                               # DW_AT_encoding265	.byte	1                               # DW_AT_byte_size266	.byte	2                               # Abbrev [2] 0x64:0x4 DW_TAG_base_type267	.byte	12                              # DW_AT_name268	.byte	5                               # DW_AT_encoding269	.byte	4                               # DW_AT_byte_size270	.byte	0                               # End Of Children Mark271.Ldebug_info_end0:272.Lcu_begin1:273	.long	.Ldebug_info_end1-.Ldebug_info_start1 # Length of Unit274.Ldebug_info_start1:275	.short	5                               # DWARF version number276	.byte	1                               # DWARF Unit Type277	.byte	8                               # Address Size (in bytes)278	.long	.debug_abbrev                   # Offset Into Abbrev. Section279	.byte	1                               # Abbrev [1] 0xc:0x59 DW_TAG_compile_unit280	.byte	0                               # DW_AT_producer281	.short	12                              # DW_AT_language282	.byte	3                               # DW_AT_name283	.long	.Lstr_offsets_base0             # DW_AT_str_offsets_base284	.long	.Lline_table_start0             # DW_AT_stmt_list285	.byte	2                               # DW_AT_comp_dir286	.byte	1                               # DW_AT_low_pc287	.long	.Lfunc_end1-.Lfunc_begin1       # DW_AT_high_pc288	.long	.Laddr_table_base0              # DW_AT_addr_base289	.long	.Lloclists_table_base0          # DW_AT_loclists_base290	.byte	2                               # Abbrev [2] 0x27:0x4 DW_TAG_base_type291	.byte	5                               # DW_AT_name292	.byte	5                               # DW_AT_encoding293	.byte	1                               # DW_AT_byte_size294	.byte	2                               # Abbrev [2] 0x2b:0x4 DW_TAG_base_type295	.byte	6                               # DW_AT_name296	.byte	5                               # DW_AT_encoding297	.byte	2                               # DW_AT_byte_size298	.byte	6                               # Abbrev [6] 0x2f:0x31 DW_TAG_subprogram299	.byte	1                               # DW_AT_low_pc300	.long	.Lfunc_end1-.Lfunc_begin1       # DW_AT_high_pc301	.byte	1                               # DW_AT_frame_base302	.byte	87303	.byte	9                               # DW_AT_name304	.byte	2                               # DW_AT_decl_file305	.byte	1                               # DW_AT_decl_line306                                        # DW_AT_prototyped307	.long	.debug_info+96                  # DW_AT_type308                                        # DW_AT_external309	.byte	7                               # Abbrev [7] 0x3e:0x9 DW_TAG_formal_parameter310	.byte	1                               # DW_AT_location311	.byte	10                              # DW_AT_name312	.byte	2                               # DW_AT_decl_file313	.byte	1                               # DW_AT_decl_line314	.long	.debug_info+96                  # DW_AT_type315	.byte	5                               # Abbrev [5] 0x47:0x18 DW_TAG_variable316	.byte	15                              # DW_AT_location317	.byte	16318	.byte	32319	.byte	48320	.byte	34321	.byte	168322	.asciz	"\247\200\200"323	.byte	168324	.asciz	"\253\200\200"325	.byte	159326	.byte	13                              # DW_AT_name327	.byte	2                               # DW_AT_decl_file328	.byte	3                               # DW_AT_decl_line329	.long	96                              # DW_AT_type330	.byte	0                               # End Of Children Mark331	.byte	2                               # Abbrev [2] 0x60:0x4 DW_TAG_base_type332	.byte	14                              # DW_AT_name333	.byte	5                               # DW_AT_encoding334	.byte	2                               # DW_AT_byte_size335	.byte	0                               # End Of Children Mark336.Ldebug_info_end1:337	.section	.debug_str_offsets,"",@progbits338	.long	64                              # Length of String Offsets Set339	.short	5340	.short	0341.Lstr_offsets_base0:342	.section	.debug_str,"MS",@progbits,1343.Linfo_string0:344	.asciz	"clang version 9.0.0 "          # string offset=0345.Linfo_string1:346	.asciz	"dbg-foo.c"                     # string offset=21347.Linfo_string2:348	.asciz	"/tmp"                          # string offset=31349.Linfo_string3:350	.asciz	"dbg-bar.c"                     # string offset=36351.Linfo_string4:352	.asciz	"DW_ATE_signed_32"              # string offset=46353.Linfo_string5:354	.asciz	"DW_ATE_signed_8"               # string offset=63355.Linfo_string6:356	.asciz	"DW_ATE_signed_16"              # string offset=79357.Linfo_string7:358	.asciz	"foo"                           # string offset=96359.Linfo_string8:360	.asciz	"signed char"                   # string offset=100361.Linfo_string9:362	.asciz	"bar"                           # string offset=112363.Linfo_string10:364	.asciz	"x"                             # string offset=116365.Linfo_string11:366	.asciz	"y"                             # string offset=118367.Linfo_string12:368	.asciz	"int"                           # string offset=120369.Linfo_string13:370	.asciz	"z"                             # string offset=124371.Linfo_string14:372	.asciz	"short"                         # string offset=126373	.section	.debug_str_offsets,"",@progbits374	.long	.Linfo_string0375	.long	.Linfo_string1376	.long	.Linfo_string2377	.long	.Linfo_string3378	.long	.Linfo_string4379	.long	.Linfo_string5380	.long	.Linfo_string6381	.long	.Linfo_string7382	.long	.Linfo_string8383	.long	.Linfo_string9384	.long	.Linfo_string10385	.long	.Linfo_string11386	.long	.Linfo_string12387	.long	.Linfo_string13388	.long	.Linfo_string14389	.section	.debug_addr,"",@progbits390	.long	.Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution391.Ldebug_addr_start0:392	.short	5                               # DWARF version number393	.byte	8                               # Address size394	.byte	0                               # Segment selector size395.Laddr_table_base0:396	.quad	.Lfunc_begin0397	.quad	.Lfunc_begin1398.Ldebug_addr_end0:399	.ident	"clang version 9.0.0 "400	.ident	"clang version 9.0.0 "401	.section	".note.GNU-stack","",@progbits402	.section	.debug_line,"",@progbits403.Lline_table_start0:404