1.section .text,"ax" 2sym: 3 .quad zed6a 4sym2: 5 .quad zed6b 6sym3: 7 .quad zed7 8sym4: 9 .quad zed8 10 11.section .debug_line,"",@progbits 12.Lunit: 13 .long .Lunit_end - .Lunit_start # unit length 14.Lunit_start: 15 .short 4 # version 16 .long .Lprologue_end - .Lprologue_start # prologue length 17.Lprologue_start: 18 .byte 1 # minimum instruction length 19 .byte 1 # maximum operations per instruction 20 .byte 1 # default is_stmt 21 .byte -5 # line base 22 .byte 14 # line range 23 .byte 13 # opcode base 24 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # standard opcode lengths 25 .asciz "dir" # include directories 26 .byte 0 27 .asciz "undef-bad-debug.s" # file names 28 .byte 1, 0, 0 29 .byte 0 30 .byte 0 # extraneous byte 31.Lprologue_end: 32 .byte 0, 9, 2 # DW_LNE_set_address 33 .quad sym 34 .byte 3 # DW_LNS_advance_line 35 .byte 10 36 .byte 1 # DW_LNS_copy 37 .byte 2 # DW_LNS_advance_pc 38 .byte 8 39 .byte 0, 9, 2 # DW_LNE_set_address 40 .quad sym2 41 .byte 3 # DW_LNS_advance_line 42 .byte 10 43 .byte 1 # DW_LNS_copy 44 .byte 2 # DW_LNS_advance_pc 45 .byte 8 46 .byte 0, 1, 1 # DW_LNE_end_sequence 47.Lunit_end: 48 49.Lunit2: 50 .long .Lunit2_end - .Lunit2_start # unit length 51.Lunit2_start: 52 .short 1 # version 53.Lunit2_end: 54 55.Lunit3: 56 .long .Lunit3_end - .Lunit3_start # unit length 57.Lunit3_start: 58 .short 4 # version 59 .long .Lprologue2_end - .Lprologue2_start # prologue length 60.Lprologue2_start: 61 .byte 1 # minimum instruction length 62 .byte 1 # maximum operations per instruction 63 .byte 1 # default is_stmt 64 .byte -5 # line base 65 .byte 14 # line range 66 .byte 13 # opcode base 67 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # standard opcode lengths 68 .asciz "dir2" # include directories 69 .byte 0 70 .asciz "undef-bad-debug2.s" # file names 71 .byte 1, 0, 0 72 .byte 0 73.Lprologue2_end: 74 .byte 0, 9, 2 # DW_LNE_set_address 75 .quad sym4 76 .byte 3 # DW_LNS_advance_line 77 .byte 10 78 .byte 1 # DW_LNS_copy 79 .byte 2 # DW_LNS_advance_pc 80 .byte 8 81 .byte 0, 1, 1 # DW_LNE_end_sequence 82 .byte 0, 9, 2 # DW_LNE_set_address 83 .quad 0x0badbeef 84 .byte 3 # DW_LNS_advance_line 85 .byte 99 86 .byte 1 # DW_LNS_copy 87 .byte 99 # DW_LNS_advance_pc 88 .byte 119 89 # Missing end of sequence. 90.Lunit3_end: 91 92.section .debug_info,"",@progbits 93 .long .Lcu_end - .Lcu_start # Length of Unit 94.Lcu_start: 95 .short 4 # DWARF version number 96 .long .Lsection_abbrev # Offset Into Abbrev. Section 97 .byte 8 # Address Size (in bytes) 98 .byte 1 # Abbrev [1] 0xb:0x79 DW_TAG_compile_unit 99 .long .Lunit # DW_AT_stmt_list 100 .byte 2 # Abbrev [2] 0x2a:0x15 DW_TAG_variable 101 .long .Linfo_string0 # DW_AT_name 102 # DW_AT_external 103 .byte 1 # DW_AT_decl_file 104 .byte 3 # DW_AT_decl_line 105 .byte 2 # Abbrev [2] 0x2a:0x15 DW_TAG_variable 106 .long .Linfo_string1 # DW_AT_name 107 # DW_AT_external 108 .byte 1 # DW_AT_decl_file 109 .byte 6 # DW_AT_decl_line 110 .byte 0 # End Of Children Mark 111.Lcu_end: 112 113 .long .Lcu2_end - .Lcu2_start # Length of Unit 114.Lcu2_start: 115 .short 4 # DWARF version number 116 .long .Lsection_abbrev # Offset Into Abbrev. Section 117 .byte 8 # Address Size (in bytes) 118 .byte 1 # Abbrev [1] 0xb:0x79 DW_TAG_compile_unit 119 .long .Lunit2 # DW_AT_stmt_list 120 .byte 2 # Abbrev [2] 0x2a:0x15 DW_TAG_variable 121 .long .Linfo2_string # DW_AT_name 122 # DW_AT_external 123 .byte 1 # DW_AT_decl_file 124 .byte 3 # DW_AT_decl_line 125 .byte 0 # End Of Children Mark 126.Lcu2_end: 127 128 .long .Lcu3_end - .Lcu3_start # Length of Unit 129.Lcu3_start: 130 .short 4 # DWARF version number 131 .long .Lsection_abbrev # Offset Into Abbrev. Section 132 .byte 8 # Address Size (in bytes) 133 .byte 1 # Abbrev [1] 0xb:0x79 DW_TAG_compile_unit 134 .long .Lunit3 # DW_AT_stmt_list 135 .byte 2 # Abbrev [2] 0x2a:0x15 DW_TAG_variable 136 .long .Linfo3_string # DW_AT_name 137 # DW_AT_external 138 .byte 1 # DW_AT_decl_file 139 .byte 3 # DW_AT_decl_line 140 .byte 0 # End Of Children Mark 141.Lcu3_end: 142 143.section .debug_abbrev,"",@progbits 144.Lsection_abbrev: 145 .byte 1 # Abbreviation Code 146 .byte 17 # DW_TAG_compile_unit 147 .byte 1 # DW_CHILDREN_yes 148 .byte 16 # DW_AT_stmt_list 149 .byte 23 # DW_FORM_sec_offset 150 .byte 0 # EOM(1) 151 .byte 0 # EOM(2) 152 .byte 2 # Abbreviation Code 153 .byte 52 # DW_TAG_variable 154 .byte 0 # DW_CHILDREN_no 155 .byte 3 # DW_AT_name 156 .byte 14 # DW_FORM_strp 157 .byte 63 # DW_AT_external 158 .byte 25 # DW_FORM_flag_present 159 .byte 58 # DW_AT_decl_file 160 .byte 11 # DW_FORM_data1 161 .byte 59 # DW_AT_decl_line 162 .byte 11 # DW_FORM_data1 163 .byte 0 # EOM(1) 164 .byte 0 # EOM(2) 165 .byte 0 # EOM(3) 166 167.section .debug_str,"MS",@progbits,1 168.Linfo_string0: 169 .asciz "sym" 170.Linfo_string1: 171 .asciz "sym2" 172.Linfo2_string: 173 .asciz "sym3" 174.Linfo3_string: 175 .asciz "sym4" 176