Lines Matching refs:dwarf2reader
42 using dwarf2reader::ByteReader;
43 using dwarf2reader::DwarfPointerEncoding;
44 using dwarf2reader::ENDIANNESS_BIG;
45 using dwarf2reader::ENDIANNESS_LITTLE;
92 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_absptr))); in TEST_F()
94 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_omit))); in TEST_F()
96 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_aligned))); in TEST_F()
98 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_uleb128))); in TEST_F()
100 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata2))); in TEST_F()
102 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata4))); in TEST_F()
104 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata8))); in TEST_F()
106 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sleb128))); in TEST_F()
108 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata2))); in TEST_F()
110 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata4))); in TEST_F()
112 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata8))); in TEST_F()
114 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_absptr | in TEST_F()
115 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
117 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_uleb128 | in TEST_F()
118 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
120 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata2 | in TEST_F()
121 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
123 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata4 | in TEST_F()
124 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
126 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata8 | in TEST_F()
127 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
129 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sleb128 | in TEST_F()
130 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
132 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata2 | in TEST_F()
133 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
135 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata4 | in TEST_F()
136 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
138 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata8 | in TEST_F()
139 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
141 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_absptr | in TEST_F()
142 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
144 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_uleb128 | in TEST_F()
145 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
147 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata2 | in TEST_F()
148 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
150 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata4 | in TEST_F()
151 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
153 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata8 | in TEST_F()
154 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
156 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sleb128 | in TEST_F()
157 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
159 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata2 | in TEST_F()
160 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
162 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata4 | in TEST_F()
163 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
165 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata8 | in TEST_F()
166 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
168 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_absptr | in TEST_F()
169 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
171 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_uleb128 | in TEST_F()
172 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
174 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata2 | in TEST_F()
175 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
177 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata4 | in TEST_F()
178 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
180 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata8 | in TEST_F()
181 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
183 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sleb128 | in TEST_F()
184 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
186 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata2 | in TEST_F()
187 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
189 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata4 | in TEST_F()
190 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
192 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata8 | in TEST_F()
193 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
195 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_absptr | in TEST_F()
196 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
198 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_uleb128 | in TEST_F()
199 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
201 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata2 | in TEST_F()
202 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
204 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata4 | in TEST_F()
205 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
207 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_udata8 | in TEST_F()
208 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
210 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sleb128 | in TEST_F()
211 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
213 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata2 | in TEST_F()
214 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
216 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata4 | in TEST_F()
217 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
219 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_sdata8 | in TEST_F()
220 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
222 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
223 dwarf2reader::DW_EH_PE_absptr | in TEST_F()
224 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
226 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
227 dwarf2reader::DW_EH_PE_uleb128 | in TEST_F()
228 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
230 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
231 dwarf2reader::DW_EH_PE_udata2 | in TEST_F()
232 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
234 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
235 dwarf2reader::DW_EH_PE_udata4 | in TEST_F()
236 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
238 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
239 dwarf2reader::DW_EH_PE_udata8 | in TEST_F()
240 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
242 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
243 dwarf2reader::DW_EH_PE_sleb128 | in TEST_F()
244 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
246 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
247 dwarf2reader::DW_EH_PE_sdata2 | in TEST_F()
248 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
250 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
251 dwarf2reader::DW_EH_PE_sdata4 | in TEST_F()
252 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
254 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
255 dwarf2reader::DW_EH_PE_sdata8 | in TEST_F()
256 dwarf2reader::DW_EH_PE_pcrel))); in TEST_F()
258 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
259 dwarf2reader::DW_EH_PE_absptr | in TEST_F()
260 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
262 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
263 dwarf2reader::DW_EH_PE_uleb128 | in TEST_F()
264 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
266 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
267 dwarf2reader::DW_EH_PE_udata2 | in TEST_F()
268 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
270 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
271 dwarf2reader::DW_EH_PE_udata4 | in TEST_F()
272 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
274 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
275 dwarf2reader::DW_EH_PE_udata8 | in TEST_F()
276 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
278 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
279 dwarf2reader::DW_EH_PE_sleb128 | in TEST_F()
280 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
282 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
283 dwarf2reader::DW_EH_PE_sdata2 | in TEST_F()
284 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
286 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
287 dwarf2reader::DW_EH_PE_sdata4 | in TEST_F()
288 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
290 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
291 dwarf2reader::DW_EH_PE_sdata8 | in TEST_F()
292 dwarf2reader::DW_EH_PE_textrel))); in TEST_F()
294 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
295 dwarf2reader::DW_EH_PE_absptr | in TEST_F()
296 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
298 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
299 dwarf2reader::DW_EH_PE_uleb128 | in TEST_F()
300 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
302 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
303 dwarf2reader::DW_EH_PE_udata2 | in TEST_F()
304 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
306 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
307 dwarf2reader::DW_EH_PE_udata4 | in TEST_F()
308 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
310 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
311 dwarf2reader::DW_EH_PE_udata8 | in TEST_F()
312 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
314 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
315 dwarf2reader::DW_EH_PE_sleb128 | in TEST_F()
316 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
318 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
319 dwarf2reader::DW_EH_PE_sdata2 | in TEST_F()
320 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
322 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
323 dwarf2reader::DW_EH_PE_sdata4 | in TEST_F()
324 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
326 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
327 dwarf2reader::DW_EH_PE_sdata8 | in TEST_F()
328 dwarf2reader::DW_EH_PE_datarel))); in TEST_F()
330 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
331 dwarf2reader::DW_EH_PE_absptr | in TEST_F()
332 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
334 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
335 dwarf2reader::DW_EH_PE_uleb128 | in TEST_F()
336 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
338 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
339 dwarf2reader::DW_EH_PE_udata2 | in TEST_F()
340 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
342 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
343 dwarf2reader::DW_EH_PE_udata4 | in TEST_F()
344 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
346 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
347 dwarf2reader::DW_EH_PE_udata8 | in TEST_F()
348 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
350 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
351 dwarf2reader::DW_EH_PE_sleb128 | in TEST_F()
352 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
354 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
355 dwarf2reader::DW_EH_PE_sdata2 | in TEST_F()
356 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
358 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
359 dwarf2reader::DW_EH_PE_sdata4 | in TEST_F()
360 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
362 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_indirect | in TEST_F()
363 dwarf2reader::DW_EH_PE_sdata8 | in TEST_F()
364 dwarf2reader::DW_EH_PE_funcrel))); in TEST_F()
381 EXPECT_DEATH(reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_omit, in TEST_F()
391 reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_absptr, in TEST_F()
403 reader.ReadEncodedPointer(data + 1, dwarf2reader::DW_EH_PE_absptr, in TEST_F()
413 reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_uleb128, in TEST_F()
423 reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_udata2, in TEST_F()
433 reader.ReadEncodedPointer(data + 2, dwarf2reader::DW_EH_PE_udata4, in TEST_F()
445 reader.ReadEncodedPointer(data + 1, dwarf2reader::DW_EH_PE_udata8, in TEST_F()
457 reader.ReadEncodedPointer(data + 1, dwarf2reader::DW_EH_PE_udata8, in TEST_F()
467 reader.ReadEncodedPointer(data + 1, dwarf2reader::DW_EH_PE_sleb128, in TEST_F()
477 reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_sdata2, in TEST_F()
487 reader.ReadEncodedPointer(data + 2, dwarf2reader::DW_EH_PE_sdata4, in TEST_F()
499 reader.ReadEncodedPointer(data + 1, dwarf2reader::DW_EH_PE_sdata8, in TEST_F()
509 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_pcrel in TEST_F()
510 | dwarf2reader::DW_EH_PE_absptr); in TEST_F()
523 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_textrel in TEST_F()
524 | dwarf2reader::DW_EH_PE_sdata2); in TEST_F()
536 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_datarel in TEST_F()
537 | dwarf2reader::DW_EH_PE_sleb128); in TEST_F()
549 DwarfPointerEncoding(dwarf2reader::DW_EH_PE_funcrel in TEST_F()
550 | dwarf2reader::DW_EH_PE_udata2); in TEST_F()
560 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_absptr)); in TEST()
561 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_pcrel)); in TEST()
562 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_textrel)); in TEST()
563 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_datarel)); in TEST()
564 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_funcrel)); in TEST()
565 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_omit)); in TEST()
572 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_absptr)); in TEST()
573 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_pcrel)); in TEST()
574 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_textrel)); in TEST()
575 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_datarel)); in TEST()
576 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_funcrel)); in TEST()
577 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_omit)); in TEST()
584 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_absptr)); in TEST()
585 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_pcrel)); in TEST()
586 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_textrel)); in TEST()
587 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_datarel)); in TEST()
588 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_funcrel)); in TEST()
589 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_omit)); in TEST()
596 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_absptr)); in TEST()
597 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_pcrel)); in TEST()
598 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_textrel)); in TEST()
599 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_datarel)); in TEST()
600 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_funcrel)); in TEST()
601 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_omit)); in TEST()
609 EXPECT_TRUE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_absptr)); in TEST()
610 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_pcrel)); in TEST()
611 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_textrel)); in TEST()
612 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_datarel)); in TEST()
613 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_funcrel)); in TEST()
614 EXPECT_FALSE(reader.UsableEncoding(dwarf2reader::DW_EH_PE_omit)); in TEST()
634 reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_aligned, in TEST_F()
642 reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_aligned, in TEST_F()
650 reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_aligned, in TEST_F()
658 reader.ReadEncodedPointer(data, dwarf2reader::DW_EH_PE_aligned, in TEST_F()
667 dwarf2reader::DW_EH_PE_aligned, in TEST_F()
676 dwarf2reader::DW_EH_PE_aligned, in TEST_F()
685 dwarf2reader::DW_EH_PE_aligned, in TEST_F()
694 dwarf2reader::DW_EH_PE_aligned, in TEST_F()