brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.7 KiB · 98b4fca Raw
102 lines · plain
1# RUN: llvm-mc --dwarf-version=5 < %s -filetype obj -triple x86_64-pc-linux -o - | \ 2# RUN:   llvm-dwarfdump - | FileCheck %s3 4# CHECK: DW_AT_low_pc (DW_OP_const4u 0x0)5 6	.text7	.file	"test.cpp"8	.globl	_Z2f1v                  # -- Begin function _Z2f1v9	.p2align	4, 0x9010	.type	_Z2f1v,@function11_Z2f1v:                                 # @_Z2f1v12.Lfunc_begin0:13	.file	0 "/usr/local/google/home/blaikie/dev/scratch" "test.cpp" md5 0x74f7c574cd1ba04403967d02e757afeb14	.loc	0 1 0                   # test.cpp:1:015	.cfi_startproc16# %bb.0:                                # %entry17	pushq	%rbp18	.cfi_def_cfa_offset 1619	.cfi_offset %rbp, -1620	movq	%rsp, %rbp21	.cfi_def_cfa_register %rbp22.Ltmp0:23	.loc	0 2 1 prologue_end      # test.cpp:2:124	popq	%rbp25	.cfi_def_cfa %rsp, 826	retq27.Ltmp1:28.Lfunc_end0:29	.size	_Z2f1v, .Lfunc_end0-_Z2f1v30	.cfi_endproc31                                        # -- End function32	.section	.debug_str_offsets,"",@progbits33	.long	2434	.short	535	.short	036.Lstr_offsets_base0:37	.section	.debug_str,"MS",@progbits,138.Linfo_string0:39	.asciz	"clang version 10.0.0 (git@github.com:llvm/llvm-project.git bf71564a526196f94cdde813063c8b1ff665fde7)" # string offset=040.Linfo_string1:41	.asciz	"test.cpp"              # string offset=10142.Linfo_string2:43	.asciz	"/usr/local/google/home/blaikie/dev/scratch" # string offset=11044.Linfo_string3:45	.asciz	"_Z2f1v"                # string offset=15346.Linfo_string4:47	.asciz	"f1"                    # string offset=16048	.section	.debug_str_offsets,"",@progbits49	.long	.Linfo_string050	.long	.Linfo_string151	.long	.Linfo_string252	.long	.Linfo_string353	.long	.Linfo_string454	.section	.debug_abbrev,"",@progbits55	.byte	1                       # Abbreviation Code56	.byte	17                      # DW_TAG_compile_unit57	.byte	0                       # DW_CHILDREN_no58	.byte	37                      # DW_AT_producer59	.byte	37                      # DW_FORM_strx160	.byte	19                      # DW_AT_language61	.byte	5                       # DW_FORM_data262	.byte	3                       # DW_AT_name63	.byte	37                      # DW_FORM_strx164	.byte	114                     # DW_AT_str_offsets_base65	.byte	23                      # DW_FORM_sec_offset66	.byte	16                      # DW_AT_stmt_list67	.byte	23                      # DW_FORM_sec_offset68	.byte	27                      # DW_AT_comp_dir69	.byte	37                      # DW_FORM_strx170	.byte	17                      # DW_AT_low_pc71	.byte	24                      # DW_FORM_exprloc72	.byte	18                      # DW_AT_high_pc73	.byte	6                       # DW_FORM_data474	.byte	0                       # EOM(1)75	.byte	0                       # EOM(2)76	.byte	0                       # EOM(3)77	.section	.debug_info,"",@progbits78.Lcu_begin0:79	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit80.Ldebug_info_start0:81	.short	5                       # DWARF version number82	.byte	1                       # DWARF Unit Type83	.byte	8                       # Address Size (in bytes)84	.long	.debug_abbrev           # Offset Into Abbrev. Section85	.byte	1                       # Abbrev [1] 0xc:0x38 DW_TAG_compile_unit86	.byte	0                       # DW_AT_producer87	.short	33                      # DW_AT_language88	.byte	1                       # DW_AT_name89	.long	.Lstr_offsets_base0     # DW_AT_str_offsets_base90	.long	.Lline_table_start0     # DW_AT_stmt_list91	.byte	2                       # DW_AT_comp_dir92	.byte	5                       # DW_AT_low_pc93	.byte	1294	.long	.Lfunc_begin095	.long	.Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc96.Ldebug_info_end0:97	.ident	"clang version 10.0.0 (git@github.com:llvm/llvm-project.git bf71564a526196f94cdde813063c8b1ff665fde7)"98	.section	".note.GNU-stack","",@progbits99	.addrsig100	.section	.debug_line,"",@progbits101.Lline_table_start0:102