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