/system/unwinding/libunwindstack/ |
D | Unwinder.cpp | 65 frame->rel_pc = dex_pc - frame->map_info->start(); in FillInDexFrame() 70 frame->rel_pc = dex_pc; in FillInDexFrame() 88 FrameData* Unwinder::FillInFrame(std::shared_ptr<MapInfo>& map_info, Elf* /*elf*/, uint64_t rel_pc, in FillInFrame() argument 95 frame->rel_pc = rel_pc - pc_adjustment; in FillInFrame() 145 uint64_t rel_pc; in Unwind() local 150 rel_pc = step_pc; in Unwind() 167 rel_pc = elf->GetRelPc(step_pc, map_info.get()); in Unwind() 170 step_pc = rel_pc; in Unwind() 173 pc_adjustment = GetPcAdjustment(rel_pc, elf, arch_); in Unwind() 207 frame = FillInFrame(map_info, elf, rel_pc, pc_adjustment); in Unwind() [all …]
|
D | Regs.cpp | 175 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch) { in GetPcAdjustment() argument 183 if (rel_pc < load_bias) { in GetPcAdjustment() 184 if (rel_pc < 2) { in GetPcAdjustment() 189 uint64_t adjusted_rel_pc = rel_pc - load_bias; in GetPcAdjustment() 209 if (rel_pc < 4) { in GetPcAdjustment() 216 if (rel_pc == 0) { in GetPcAdjustment()
|
D | Elf.cpp | 184 bool Elf::StepIfSignalHandler(uint64_t rel_pc, Regs* regs, Memory* process_memory) { in StepIfSignalHandler() argument 190 if (rel_pc < static_cast<uint64_t>(load_bias_)) { in StepIfSignalHandler() 193 return regs->StepIfSignalHandler(rel_pc - load_bias_, this, process_memory); in StepIfSignalHandler() 197 bool Elf::Step(uint64_t rel_pc, Regs* regs, Memory* process_memory, bool* finished, in Step() argument 205 return interface_->Step(rel_pc, regs, process_memory, finished, is_signal_frame); in Step()
|
/system/unwinding/libunwindstack/tests/ |
D | VerifyBionicTerminationTest.cpp | 51 static DwarfLocationEnum GetReturnAddressLocation(uint64_t rel_pc, DwarfSection* section) { in GetReturnAddressLocation() argument 56 const DwarfFde* fde = section->GetFdeFromPc(rel_pc); in GetReturnAddressLocation() 61 if (!section->GetCfaLocationInfo(rel_pc, fde, ®s, ARCH_UNKNOWN)) { in GetReturnAddressLocation() 86 DwarfLocationEnum location = GetReturnAddressLocation(frame.rel_pc, interface->debug_frame()); in VerifyReturnAddress() 91 location = GetReturnAddressLocation(frame.rel_pc, interface->eh_frame()); in VerifyReturnAddress()
|
D | UnwinderTest.cpp | 216 EXPECT_EQ(0U, frame->rel_pc); in TEST_F() 233 EXPECT_EQ(0x100U, frame->rel_pc); in TEST_F() 250 EXPECT_EQ(0x200U, frame->rel_pc); in TEST_F() 287 EXPECT_EQ(0U, frame->rel_pc); in TEST_F() 304 EXPECT_EQ(0x100U, frame->rel_pc); in TEST_F() 321 EXPECT_EQ(0x200U, frame->rel_pc); in TEST_F() 353 EXPECT_EQ(0x5500U, frame->rel_pc); in TEST_F() 385 EXPECT_EQ(0x8500U, frame->rel_pc); in TEST_F() 417 EXPECT_EQ(0U, frame->rel_pc); in TEST_F() 456 EXPECT_EQ(0U, frame->rel_pc); in TEST_F() [all …]
|
D | AndroidUnwinderTest.cpp | 289 ASSERT_EQ(frame_context.rel_pc, frame_reg.rel_pc); in TEST_F()
|
D | RegsTest.cpp | 99 TEST_F(RegsTest, rel_pc) { in TEST_F() argument
|
D | ElfTest.cpp | 279 TEST_F(ElfTest, rel_pc) { in TEST_F() argument
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | Elf.h | 57 bool StepIfSignalHandler(uint64_t rel_pc, Regs* regs, Memory* process_memory); 59 bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory, bool* finished,
|
D | Unwinder.h | 44 uint64_t rel_pc; member 136 FrameData* FillInFrame(std::shared_ptr<MapInfo>& map_info, Elf* elf, uint64_t rel_pc,
|
D | Regs.h | 119 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch);
|
D | ElfInterface.h | 97 virtual bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory, bool* finished,
|
/system/core/debuggerd/proto/ |
D | tombstone.proto | 160 uint64 rel_pc = 1; field
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone_proto_to_text.cpp | 222 frame.rel_pc(), frame.file_name().c_str()); in print_backtrace()
|
D | tombstone_proto.cpp | 371 f->set_rel_pc(frame.rel_pc); in fill_in_backtrace_frame()
|