/system/core/libunwindstack/tests/ |
DwarfEhFrameTest.cpp | 179 uint64_t fde_offset; local 180 EXPECT_FALSE(this->eh_frame_->GetFdeOffsetBinary(0x100, &fde_offset, 10)); 186 EXPECT_TRUE(this->eh_frame_->GetFdeOffsetBinary(pc, &fde_offset, 10)) << "Failed at index " << i; 187 EXPECT_EQ(0x5000 + i * 0x20, fde_offset) << "Failed at index " << i; 188 EXPECT_TRUE(this->eh_frame_->GetFdeOffsetBinary(pc + 1, &fde_offset, 10)) << "Failed at index " 190 EXPECT_EQ(0x5000 + i * 0x20, fde_offset) << "Failed at index " << i; 191 EXPECT_TRUE(this->eh_frame_->GetFdeOffsetBinary(pc + 0xfff, &fde_offset, 10)) 193 EXPECT_EQ(0x5000 + i * 0x20, fde_offset) << "Failed at index " << i; 198 EXPECT_TRUE(this->eh_frame_->GetFdeOffsetBinary(pc, &fde_offset, 9)) << "Failed at index " << i; 199 EXPECT_EQ(0x5000 + i * 0x20, fde_offset) << "Failed at index " << i 222 uint64_t fde_offset; local 251 uint64_t fde_offset; local 268 uint64_t fde_offset; local 276 uint64_t fde_offset; local 296 uint64_t fde_offset; local 316 uint64_t fde_offset; local [all...] |
DwarfDebugFrameTest.cpp | 322 uint64_t fde_offset; local 323 ASSERT_FALSE(this->debug_frame_->GetFdeOffsetFromPc(0x1000, &fde_offset)); 327 ASSERT_FALSE(this->debug_frame_->GetFdeOffsetFromPc(0x100, &fde_offset)); 332 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc, &fde_offset)) << "Failed at index " << i; 333 EXPECT_EQ(0x5000 + i * 0x20, fde_offset) << "Failed at index " << i; 334 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc + 1, &fde_offset)) << "Failed at index " 336 EXPECT_EQ(0x5000 + i * 0x20, fde_offset) << "Failed at index " << i; 337 ASSERT_TRUE(this->debug_frame_->GetFdeOffsetFromPc(pc + 0xeff, &fde_offset)) 339 EXPECT_EQ(0x5000 + i * 0x20, fde_offset) << "Failed at index " << i; 340 ASSERT_FALSE(this->debug_frame_->GetFdeOffsetFromPc(pc + 0xfff, &fde_offset)) [all...] |
/system/core/libunwindstack/ |
DwarfEhFrame.h | 48 bool GetFdeOffsetFromPc(uint64_t pc, uint64_t* fde_offset) override; 71 bool GetFdeOffsetSequential(uint64_t pc, uint64_t* fde_offset); 73 bool GetFdeOffsetBinary(uint64_t pc, uint64_t* fde_offset, uint64_t total_entries);
|
DwarfEhFrame.cpp | 108 bool DwarfEhFrame<AddressType>::GetFdeOffsetBinary(uint64_t pc, uint64_t* fde_offset, 119 *fde_offset = info->offset; 130 *fde_offset = info->offset; 137 bool DwarfEhFrame<AddressType>::GetFdeOffsetSequential(uint64_t pc, uint64_t* fde_offset) { 145 *fde_offset = info->offset; 149 return GetFdeOffsetBinary(pc, fde_offset, fde_info_.size()); 185 *fde_offset = prev_info->offset; 192 *fde_offset = prev_info->offset; 199 bool DwarfEhFrame<AddressType>::GetFdeOffsetFromPc(uint64_t pc, uint64_t* fde_offset) { 206 return GetFdeOffsetBinary(pc, fde_offset, fde_count_) [all...] |
DwarfDebugFrame.h | 51 bool GetFdeOffsetFromPc(uint64_t pc, uint64_t* fde_offset) override;
|
DwarfDebugFrame.cpp | 280 bool DwarfDebugFrame<AddressType>::GetFdeOffsetFromPc(uint64_t pc, uint64_t* fde_offset) { 291 *fde_offset = info->offset;
|
DwarfSection.cpp | 37 uint64_t fde_offset; local 38 if (!GetFdeOffsetFromPc(pc, &fde_offset)) { 41 const DwarfFde* fde = GetFdeFromOffset(fde_offset);
|
/external/v8/src/ |
eh-frame.cc | 138 DCHECK_EQ(eh_frame_offset(), fde_offset()); 340 DCHECK_GE(eh_frame_offset(), fde_offset() + kInt32Size); 341 WritePaddingToAlignedSize(eh_frame_offset() - fde_offset() - kInt32Size); 345 int encoded_fde_size = eh_frame_offset() - fde_offset() - kInt32Size; 346 PatchInt32(fde_offset(), encoded_fde_size); 581 const int fde_offset = cie_size; local 592 start_ + fde_offset + EhFrameConstants::kProcedureAddressOffsetInFde; 597 start_ + fde_offset + EhFrameConstants::kProcedureSizeOffsetInFde; 600 const byte* fde_start = start_ + fde_offset; 607 const int fde_directives_offset = fde_offset + 4 * kInt32Size + 1 [all...] |
eh-frame.h | 170 return fde_offset() + EhFrameConstants::kProcedureAddressOffsetInFde; 174 return fde_offset() + EhFrameConstants::kProcedureSizeOffsetInFde; 181 int fde_offset() const { return cie_size_; } function in class:v8::internal::EhFrameWriter
|
/system/core/libunwindstack/include/unwindstack/ |
DwarfSection.h | 81 virtual bool GetFdeOffsetFromPc(uint64_t pc, uint64_t* fde_offset) = 0; 89 virtual const DwarfFde* GetFdeFromOffset(uint64_t fde_offset) = 0;
|
/toolchain/binutils/binutils-2.25/gold/ |
ehframe.h | 60 record_fde(section_offset_type fde_offset, unsigned char fde_encoding) 63 this->fde_offsets_.push_back(std::make_pair(fde_offset, fde_encoding)); 88 typedef std::pair<section_offset_type, unsigned char> Fde_offset; 91 typedef std::vector<Fde_offset> Fde_offsets; 142 section_offset_type fde_offset, unsigned char fde_encoding);
|
ehframe.cc | 215 // Given the offset FDE_OFFSET of an FDE in the .eh_frame section, and 225 section_offset_type fde_offset, 230 const unsigned char* p = eh_frame_contents + fde_offset + 8; 275 pc += eh_frame_address + fde_offset + 8; [all...] |
/external/libunwind/src/dwarf/ |
Gfind_proc_info-lsb.c | 40 int32_t fde_offset; member in struct:table_entry 402 unw_word_t fde_offset, unw_word_t start_ip) 412 tab->tab[length].fde_offset = fde_offset; 564 (int) tab.tab[i].fde_offset); 893 || (ret = dwarf_reads32 (as, a, &e_addr, &e->fde_offset, arg)) < 0) 978 fde_addr = e->fde_offset + debug_frame_base; 980 fde_addr = e->fde_offset + segbase; 981 Debug (1, "e->fde_offset = %lx, segbase = %lx, debug_frame_base = %lx, " 982 "fde_addr = %lx\n", (long) e->fde_offset, (long) segbase [all...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectWriter.cpp | 420 uint64_t fde_offset = pFrame.getSection().offset() + fde.getOffset() + local 422 int32_t offset = fde_offset - plt_offset; 423 if (plt_offset < fde_offset)
|