Lines Matching defs:debug_frame_

58     debug_frame_ = new MockDwarfDebugFrame<TypeParam>(&memory_);
62 void TearDown() override { delete debug_frame_; }
65 MockDwarfDebugFrame<TypeParam>* debug_frame_ = nullptr;
106 ASSERT_TRUE(this->debug_frame_->Init(0x5000, 0x600));
107 ASSERT_EQ(4U, this->debug_frame_->TestGetFdeCount());
111 this->debug_frame_->TestGetFdeInfo(0, &info);
116 this->debug_frame_->TestGetFdeInfo(1, &info);
121 this->debug_frame_->TestGetFdeInfo(2, &info);
126 this->debug_frame_->TestGetFdeInfo(3, &info);
145 ASSERT_FALSE(this->debug_frame_->Init(0x5000, 0x600));
146 ASSERT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->debug_frame_->LastErrorCode());
184 ASSERT_TRUE(this->debug_frame_->Init(0x5000, 0x600));
185 ASSERT_EQ(2U, this->debug_frame_->TestGetFdeCount());
229 ASSERT_TRUE(this->debug_frame_->Init(0x5000, 0x600));
230 ASSERT_EQ(4U, this->debug_frame_->TestGetFdeCount());
234 this->debug_frame_->TestGetFdeInfo(0, &info);
239 this->debug_frame_->TestGetFdeInfo(1, &info);
244 this->debug_frame_->TestGetFdeInfo(2, &info);
249 this->debug_frame_->TestGetFdeInfo(3, &info);
270 ASSERT_FALSE(this->debug_frame_->Init(0x5000, 0x600));
271 ASSERT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->debug_frame_->LastErrorCode());
315 ASSERT_TRUE(this->debug_frame_->Init(0x5000, 0x600));
316 ASSERT_EQ(2U, this->debug_frame_->TestGetFdeCount());
343 ASSERT_TRUE(this->debug_frame_->Init(0x5000, 0x200));
344 ASSERT_EQ(1U, this->debug_frame_->TestGetFdeCount());
347 this->debug_frame_->TestGetFdeInfo(0, &info);
386 ASSERT_TRUE(this->debug_frame_->Init(0x5000, 0x200));
387 ASSERT_EQ(1U, this->debug_frame_->TestGetFdeCount());
390 this->debug_frame_->TestGetFdeInfo(0, &info);
402 this->debug_frame_->TestPushFdeInfo(info);
405 this->debug_frame_->TestSetFdeCount(0);
407 ASSERT_FALSE(this->debug_frame_->GetFdeOffsetFromPc(0x1000, &fde_offset));
408 ASSERT_EQ(DWARF_ERROR_NONE, this->debug_frame_->LastErrorCode());
410 this->debug_frame_->TestSetFdeCount(9);
411 ASSERT_FALSE(this->debug_frame_->GetFdeOffsetFromPc(0x100, &fde_offset));
412 ASSERT_EQ(DWARF_ERROR_NONE, this->debug_frame_->LastErrorCode());
416 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc, &fde_offset)) << "Failed at index " << i;
418 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc + 1, &fde_offset)) << "Failed at index "
421 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc + 0xeff, &fde_offset))
424 ASSERT_FALSE(this->debug_frame_->GetFdeOffsetFromPc(pc + 0xfff, &fde_offset))
426 ASSERT_EQ(DWARF_ERROR_NONE, this->debug_frame_->LastErrorCode());
430 this->debug_frame_->TestSetFdeCount(10);
434 this->debug_frame_->TestPushFdeInfo(info);
438 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc, &fde_offset)) << "Failed at index " << i;
440 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc + 1, &fde_offset)) << "Failed at index "
443 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc + 0xeff, &fde_offset))
446 ASSERT_FALSE(this->debug_frame_->GetFdeOffsetFromPc(pc + 0xfff, &fde_offset))
448 ASSERT_EQ(DWARF_ERROR_NONE, this->debug_frame_->LastErrorCode());
453 this->debug_frame_->TestSetOffset(0x4000);
470 const DwarfFde* fde = this->debug_frame_->GetFdeFromOffset(0x14000);
495 this->debug_frame_->TestSetOffset(0x2000);
514 const DwarfFde* fde = this->debug_frame_->GetFdeFromOffset(0x8000);