Lines Matching refs:ASSERT_EQ

84     ASSERT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->cfa_->LastErrorCode());  in TYPED_TEST_P()
85 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
87 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
88 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
97 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
98 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
100 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
101 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
110 ASSERT_EQ(0x2002U, this->dmem_->cur_offset()); in TYPED_TEST_P()
111 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
114 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
115 ASSERT_EQ(32U, location->second.values[0]); in TYPED_TEST_P()
117 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
118 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
125 ASSERT_EQ(0x2103U, this->dmem_->cur_offset()); in TYPED_TEST_P()
126 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
129 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
130 ASSERT_EQ(1056U, location->second.values[0]); in TYPED_TEST_P()
132 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
133 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
141 ASSERT_EQ(0x503U, this->dmem_->cur_offset()); in TYPED_TEST_P()
142 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
145 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
146 ASSERT_EQ(2U, location->second.values[0]); in TYPED_TEST_P()
148 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
149 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
156 ASSERT_EQ(0x1505U, this->dmem_->cur_offset()); in TYPED_TEST_P()
157 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
160 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
161 ASSERT_EQ(2306U, location->second.values[0]); in TYPED_TEST_P()
163 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
164 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
172 ASSERT_EQ(0x503U, this->dmem_->cur_offset()); in TYPED_TEST_P()
173 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
176 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
177 ASSERT_EQ(0x80U, location->second.values[0]); in TYPED_TEST_P()
179 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
180 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
188 ASSERT_EQ(0x1505U, this->dmem_->cur_offset()); in TYPED_TEST_P()
189 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
192 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
193 ASSERT_EQ(static_cast<uint64_t>(-8), location->second.values[0]); in TYPED_TEST_P()
195 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
196 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
204 ASSERT_EQ(DWARF_ERROR_ILLEGAL_STATE, this->cfa_->LastErrorCode()); in TYPED_TEST_P()
205 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
206 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
208 ASSERT_EQ("6 unwind Invalid: restore while processing cie.\n", GetFakeLogPrint()); in TYPED_TEST_P()
209 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
218 ASSERT_EQ(0x3003U, this->dmem_->cur_offset()); in TYPED_TEST_P()
219 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
222 ASSERT_EQ(DWARF_LOCATION_REGISTER, location->second.type); in TYPED_TEST_P()
224 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
225 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
233 ASSERT_EQ(DWARF_ERROR_ILLEGAL_STATE, this->cfa_->LastErrorCode()); in TYPED_TEST_P()
234 ASSERT_EQ(0x4002U, this->dmem_->cur_offset()); in TYPED_TEST_P()
235 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
237 ASSERT_EQ("6 unwind Invalid: restore while processing cie.\n", GetFakeLogPrint()); in TYPED_TEST_P()
238 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
249 ASSERT_EQ(0x5007U, this->dmem_->cur_offset()); in TYPED_TEST_P()
250 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
253 ASSERT_EQ(DWARF_LOCATION_REGISTER, location->second.type); in TYPED_TEST_P()
255 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
256 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
281 ASSERT_EQ(0x51 + sizeof(TypeParam), this->dmem_->cur_offset()); in TYPED_TEST_P()
282 ASSERT_EQ(address, this->cfa_->cur_pc()); in TYPED_TEST_P()
283 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
285 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
286 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
294 ASSERT_EQ(0x51 + sizeof(TypeParam), this->dmem_->cur_offset()); in TYPED_TEST_P()
295 ASSERT_EQ(address, this->cfa_->cur_pc()); in TYPED_TEST_P()
296 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
302 ASSERT_EQ(expected, GetFakeLogPrint()); in TYPED_TEST_P()
303 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
311 ASSERT_EQ(0x202U, this->dmem_->cur_offset()); in TYPED_TEST_P()
312 ASSERT_EQ(this->fde_.pc_start + 0x10, this->cfa_->cur_pc()); in TYPED_TEST_P()
313 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
315 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
316 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
324 ASSERT_EQ(0x603U, this->dmem_->cur_offset()); in TYPED_TEST_P()
325 ASSERT_EQ(this->fde_.pc_start + 0xc10U, this->cfa_->cur_pc()); in TYPED_TEST_P()
326 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
328 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
329 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
337 ASSERT_EQ(0x505U, this->dmem_->cur_offset()); in TYPED_TEST_P()
338 ASSERT_EQ(this->fde_.pc_start + 0x4080c10, this->cfa_->cur_pc()); in TYPED_TEST_P()
339 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
341 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
342 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
350 ASSERT_EQ(0xa02U, this->dmem_->cur_offset()); in TYPED_TEST_P()
351 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
354 ASSERT_EQ(DWARF_LOCATION_UNDEFINED, location->second.type); in TYPED_TEST_P()
356 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
357 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
364 ASSERT_EQ(0x1a03U, this->dmem_->cur_offset()); in TYPED_TEST_P()
365 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
368 ASSERT_EQ(DWARF_LOCATION_UNDEFINED, location->second.type); in TYPED_TEST_P()
370 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
371 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
380 ASSERT_EQ(0x102U, this->dmem_->cur_offset()); in TYPED_TEST_P()
381 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
382 ASSERT_EQ(0U, loc_regs.count(127)); in TYPED_TEST_P()
384 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
385 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
393 ASSERT_EQ(0x2103U, this->dmem_->cur_offset()); in TYPED_TEST_P()
394 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
395 ASSERT_EQ(0U, loc_regs.count(255)); in TYPED_TEST_P()
397 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
398 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
406 ASSERT_EQ(0x303U, this->dmem_->cur_offset()); in TYPED_TEST_P()
407 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
410 ASSERT_EQ(DWARF_LOCATION_REGISTER, location->second.type); in TYPED_TEST_P()
411 ASSERT_EQ(1U, location->second.values[0]); in TYPED_TEST_P()
413 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
414 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
421 ASSERT_EQ(0x4305U, this->dmem_->cur_offset()); in TYPED_TEST_P()
422 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
425 ASSERT_EQ(DWARF_LOCATION_REGISTER, location->second.type); in TYPED_TEST_P()
426 ASSERT_EQ(511U, location->second.values[0]); in TYPED_TEST_P()
428 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
429 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
437 ASSERT_EQ(0x301U, this->dmem_->cur_offset()); in TYPED_TEST_P()
438 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
440 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
441 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
448 ASSERT_EQ(0x4301U, this->dmem_->cur_offset()); in TYPED_TEST_P()
449 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
451 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
452 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
459 ASSERT_EQ(0x2005U, this->dmem_->cur_offset()); in TYPED_TEST_P()
460 ASSERT_EQ(2U, loc_regs.size()); in TYPED_TEST_P()
466 ASSERT_EQ(0x2006U, this->dmem_->cur_offset()); in TYPED_TEST_P()
467 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
477 ASSERT_EQ(0x600cU, this->dmem_->cur_offset()); in TYPED_TEST_P()
478 ASSERT_EQ(4U, loc_regs.size()); in TYPED_TEST_P()
486 ASSERT_EQ(0x600dU, this->dmem_->cur_offset()); in TYPED_TEST_P()
487 ASSERT_EQ(3U, loc_regs.size()); in TYPED_TEST_P()
494 ASSERT_EQ(0x600eU, this->dmem_->cur_offset()); in TYPED_TEST_P()
495 ASSERT_EQ(2U, loc_regs.size()); in TYPED_TEST_P()
501 ASSERT_EQ(0x600fU, this->dmem_->cur_offset()); in TYPED_TEST_P()
502 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
507 ASSERT_EQ(0x6010U, this->dmem_->cur_offset()); in TYPED_TEST_P()
508 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
512 ASSERT_EQ(0x6011U, this->dmem_->cur_offset()); in TYPED_TEST_P()
513 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
525 ASSERT_EQ(0x3004U, this->dmem_->cur_offset()); in TYPED_TEST_P()
526 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
527 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
528 ASSERT_EQ(5U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
529 ASSERT_EQ(100U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
531 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
532 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
540 ASSERT_EQ(0x103U, this->dmem_->cur_offset()); in TYPED_TEST_P()
541 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
542 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
543 ASSERT_EQ(0x7fU, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
544 ASSERT_EQ(0x74U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
546 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
547 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
554 ASSERT_EQ(0x205U, this->dmem_->cur_offset()); in TYPED_TEST_P()
555 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
556 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
557 ASSERT_EQ(0x17fU, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
558 ASSERT_EQ(0x274U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
560 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
561 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
569 ASSERT_EQ(0x103U, this->dmem_->cur_offset()); in TYPED_TEST_P()
570 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
571 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
572 ASSERT_EQ(0x30U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
573 ASSERT_EQ(0x128U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
575 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
576 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
584 ASSERT_EQ(0x205U, this->dmem_->cur_offset()); in TYPED_TEST_P()
585 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
586 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
587 ASSERT_EQ(0xa3U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
588 ASSERT_EQ(static_cast<uint64_t>(-48), loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
590 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
591 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
600 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
601 ASSERT_EQ(DWARF_ERROR_ILLEGAL_STATE, this->cfa_->LastErrorCode()); in TYPED_TEST_P()
603 ASSERT_EQ("6 unwind Attempt to set new register, but cfa is not already set to a register.\n", in TYPED_TEST_P()
605 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
612 ASSERT_EQ(0x102U, this->dmem_->cur_offset()); in TYPED_TEST_P()
613 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
614 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
615 ASSERT_EQ(0x72U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
616 ASSERT_EQ(20U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
618 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
619 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
627 ASSERT_EQ(0x203U, this->dmem_->cur_offset()); in TYPED_TEST_P()
628 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
629 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
630 ASSERT_EQ(0x1079U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
631 ASSERT_EQ(60U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
633 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
634 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
643 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
644 ASSERT_EQ(DWARF_ERROR_ILLEGAL_STATE, this->cfa_->LastErrorCode()); in TYPED_TEST_P()
646 ASSERT_EQ("6 unwind Attempt to set offset, but cfa is not set to a register.\n", in TYPED_TEST_P()
648 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
655 ASSERT_EQ(0x102U, this->dmem_->cur_offset()); in TYPED_TEST_P()
656 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
657 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
658 ASSERT_EQ(3U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
659 ASSERT_EQ(0x59U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
661 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
662 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
670 ASSERT_EQ(0x203U, this->dmem_->cur_offset()); in TYPED_TEST_P()
671 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
672 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
673 ASSERT_EQ(3U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
674 ASSERT_EQ(0x554U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
676 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
677 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
686 ASSERT_EQ(DWARF_ERROR_ILLEGAL_STATE, this->cfa_->LastErrorCode()); in TYPED_TEST_P()
688 ASSERT_EQ("6 unwind Attempt to set offset, but cfa is not set to a register.\n", in TYPED_TEST_P()
690 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
697 ASSERT_EQ(0x102U, this->dmem_->cur_offset()); in TYPED_TEST_P()
698 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
699 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
700 ASSERT_EQ(3U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
701 ASSERT_EQ(0x118U, loc_regs[CFA_REG].values[1]); in TYPED_TEST_P()
703 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
704 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
713 ASSERT_EQ(0x203U, this->dmem_->cur_offset()); in TYPED_TEST_P()
714 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
715 ASSERT_EQ(DWARF_LOCATION_REGISTER, loc_regs[CFA_REG].type); in TYPED_TEST_P()
716 ASSERT_EQ(3U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
717 ASSERT_EQ(static_cast<TypeParam>(-80), static_cast<TypeParam>(loc_regs[CFA_REG].values[1])); in TYPED_TEST_P()
719 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
720 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
728 ASSERT_EQ(0x106U, this->dmem_->cur_offset()); in TYPED_TEST_P()
729 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
731 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
732 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
742 ASSERT_EQ(0x284U, this->dmem_->cur_offset()); in TYPED_TEST_P()
743 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
744 ASSERT_EQ(DWARF_LOCATION_VAL_EXPRESSION, loc_regs[CFA_REG].type); in TYPED_TEST_P()
745 ASSERT_EQ(0x81U, loc_regs[CFA_REG].values[0]); in TYPED_TEST_P()
747 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
748 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
756 ASSERT_EQ(0x105U, this->dmem_->cur_offset()); in TYPED_TEST_P()
757 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
760 ASSERT_EQ(DWARF_LOCATION_EXPRESSION, location->second.type); in TYPED_TEST_P()
761 ASSERT_EQ(2U, location->second.values[0]); in TYPED_TEST_P()
762 ASSERT_EQ(0x105U, location->second.values[1]); in TYPED_TEST_P()
764 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
765 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
776 ASSERT_EQ(0x287U, this->dmem_->cur_offset()); in TYPED_TEST_P()
777 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
780 ASSERT_EQ(DWARF_LOCATION_EXPRESSION, location->second.type); in TYPED_TEST_P()
781 ASSERT_EQ(130U, location->second.values[0]); in TYPED_TEST_P()
782 ASSERT_EQ(0x287U, location->second.values[1]); in TYPED_TEST_P()
784 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
785 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
793 ASSERT_EQ(0x103U, this->dmem_->cur_offset()); in TYPED_TEST_P()
794 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
797 ASSERT_EQ(DWARF_LOCATION_VAL_OFFSET, location->second.type); in TYPED_TEST_P()
798 ASSERT_EQ(0x2a0U, location->second.values[0]); in TYPED_TEST_P()
800 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
801 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
808 ASSERT_EQ(0x405U, this->dmem_->cur_offset()); in TYPED_TEST_P()
809 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
812 ASSERT_EQ(DWARF_LOCATION_VAL_OFFSET, location->second.type); in TYPED_TEST_P()
813 ASSERT_EQ(0x15a0U, location->second.values[0]); in TYPED_TEST_P()
815 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
816 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
824 ASSERT_EQ(0x103U, this->dmem_->cur_offset()); in TYPED_TEST_P()
825 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
828 ASSERT_EQ(DWARF_LOCATION_VAL_OFFSET, location->second.type); in TYPED_TEST_P()
829 ASSERT_EQ(0x90U, location->second.values[0]); in TYPED_TEST_P()
831 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
832 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
840 ASSERT_EQ(0xa05U, this->dmem_->cur_offset()); in TYPED_TEST_P()
841 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
844 ASSERT_EQ(DWARF_LOCATION_VAL_OFFSET, location->second.type); in TYPED_TEST_P()
845 ASSERT_EQ(static_cast<uint64_t>(-512), location->second.values[0]); in TYPED_TEST_P()
847 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
848 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
856 ASSERT_EQ(0x105U, this->dmem_->cur_offset()); in TYPED_TEST_P()
857 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
860 ASSERT_EQ(DWARF_LOCATION_VAL_EXPRESSION, location->second.type); in TYPED_TEST_P()
861 ASSERT_EQ(2U, location->second.values[0]); in TYPED_TEST_P()
862 ASSERT_EQ(0x105U, location->second.values[1]); in TYPED_TEST_P()
864 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
865 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
877 ASSERT_EQ(0xaadU, this->dmem_->cur_offset()); in TYPED_TEST_P()
878 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
881 ASSERT_EQ(DWARF_LOCATION_VAL_EXPRESSION, location->second.type); in TYPED_TEST_P()
882 ASSERT_EQ(168U, location->second.values[0]); in TYPED_TEST_P()
883 ASSERT_EQ(0xaadU, location->second.values[1]); in TYPED_TEST_P()
885 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
886 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
894 ASSERT_EQ(0x2002U, this->dmem_->cur_offset()); in TYPED_TEST_P()
895 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
897 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
898 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
905 ASSERT_EQ(0x5004U, this->dmem_->cur_offset()); in TYPED_TEST_P()
906 ASSERT_EQ(0U, loc_regs.size()); in TYPED_TEST_P()
908 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
909 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
917 ASSERT_EQ(0x503U, this->dmem_->cur_offset()); in TYPED_TEST_P()
918 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
921 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
922 ASSERT_EQ(static_cast<uint64_t>(-16), location->second.values[0]); in TYPED_TEST_P()
924 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
925 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
932 ASSERT_EQ(0x1505U, this->dmem_->cur_offset()); in TYPED_TEST_P()
933 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
936 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
937 ASSERT_EQ(static_cast<uint64_t>(-255), location->second.values[0]); in TYPED_TEST_P()
939 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
940 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
948 ASSERT_EQ(0x306U, this->dmem_->cur_offset()); in TYPED_TEST_P()
949 ASSERT_EQ(1U, loc_regs.size()); in TYPED_TEST_P()
952 ASSERT_EQ(DWARF_LOCATION_REGISTER, location->second.type); in TYPED_TEST_P()
953 ASSERT_EQ(4U, location->second.values[0]); in TYPED_TEST_P()
955 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
956 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
964 ASSERT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->cfa_->LastErrorCode()); in TYPED_TEST_P()
965 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
967 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
968 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
973 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
977 ASSERT_EQ(DWARF_LOCATION_PSEUDO_REGISTER, location->second.type); in TYPED_TEST_P()
978 ASSERT_EQ(1U, location->second.values[0]); in TYPED_TEST_P()
980 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
981 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
986 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
990 ASSERT_EQ(DWARF_LOCATION_PSEUDO_REGISTER, location->second.type); in TYPED_TEST_P()
991 ASSERT_EQ(0U, location->second.values[0]); in TYPED_TEST_P()
993 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
994 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()
999 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
1003 ASSERT_EQ(DWARF_LOCATION_PSEUDO_REGISTER, location->second.type); in TYPED_TEST_P()
1004 ASSERT_EQ(1U, location->second.values[0]); in TYPED_TEST_P()
1006 ASSERT_EQ("", GetFakeLogPrint()); in TYPED_TEST_P()
1007 ASSERT_EQ("", GetFakeLogBuf()); in TYPED_TEST_P()