Lines Matching refs:section_
63 section_ = new TestDwarfSectionImpl<TypeParam>(&memory_); in SetUp()
67 void TearDown() override { delete section_; } in TearDown()
70 TestDwarfSectionImpl<TypeParam>* section_ = nullptr; member in unwindstack::DwarfSectionImplTest
77 ASSERT_TRUE(this->section_->GetCieFromOffset(0x4000) == nullptr); in TYPED_TEST_P()
78 EXPECT_EQ(DWARF_ERROR_MEMORY_INVALID, this->section_->LastErrorCode()); in TYPED_TEST_P()
79 EXPECT_EQ(0x4000U, this->section_->LastErrorAddress()); in TYPED_TEST_P()
81 this->section_->TestClearError(); in TYPED_TEST_P()
82 ASSERT_TRUE(this->section_->GetCieFromOffset(0x4000) == nullptr); in TYPED_TEST_P()
83 EXPECT_EQ(DWARF_ERROR_MEMORY_INVALID, this->section_->LastErrorCode()); in TYPED_TEST_P()
84 EXPECT_EQ(0x4000U, this->section_->LastErrorAddress()); in TYPED_TEST_P()
88 ASSERT_TRUE(this->section_->GetFdeFromOffset(0x4000) == nullptr); in TYPED_TEST_P()
89 EXPECT_EQ(DWARF_ERROR_MEMORY_INVALID, this->section_->LastErrorCode()); in TYPED_TEST_P()
90 EXPECT_EQ(0x4000U, this->section_->LastErrorAddress()); in TYPED_TEST_P()
92 this->section_->TestClearError(); in TYPED_TEST_P()
93 ASSERT_TRUE(this->section_->GetFdeFromOffset(0x4000) == nullptr); in TYPED_TEST_P()
94 EXPECT_EQ(DWARF_ERROR_MEMORY_INVALID, this->section_->LastErrorCode()); in TYPED_TEST_P()
95 EXPECT_EQ(0x4000U, this->section_->LastErrorAddress()); in TYPED_TEST_P()
109 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
110 EXPECT_EQ(DWARF_ERROR_MEMORY_INVALID, this->section_->LastErrorCode()); in TYPED_TEST_P()
111 EXPECT_EQ(0x5000U, this->section_->LastErrorAddress()); in TYPED_TEST_P()
126 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
127 EXPECT_EQ(DWARF_ERROR_ILLEGAL_STATE, this->section_->LastErrorCode()); in TYPED_TEST_P()
144 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
145 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
160 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
178 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
179 EXPECT_EQ(DWARF_ERROR_NOT_IMPLEMENTED, this->section_->LastErrorCode()); in TYPED_TEST_P()
188 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
189 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
198 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
199 EXPECT_EQ(DWARF_ERROR_CFA_NOT_DEFINED, this->section_->LastErrorCode()); in TYPED_TEST_P()
209 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
210 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
212 this->section_->TestClearError(); in TYPED_TEST_P()
215 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
216 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
218 this->section_->TestClearError(); in TYPED_TEST_P()
221 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
222 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
224 this->section_->TestClearError(); in TYPED_TEST_P()
227 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
228 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
242 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
260 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
280 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
308 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
331 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
348 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
349 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
373 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
398 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
415 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
432 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
451 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
471 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
489 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
504 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
505 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
510 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
511 EXPECT_EQ(DWARF_ERROR_ILLEGAL_VALUE, this->section_->LastErrorCode()); in TYPED_TEST_P()
523 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, ®s, &finished)); in TYPED_TEST_P()
543 ASSERT_TRUE(this->section_->GetCfaLocationInfo(0x100, &fde, &loc_regs, ARCH_UNKNOWN)); in TYPED_TEST_P()
569 this->section_->TestSetCachedCieLocRegs(0x8000, cie_loc_regs); in TYPED_TEST_P()
573 ASSERT_TRUE(this->section_->GetCfaLocationInfo(0x100, &fde, &loc_regs, ARCH_UNKNOWN)); in TYPED_TEST_P()
598 ASSERT_TRUE(this->section_->Log(2, 0x1000, &fde, ARCH_UNKNOWN)); in TYPED_TEST_P()