xref: /llvm-project/llvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_line_reserved_length.s (revision a3acf99e5929409401e94f6beaf48ba5d9f0bb7f)
1.section .debug_line,"",@progbits
2# Leading good section
3.long   .Lunit1_end - .Lunit1_start # Length of Unit (DWARF-32 format)
4.Lunit1_start:
5.short  4               # DWARF version number
6.long   .Lprologue1_end-.Lprologue1_start # Length of Prologue
7.Lprologue1_start:
8.byte   1               # Minimum Instruction Length
9.byte   1               # Maximum Operations per Instruction
10.byte   1               # Default is_stmt
11.byte   -5              # Line Base
12.byte   14              # Line Range
13.byte   13              # Opcode Base
14.byte   0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths
15.asciz "dir1"           # Include table
16.asciz "dir2"
17.byte   0
18.asciz "file1"          # File table
19.byte   0, 0, 0
20.asciz "file2"
21.byte   1, 0, 0
22.byte   0
23.Lprologue1_end:
24.byte   0, 9, 2         # DW_LNE_set_address
25.quad   0x0badbeef
26.byte   0, 1, 1         # DW_LNE_end_sequence
27.Lunit1_end:
28
29# Malformed section
30.long   0xfffffffe      # reserved unit length
31
32# Trailing good section
33.long   .Lunit3_end - .Lunit3_start # Length of Unit (DWARF-32 format)
34.Lunit3_start:
35.short  4               # DWARF version number
36.long   .Lprologue3_end-.Lprologue3_start # Length of Prologue
37.Lprologue3_start:
38.byte   1               # Minimum Instruction Length
39.byte   1               # Maximum Operations per Instruction
40.byte   1               # Default is_stmt
41.byte   -5              # Line Base
42.byte   14              # Line Range
43.byte   13              # Opcode Base
44.byte   0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths
45.asciz "dir1"           # Include table
46.asciz "dir2"
47.byte   0
48.asciz "file1"          # File table
49.byte   0, 0, 0
50.asciz "file2"
51.byte   1, 0, 0
52.byte   0
53.Lprologue3_end:
54.byte   0, 9, 2         # DW_LNE_set_address
55.quad   0xcafebabe
56.byte   0, 1, 1         # DW_LNE_end_sequence
57.Lunit3_end:
58