diff options
Diffstat (limited to 'libunwindstack/include/unwindstack/RegsArm.h')
-rw-r--r-- | libunwindstack/include/unwindstack/RegsArm.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libunwindstack/include/unwindstack/RegsArm.h b/libunwindstack/include/unwindstack/RegsArm.h index 5af90d3f5..31e6797fa 100644 --- a/libunwindstack/include/unwindstack/RegsArm.h +++ b/libunwindstack/include/unwindstack/RegsArm.h @@ -34,17 +34,21 @@ class RegsArm : public RegsImpl<uint32_t> { RegsArm(); virtual ~RegsArm() = default; - virtual ArchEnum Arch() override final; + ArchEnum Arch() override final; uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf) override; - void SetFromRaw() override; - bool SetPcFromReturnAddress(Memory* process_memory) override; bool StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) override; - virtual void IterateRegisters(std::function<void(const char*, uint64_t)>) override final; + void IterateRegisters(std::function<void(const char*, uint64_t)>) override final; + + uint64_t pc() override; + uint64_t sp() override; + + void set_pc(uint64_t pc) override; + void set_sp(uint64_t sp) override; static Regs* Read(void* data); |