brintos

brintos / llvm-project-archived public Read only

0
0
Text · 6.5 KiB · aa7ccb8 Raw
152 lines · plain
1// A hand-crafted object with AT_name fields for the function and the variable commented out.2 3// REQUIRES: aarch64-registered-target4 5// RUN: llvm-mc -filetype=obj -triple=aarch64-linux-android -o %t.o %s6// RUN: echo 'FRAME %t.o 0' | llvm-symbolizer | FileCheck %s7 8// CHECK:      ??9// CHECK-NEXT: ??10// CHECK-NEXT: {{.*}}dbg.cc:211// CHECK-NEXT: ?? ?? ??12 13	.text14	.file	"dbg.cc"15	.globl	func                    // -- Begin function func16	.p2align	217	.type	func,@function18func:                                   // @func19.Lfunc_begin0:20	.file	1 "/tmp" "dbg.cc"21	.loc	1 1 0                   // /tmp/dbg.cc:1:022	.cfi_sections .debug_frame23	.cfi_startproc24// %bb.0:                               // %entry25	.loc	1 3 1 prologue_end      // /tmp/dbg.cc:3:126	ret27.Ltmp0:28.Lfunc_end0:29	.size	func, .Lfunc_end0-func30	.cfi_endproc31                                        // -- End function32	.section	.debug_str,"MS",@progbits,133.Linfo_string0:34	.asciz	"clang version 10.0.0 (git@github.com:llvm/llvm-project.git 2102f157f2d1ca6e7e4432b91d75f04e5023172f)" // string offset=035.Linfo_string1:36	.asciz	"/tmp/dbg.cc"           // string offset=10137.Linfo_string2:38	.asciz	"/code/build-llvm-cmake" // string offset=11339.Linfo_string3:40	.asciz	"func"                  // string offset=13641.Linfo_string4:42	.asciz	"x"                     // string offset=14143.Linfo_string5:44	.asciz	"int"                   // string offset=14345	.section	.debug_abbrev,"",@progbits46	.byte	1                       // Abbreviation Code47	.byte	17                      // DW_TAG_compile_unit48	.byte	1                       // DW_CHILDREN_yes49	.byte	37                      // DW_AT_producer50	.byte	14                      // DW_FORM_strp51	.byte	19                      // DW_AT_language52	.byte	5                       // DW_FORM_data253	.byte	3                       // DW_AT_name54	.byte	14                      // DW_FORM_strp55	.byte	16                      // DW_AT_stmt_list56	.byte	23                      // DW_FORM_sec_offset57	.byte	27                      // DW_AT_comp_dir58	.byte	14                      // DW_FORM_strp59	.byte	17                      // DW_AT_low_pc60	.byte	1                       // DW_FORM_addr61	.byte	18                      // DW_AT_high_pc62	.byte	6                       // DW_FORM_data463	.byte	0                       // EOM(1)64	.byte	0                       // EOM(2)65	.byte	2                       // Abbreviation Code66	.byte	46                      // DW_TAG_subprogram67	.byte	1                       // DW_CHILDREN_yes68	.byte	17                      // DW_AT_low_pc69	.byte	1                       // DW_FORM_addr70	.byte	18                      // DW_AT_high_pc71	.byte	6                       // DW_FORM_data472	.byte	64                      // DW_AT_frame_base73	.byte	24                      // DW_FORM_exprloc74	.ascii	"\227B"                 // DW_AT_GNU_all_call_sites75	.byte	25                      // DW_FORM_flag_present76//	.byte	3                       // DW_AT_name77//	.byte	14                      // DW_FORM_strp78	.byte	58                      // DW_AT_decl_file79	.byte	11                      // DW_FORM_data180	.byte	59                      // DW_AT_decl_line81	.byte	11                      // DW_FORM_data182	.byte	63                      // DW_AT_external83	.byte	25                      // DW_FORM_flag_present84	.byte	0                       // EOM(1)85	.byte	0                       // EOM(2)86	.byte	3                       // Abbreviation Code87	.byte	52                      // DW_TAG_variable88	.byte	0                       // DW_CHILDREN_no89//	.byte	3                       // DW_AT_name90//	.byte	14                      // DW_FORM_strp91	.byte	58                      // DW_AT_decl_file92	.byte	11                      // DW_FORM_data193	.byte	59                      // DW_AT_decl_line94	.byte	11                      // DW_FORM_data195	.byte	73                      // DW_AT_type96	.byte	19                      // DW_FORM_ref497	.byte	0                       // EOM(1)98	.byte	0                       // EOM(2)99	.byte	4                       // Abbreviation Code100	.byte	36                      // DW_TAG_base_type101	.byte	0                       // DW_CHILDREN_no102	.byte	3                       // DW_AT_name103	.byte	14                      // DW_FORM_strp104	.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	0                       // EOM(3)111	.section	.debug_info,"",@progbits112.Lcu_begin0:113	.word	.Ldebug_info_end0-.Ldebug_info_start0 // Length of Unit114.Ldebug_info_start0:115	.hword	4                       // DWARF version number116	.word	.debug_abbrev           // Offset Into Abbrev. Section117	.byte	8                       // Address Size (in bytes)118	.byte	1                       // Abbrev [1] 0xb:0x48 DW_TAG_compile_unit119	.word	.Linfo_string0          // DW_AT_producer120	.hword	33                      // DW_AT_language121	.word	.Linfo_string1          // DW_AT_name122	.word	.Lline_table_start0     // DW_AT_stmt_list123	.word	.Linfo_string2          // DW_AT_comp_dir124	.xword	.Lfunc_begin0           // DW_AT_low_pc125	.word	.Lfunc_end0-.Lfunc_begin0 // DW_AT_high_pc126	.byte	2                       // Abbrev [2] 0x2a:0x21 DW_TAG_subprogram127	.xword	.Lfunc_begin0           // DW_AT_low_pc128	.word	.Lfunc_end0-.Lfunc_begin0 // DW_AT_high_pc129	.byte	1                       // DW_AT_frame_base130	.byte	111131                                        // DW_AT_GNU_all_call_sites132//	.word	.Linfo_string3          // DW_AT_name133	.byte	1                       // DW_AT_decl_file134	.byte	1                       // DW_AT_decl_line135                                        // DW_AT_external136	.byte	3                       // Abbrev [3] 0x3f:0xb DW_TAG_variable137//	.word	.Linfo_string4          // DW_AT_name138	.byte	1                       // DW_AT_decl_file139	.byte	2                       // DW_AT_decl_line140	.word	75                      // DW_AT_type141	.byte	0                       // End Of Children Mark142	.byte	4                       // Abbrev [4] 0x4b:0x7 DW_TAG_base_type143	.word	.Linfo_string5          // DW_AT_name144	.byte	5                       // DW_AT_encoding145	.byte	4                       // DW_AT_byte_size146	.byte	0                       // End Of Children Mark147.Ldebug_info_end0:148	.ident	"clang version 10.0.0 (git@github.com:llvm/llvm-project.git 2102f157f2d1ca6e7e4432b91d75f04e5023172f)"149	.section	".note.GNU-stack","",@progbits150	.section	.debug_line,"",@progbits151.Lline_table_start0:152