54 lines · yaml
1# RUN: llvm-mc %s -filetype obj -triple x86_64-unknown-linux-gnu -o %t.out2# RUN: llvm-dwarfdump --verbose -verify %t.out | FileCheck %s3 4# CHECK: Verifying .debug_line...5 6 .text7 .file "dwarf5.c"8 .globl main # -- Begin function main9 .p2align 4, 0x9010 .type main,@function11main: # @main12.Lfunc_begin0:13 .file 0 "/tmp" "dwarf5.c" md5 0xa6f6c381b31c93c579beac58181f5d0114 .loc 0 1 0 # dwarf5.c: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 movl $0, -4(%rbp)23 movl %edi, -8(%rbp)24 movq %rsi, -16(%rbp)25.Ltmp0:26 .loc 0 2 3 prologue_end # dwarf5.c:2:327 xorl %eax, %eax28 .loc 0 2 3 epilogue_begin is_stmt 0 # dwarf5.c:2:329 popq %rbp30 .cfi_def_cfa %rsp, 831 retq32.Ltmp1:33.Lfunc_end0:34 .size main, .Lfunc_end0-main35 .cfi_endproc36 # -- End function37.Linfo_string0:38 .asciz "clang version 17.0.0" # string offset=039.Linfo_string1:40 .asciz "dwarf5.c" # string offset=10141.Linfo_string2:42 .asciz "/tmp" # string offset=11043 .section .debug_str_offsets,"",@progbits44 .long .Lstr_off_end - .Lstr_off_begin # Length of String Offsets Set45.Lstr_off_begin:46 .short 547 .short 048 .long .Linfo_string049 .long .Linfo_string150 .long .Linfo_string251.Lstr_off_end:52 .ident "clang version 17.0.0"53.Lline_table_start0:54