Home
last modified time | relevance | path

Searched refs:rel_pc (Results 1 – 5 of 5) sorted by relevance

/system/core/libunwindstack/
DRegs.cpp66 uint64_t RegsArm::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() argument
68 return rel_pc; in GetAdjustedPc()
72 if (rel_pc < load_bias) { in GetAdjustedPc()
73 return rel_pc; in GetAdjustedPc()
75 uint64_t adjusted_rel_pc = rel_pc - load_bias; in GetAdjustedPc()
78 return rel_pc; in GetAdjustedPc()
84 if (rel_pc < 5 || !elf->memory()->Read(adjusted_rel_pc - 5, &value, sizeof(value)) || in GetAdjustedPc()
86 return rel_pc - 2; in GetAdjustedPc()
89 return rel_pc - 4; in GetAdjustedPc()
96 uint64_t RegsArm64::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() argument
[all …]
DRegs.h55 virtual uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) = 0;
100 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override;
108 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override;
116 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override;
124 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override;
DElf.h52 bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory) { in Step() argument
53 return valid_ && interface_->Step(rel_pc, regs, process_memory); in Step()
DElfInterface.h57 virtual bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory);
/system/core/libunwindstack/tests/
DRegsTest.cpp186 TEST_F(RegsTest, rel_pc) { in TEST_F() argument