Home
last modified time | relevance | path

Searched refs:DwarfFde (Results 1 – 15 of 15) sorted by relevance

/system/core/libunwindstack/include/unwindstack/
DDwarfSection.h44 class iterator : public std::iterator<std::bidirectional_iterator_tag, DwarfFde*> {
73 const DwarfFde* operator*() {
79 std::vector<const DwarfFde*> fdes_;
93 virtual bool Log(uint8_t indent, uint64_t pc, const DwarfFde* fde) = 0;
95 virtual void GetFdes(std::vector<const DwarfFde*>* fdes) = 0;
97 virtual const DwarfFde* GetFdeFromPc(uint64_t pc) = 0;
99 virtual bool GetCfaLocationInfo(uint64_t pc, const DwarfFde* fde, dwarf_loc_regs_t* loc_regs) = 0;
116 std::unordered_map<uint64_t, DwarfFde> fde_entries_;
130 const DwarfFde* GetFdeFromOffset(uint64_t offset);
137 bool GetCfaLocationInfo(uint64_t pc, const DwarfFde* fde, dwarf_loc_regs_t* loc_regs) override;
[all …]
DDwarfStructs.h40 struct DwarfFde { struct
/system/core/libunwindstack/tests/
DDwarfSectionTest.cpp37 MOCK_METHOD3(Log, bool(uint8_t, uint64_t, const DwarfFde*));
39 MOCK_METHOD1(GetFdes, void(std::vector<const DwarfFde*>*));
41 MOCK_METHOD1(GetFdeFromPc, const DwarfFde*(uint64_t));
43 MOCK_METHOD3(GetCfaLocationInfo, bool(uint64_t, const DwarfFde*, dwarf_loc_regs_t*));
68 DwarfFde fde{}; in TEST_F()
80 DwarfFde fde{}; in TEST_F()
94 DwarfFde fde{}; in TEST_F()
110 static bool MockGetCfaLocationInfo(::testing::Unused, const DwarfFde* fde, in MockGetCfaLocationInfo()
119 DwarfFde fde{}; in TEST_F()
140 DwarfFde fde0{}; in TEST_F()
[all …]
DDwarfDebugFrameTest.cpp126 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
168 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x3600); in TYPED_TEST_P()
173 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
192 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
202 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x1600); in TYPED_TEST_P()
226 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x4600); in TYPED_TEST_P()
250 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x4600); in TYPED_TEST_P()
274 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
316 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x2600); in TYPED_TEST_P()
321 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
[all …]
DDwarfEhFrameTest.cpp65 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()
DDwarfSectionImplTest.cpp40 void GetFdes(std::vector<const DwarfFde*>*) override {} in GetFdes() argument
42 const DwarfFde* GetFdeFromPc(uint64_t) override { return nullptr; } in GetFdeFromPc()
498 DwarfFde fde{}; in TYPED_TEST_P()
526 DwarfFde fde{}; in TYPED_TEST_P()
556 DwarfFde fde{}; in TYPED_TEST_P()
DDwarfEhFrameWithHdrTest.cpp152 const DwarfFde* fde = this->eh_frame_->GetFdeFromPc(0x4600); in TYPED_TEST_P()
206 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
375 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x14000); in TYPED_TEST_P()
413 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x8000); in TYPED_TEST_P()
DDwarfCfaLogTest.cpp67 DwarfFde fde_;
DDwarfCfaTest.cpp65 DwarfFde fde_;
/system/core/libunwindstack/
DDwarfEhFrameWithHdr.cpp100 const DwarfFde* DwarfEhFrameWithHdr<AddressType>::GetFdeFromPc(uint64_t pc) { in GetFdeFromPc()
105 const DwarfFde* fde = this->GetFdeFromOffset(fde_offset); in GetFdeFromPc()
183 void DwarfEhFrameWithHdr<AddressType>::GetFdes(std::vector<const DwarfFde*>* fdes) { in GetFdes()
189 const DwarfFde* fde = this->GetFdeFromOffset(info->offset); in GetFdes()
DDwarfSection.cpp44 const DwarfFde* fde = GetFdeFromPc(pc); in Step()
248 const DwarfFde* DwarfSectionImpl<AddressType>::GetFdeFromOffset(uint64_t offset) { in GetFdeFromOffset()
253 DwarfFde* fde = &fde_entries_[offset]; in GetFdeFromOffset()
263 bool DwarfSectionImpl<AddressType>::FillInFdeHeader(DwarfFde* fde) { in FillInFdeHeader()
320 bool DwarfSectionImpl<AddressType>::FillInFde(DwarfFde* fde) { in FillInFde()
554 bool DwarfSectionImpl<AddressType>::GetCfaLocationInfo(uint64_t pc, const DwarfFde* fde, in GetCfaLocationInfo()
577 bool DwarfSectionImpl<AddressType>::Log(uint8_t indent, uint64_t pc, const DwarfFde* fde) { in Log()
619 void DwarfSectionImplNoHdr<AddressType>::InsertFde(const DwarfFde* fde) { in InsertFde()
656 bool DwarfSectionImplNoHdr<AddressType>::GetNextCieOrFde(DwarfFde** fde_entry) { in GetNextCieOrFde()
723 DwarfFde* fde = &fde_entries_[start_offset]; in GetNextCieOrFde()
[all …]
DDwarfEhFrameWithHdr.h66 const DwarfFde* GetFdeFromPc(uint64_t pc) override;
72 void GetFdes(std::vector<const DwarfFde*>* fdes) override;
DDwarfCfa.h75 DwarfCfa(DwarfMemory* memory, const DwarfFde* fde) : memory_(memory), fde_(fde) {} in DwarfCfa()
101 const DwarfFde* fde_;
/system/core/libunwindstack/tools/
Dunwind_info.cpp85 for (const DwarfFde* fde : *section) { in DumpDwarfSection()
Dunwind_reg_info.cpp67 const DwarfFde* fde = section->GetFdeFromPc(pc); in PrintRegInformation()