1 .file "dwarf2-test.c" 2 .text 3 .section .text.startup,"ax",@progbits 4 .p2align 4 5 .globl main 6 .type main, @function 7main: 8 .cfi_startproc 9 nop 10 ret 11 .cfi_endproc 12 .size main, .-main 13 .text 14 15 .section .debug_info,"",%progbits 16 .long 0x0 17 .value 0x2 18 .long .Ldebug_abbrev0 19 .byte 0x8 20 .uleb128 0x1 21 22 .section .debug_abbrev,"",@progbits 23.Ldebug_abbrev0: 24 .uleb128 0x0 # (abbrev code) 25 .uleb128 0x0 # (abbrev code) 26 .uleb128 0x0 # (abbrev code) 27 28# A non-empty .debug_line section is ok when not using .loc directives 29 .section .debug_line 30.Lline1_begin: 31 .4byte .Lline1_end - .Lline1_start /* Initial length */ 32.Lline1_start: 33 .2byte 2 /* Version */ 34 .4byte .Lline1_lines - .Lline1_hdr /* header_length */ 35.Lline1_hdr: 36 .byte 1 /* Minimum insn length */ 37 .byte 1 /* default_is_stmt */ 38 .byte 1 /* line_base */ 39 .byte 1 /* line_range */ 40 .byte 0x10 /* opcode_base */ 41 42 /* Standard lengths */ 43 .byte 0 44 .byte 1 45 .byte 1 46 .byte 1 47 .byte 1 48 .byte 0 49 .byte 0 50 .byte 0 51 .byte 1 52 .byte 0 53 .byte 0 54 .byte 1 55 .byte 0 56 .byte 0 57 .byte 0 58 59 /* Include directories */ 60 .byte 0 61 62 /* File names */ 63 .ascii "file1.txt\0" 64 .uleb128 0 65 .uleb128 0 66 .uleb128 0 67 68 .byte 0 69 70.Lline1_lines: 71 .byte 0 /* DW_LNE_set_address */ 72 .uleb128 5 73 .byte 2 74 .4byte .Lbegin_func_cu1 75 76 .byte 3 /* DW_LNS_advance_line */ 77 .sleb128 3 /* ... to 4 */ 78 79 .byte 1 /* DW_LNS_copy */ 80 81 .byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */ 82 83 .byte 0 /* DW_LNE_set_address */ 84 .uleb128 5 85 .byte 2 86 .4byte .Lend_func_cu1 87 88 .byte 0 /* DW_LNE_end_of_sequence */ 89 .uleb128 1 90 .byte 1 91 92