Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / tools / llvm-dwarfdump / X86 / Inputs / debug_line_malformed.s
blob3fca64f3ead3a2b05708d5fb9307770f6bf0c6e8
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:
29 # version 0
30 .long .Lunit_v0_end - .Lunit_v0_start # unit length
31 .Lunit_v0_start:
32 .short 0 # version
33 .Lunit_v0_end:
35 # version 1
36 .long .Lunit_v1_end - .Lunit_v1_start # unit length
37 .Lunit_v1_start:
38 .short 1 # version
39 .Lunit_v1_end:
41 # version 5 malformed line/include table
42 .long .Lunit_v5_end - .Lunit_v5_start # unit length
43 .Lunit_v5_start:
44 .short 5 # version
45 .byte 8 # address size
46 .byte 8 # segment selector
47 .long .Lprologue_v5_end-.Lprologue_v5_start # Length of Prologue
48 .Lprologue_v5_start:
49 .byte 1 # Minimum Instruction Length
50 .byte 1 # Maximum Operations per Instruction
51 .byte 1 # Default is_stmt
52 .byte -5 # Line Base
53 .byte 14 # Line Range
54 .byte 13 # Opcode Base
55 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths
56 .byte 0 # directory table (invalid)
57 .Lprologue_v5_end:
58 .Lunit_v5_end:
60 # Short prologue
61 .long .Lunit_short_prologue_end - .Lunit_short_prologue_start # unit length
62 .Lunit_short_prologue_start:
63 .short 4 # version
64 .long .Lprologue_short_prologue_end-.Lprologue_short_prologue_start - 2 # Length of Prologue
65 .Lprologue_short_prologue_start:
66 .byte 1 # Minimum Instruction Length
67 .byte 1 # Maximum Operations per Instruction
68 .byte 1 # Default is_stmt
69 .byte -5 # Line Base
70 .byte 14 # Line Range
71 .byte 13 # Opcode Base
72 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths
73 .asciz "dir1" # Include table
74 .asciz "dir2"
75 .byte 0
76 .asciz "file1" # File table
77 .byte 0, 0, 0
78 .asciz "file2"
79 .byte 1, 0, 0
80 .byte 0
81 .Lprologue_short_prologue_end:
82 .Lunit_short_prologue_end:
84 # Over-long prologue
85 .long .Lunit_long_prologue_end - .Lunit_long_prologue_start # unit length
86 .Lunit_long_prologue_start:
87 .short 4 # version
88 .long .Lprologue_long_prologue_end-.Lprologue_long_prologue_start + 1 # Length of Prologue
89 .Lprologue_long_prologue_start:
90 .byte 1 # Minimum Instruction Length
91 .byte 1 # Maximum Operations per Instruction
92 .byte 1 # Default is_stmt
93 .byte -5 # Line Base
94 .byte 14 # Line Range
95 .byte 13 # Opcode Base
96 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths
97 .asciz "dir1" # Include table
98 .asciz "dir2"
99 .byte 0
100 .asciz "file1" # File table
101 .byte 0, 0, 0
102 .asciz "file2"
103 .byte 1, 0, 0
104 .byte 0
105 .Lprologue_long_prologue_end:
106 .Lunit_long_prologue_end:
108 # Over-long extended opcode
109 .long .Lunit_long_opcode_end - .Lunit_long_opcode_start # unit length
110 .Lunit_long_opcode_start:
111 .short 4 # version
112 .long .Lprologue_long_opcode_end-.Lprologue_long_opcode_start # Length of Prologue
113 .Lprologue_long_opcode_start:
114 .byte 1 # Minimum Instruction Length
115 .byte 1 # Maximum Operations per Instruction
116 .byte 1 # Default is_stmt
117 .byte -5 # Line Base
118 .byte 14 # Line Range
119 .byte 13 # Opcode Base
120 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths
121 .asciz "dir1" # Include table
122 .asciz "dir2"
123 .byte 0
124 .asciz "file1" # File table
125 .byte 0, 0, 0
126 .asciz "file2"
127 .byte 1, 0, 0
128 .byte 0
129 .Lprologue_long_opcode_end:
130 .byte 0, 9, 2 # DW_LNE_set_address
131 .quad 0xabbadaba
132 .byte 0, 2, 1 # DW_LNE_end_sequence (wrong length)
133 .byte 0, 9, 2 # DW_LNE_set_address
134 .quad 0xbabb1e45
135 .byte 0, 1, 1 # DW_LNE_end_sequence (wrong length)
136 .Lunit_long_opcode_end:
138 # No end of sequence
139 .long .Lunit_no_eos_end - .Lunit_no_eos_start # unit length
140 .Lunit_no_eos_start:
141 .short 4 # version
142 .long .Lprologue_no_eos_end-.Lprologue_no_eos_start # Length of Prologue
143 .Lprologue_no_eos_start:
144 .byte 1 # Minimum Instruction Length
145 .byte 1 # Maximum Operations per Instruction
146 .byte 1 # Default is_stmt
147 .byte -5 # Line Base
148 .byte 14 # Line Range
149 .byte 13 # Opcode Base
150 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths
151 .asciz "dir1" # Include table
152 .asciz "dir2"
153 .byte 0
154 .asciz "file1" # File table
155 .byte 0, 0, 0
156 .asciz "file2"
157 .byte 1, 0, 0
158 .byte 0
159 .Lprologue_no_eos_end:
160 .byte 0, 9, 2 # DW_LNE_set_address
161 .quad 0xdeadfade
162 .byte 1 # DW_LNS_copy
163 .Lunit_no_eos_end:
165 # Trailing good section
166 .long .Lunit_good_end - .Lunit_good_start # Length of Unit (DWARF-32 format)
167 .Lunit_good_start:
168 .short 4 # DWARF version number
169 .long .Lprologue_good_end-.Lprologue_good_start # Length of Prologue
170 .Lprologue_good_start:
171 .byte 1 # Minimum Instruction Length
172 .byte 1 # Maximum Operations per Instruction
173 .byte 1 # Default is_stmt
174 .byte -5 # Line Base
175 .byte 14 # Line Range
176 .byte 13 # Opcode Base
177 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths
178 .asciz "dir1" # Include table
179 .asciz "dir2"
180 .byte 0
181 .asciz "file1" # File table
182 .byte 0, 0, 0
183 .asciz "file2"
184 .byte 1, 0, 0
185 .byte 0
186 .Lprologue_good_end:
187 .byte 0, 9, 2 # DW_LNE_set_address
188 .quad 0xcafebabe
189 .byte 0, 1, 1 # DW_LNE_end_sequence
190 .Lunit_good_end: