Searched refs:eh_frame_ (Results 1 – 4 of 4) sorted by relevance
/system/core/libunwindstack/tests/ |
D | DwarfEhFrameWithHdrTest.cpp | 67 eh_frame_ = new TestDwarfEhFrameWithHdr<TypeParam>(&memory_); in SetUp() 71 void TearDown() override { delete eh_frame_; } in TearDown() 74 TestDwarfEhFrameWithHdr<TypeParam>* eh_frame_ = nullptr; member in unwindstack::DwarfEhFrameWithHdrTest 86 ASSERT_TRUE(this->eh_frame_->Init(0x1000, 0x100, 0)); in TYPED_TEST_P() 87 EXPECT_EQ(1U, this->eh_frame_->TestGetVersion()); in TYPED_TEST_P() 88 EXPECT_EQ(DW_EH_PE_udata2, this->eh_frame_->TestGetPtrEncoding()); in TYPED_TEST_P() 89 EXPECT_EQ(DW_EH_PE_sdata4, this->eh_frame_->TestGetTableEncoding()); in TYPED_TEST_P() 90 EXPECT_EQ(4U, this->eh_frame_->TestGetTableEntrySize()); in TYPED_TEST_P() 91 EXPECT_EQ(126U, this->eh_frame_->TestGetFdeCount()); in TYPED_TEST_P() 92 EXPECT_EQ(0x500U, this->eh_frame_->TestGetPtrOffset()); in TYPED_TEST_P() [all …]
|
D | DwarfEhFrameTest.cpp | 36 eh_frame_ = new DwarfEhFrame<TypeParam>(&memory_); in SetUp() 40 void TearDown() override { delete eh_frame_; } in TearDown() 43 DwarfEhFrame<TypeParam>* eh_frame_ = nullptr; member in unwindstack::DwarfEhFrameTest 65 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x5100); in TYPED_TEST_P() 104 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x5100); in TYPED_TEST_P()
|
/system/core/libunwindstack/ |
D | ElfInterface.cpp | 65 if (eh_frame_ != nullptr && eh_frame_->GetFdeFromPc(pc) != nullptr) { in IsValidPc() 129 eh_frame_.reset(new DwarfEhFrameWithHdr<AddressType>(memory_)); in InitHeadersWithTemplate() 130 if (!eh_frame_->Init(eh_frame_hdr_offset_, eh_frame_hdr_size_, load_bias)) { in InitHeadersWithTemplate() 131 eh_frame_.reset(nullptr); in InitHeadersWithTemplate() 135 if (eh_frame_.get() == nullptr && eh_frame_offset_ != 0) { in InitHeadersWithTemplate() 138 eh_frame_.reset(new DwarfEhFrame<AddressType>(memory_)); in InitHeadersWithTemplate() 139 if (!eh_frame_->Init(eh_frame_offset_, eh_frame_size_, load_bias)) { in InitHeadersWithTemplate() 140 eh_frame_.reset(nullptr); in InitHeadersWithTemplate() 144 if (eh_frame_.get() == nullptr) { in InitHeadersWithTemplate() 471 DwarfSection* eh_frame = eh_frame_.get(); in Step() [all …]
|
/system/core/libunwindstack/include/unwindstack/ |
D | ElfInterface.h | 93 DwarfSection* eh_frame() { return eh_frame_.get(); } in eh_frame() 164 std::unique_ptr<DwarfSection> eh_frame_; variable
|