brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.5 KiB · a911835 Raw
86 lines · plain
1# Test handling of DWARF5 file index 0.2 3# RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s4# RUN: %lldb %t -o "image lookup -f hello.c -l 1" \5# RUN:   -o exit | FileCheck %s6 7# CHECK: 2 matches found in hello.c:18	.text9.Lfunc_begin0:10	.file	0 "." "hello.c"11	.loc	0 1 0                           # hello.c:1:012		nop13	.loc	0 1 13 prologue_end             # hello.c:1:1314		nop15.Lfunc_end0:16	.section	.debug_abbrev,"",@progbits17	.byte	1                               # Abbreviation Code18	.byte	17                              # DW_TAG_compile_unit19	.byte	0                               # DW_CHILDREN_no20	.byte	37                              # DW_AT_producer21	.byte	37                              # DW_FORM_strx122	.byte	19                              # DW_AT_language23	.byte	5                               # DW_FORM_data224	.byte	3                               # DW_AT_name25	.byte	37                              # DW_FORM_strx126	.byte	114                             # DW_AT_str_offsets_base27	.byte	23                              # DW_FORM_sec_offset28	.byte	16                              # DW_AT_stmt_list29	.byte	23                              # DW_FORM_sec_offset30	.byte	27                              # DW_AT_comp_dir31	.byte	37                              # DW_FORM_strx132	.byte	17                              # DW_AT_low_pc33	.byte	27                              # DW_FORM_addrx34	.byte	18                              # DW_AT_high_pc35	.byte	6                               # DW_FORM_data436	.byte	115                             # DW_AT_addr_base37	.byte	23                              # DW_FORM_sec_offset38	.byte	0                               # EOM(1)39	.byte	0                               # EOM(2)40	.byte	0                               # EOM(3)41	.section	.debug_info,"",@progbits42.Lcu_begin0:43	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit44.Ldebug_info_start0:45	.short	5                               # DWARF version number46	.byte	1                               # DWARF Unit Type47	.byte	8                               # Address Size (in bytes)48	.long	.debug_abbrev                   # Offset Into Abbrev. Section49	.byte	1                               # Abbrev [1] 0xc:0x2b DW_TAG_compile_unit50	.byte	0                               # DW_AT_producer51	.short	12                              # DW_AT_language52	.byte	1                               # DW_AT_name53	.long	.Lstr_offsets_base0             # DW_AT_str_offsets_base54	.long	.Lline_table_start0             # DW_AT_stmt_list55	.byte	2                               # DW_AT_comp_dir56	.byte	0                               # DW_AT_low_pc57	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc58	.long	.Laddr_table_base0              # DW_AT_addr_base59.Ldebug_info_end0:60	.section	.debug_str_offsets,"",@progbits61	.long	12                              # Length of String Offsets Set62	.short	563	.short	064.Lstr_offsets_base0:65	.section	.debug_str,"MS",@progbits,166.Linfo_string0:67	.asciz	"" # string offset=068.Linfo_string1:69	.asciz	"hello.c"                       # string offset=10170.Linfo_string2:71	.asciz	"."                             # string offset=10972	.section	.debug_str_offsets,"",@progbits73	.long	.Linfo_string074	.long	.Linfo_string175	.long	.Linfo_string276	.section	.debug_addr,"",@progbits77.Ldebug_addr_start0:78	.short	5                               # DWARF version number79	.byte	8                               # Address size80	.byte	0                               # Segment selector size81.Laddr_table_base0:82	.quad	.Lfunc_begin083.Ldebug_addr_end0:84	.section	.debug_line,"",@progbits85.Lline_table_start0:86