Home
last modified time | relevance | path

Searched refs:fdes (Results 1 – 6 of 6) sorted by relevance

/system/unwinding/libunwindstack/tests/
DDwarfDebugFrameTest.cpp126 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P() local
127 this->debug_frame_->GetFdes(&fdes); in TYPED_TEST_P()
129 ASSERT_EQ(4U, fdes.size()); in TYPED_TEST_P()
131 EXPECT_EQ(0x5000U, fdes[0]->cie_offset); in TYPED_TEST_P()
132 EXPECT_EQ(0x5110U, fdes[0]->cfa_instructions_offset); in TYPED_TEST_P()
133 EXPECT_EQ(0x5200U, fdes[0]->cfa_instructions_end); in TYPED_TEST_P()
134 EXPECT_EQ(0x1500U, fdes[0]->pc_start); in TYPED_TEST_P()
135 EXPECT_EQ(0x1700U, fdes[0]->pc_end); in TYPED_TEST_P()
136 EXPECT_EQ(0U, fdes[0]->lsda_address); in TYPED_TEST_P()
137 EXPECT_TRUE(fdes[0]->cie != nullptr); in TYPED_TEST_P()
[all …]
DDwarfEhFrameWithHdrTest.cpp246 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P() local
247 this->eh_frame_->GetFdes(&fdes); in TYPED_TEST_P()
248 ASSERT_FALSE(fdes.empty()); in TYPED_TEST_P()
249 ASSERT_EQ(1U, fdes.size()); in TYPED_TEST_P()
250 EXPECT_EQ(0x4500U, fdes[0]->pc_start); in TYPED_TEST_P()
251 EXPECT_EQ(0x4700U, fdes[0]->pc_end); in TYPED_TEST_P()
302 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P() local
303 this->eh_frame_->GetFdes(&fdes); in TYPED_TEST_P()
304 ASSERT_EQ(4U, fdes.size()); in TYPED_TEST_P()
306 EXPECT_EQ(0x4600U, fdes[0]->pc_start); in TYPED_TEST_P()
[all …]
/system/unwinding/libunwindstack/
DDwarfSection.cpp718 void DwarfSectionImpl<AddressType>::GetFdes(std::vector<const DwarfFde*>* fdes) { in GetFdes() argument
723 fdes->push_back(GetFdeFromOffset(it.second)); in GetFdes()
756 std::vector<FdeInfo> fdes; in BuildFdeIndex() local
764 fdes.push_back({fde->pc_start, fde->pc_end, initial_offset}); in BuildFdeIndex()
770 std::sort(fdes.begin(), fdes.end(), [](const FdeInfo& a, const FdeInfo& b) { in BuildFdeIndex()
778 if (!fdes.empty()) { in BuildFdeIndex()
779 FdeInfo filling = fdes.back(); // Entry with the minimal pc_start seen so far. in BuildFdeIndex()
780 for (ssize_t i = fdes.size() - 1; i >= 0; i--) { // Iterate backwards. in BuildFdeIndex()
781 uint64_t prev_pc_end = (i > 0) ? fdes[i - 1].pc_end : 0; in BuildFdeIndex()
783 if (prev_pc_end < fdes[i].pc_start && filling.pc_start < fdes[i].pc_start) { in BuildFdeIndex()
[all …]
DDwarfEhFrameWithHdr.cpp197 void DwarfEhFrameWithHdr<AddressType>::GetFdes(std::vector<const DwarfFde*>* fdes) { in GetFdes() argument
217 fdes->push_back(fde); in GetFdes()
DDwarfEhFrameWithHdr.h69 void GetFdes(std::vector<const DwarfFde*>* fdes) override;
/system/unwinding/libunwindstack/include/unwindstack/
DDwarfSection.h97 virtual void GetFdes(std::vector<const DwarfFde*>* fdes) = 0;
139 void GetFdes(std::vector<const DwarfFde*>* fdes) override;
168 static void InsertFde(uint64_t fde_offset, const DwarfFde* fde, /*out*/ DwarfFdeMap& fdes);