Home
last modified time | relevance | path

Searched refs:regs_arm (Results 1 – 2 of 2) sorted by relevance

/system/core/libunwindstack/
DElfInterfaceArm.cpp106 RegsArm* regs_arm = reinterpret_cast<RegsArm*>(regs); in StepExidx() local
112 ArmExidx arm(regs_arm, memory_, process_memory); in StepExidx()
113 arm.set_cfa(regs_arm->sp()); in StepExidx()
117 regs_arm->set_pc((*regs_arm)[ARM_REG_LR]); in StepExidx()
118 (*regs_arm)[ARM_REG_PC] = regs_arm->pc(); in StepExidx()
120 regs_arm->set_pc((*regs_arm)[ARM_REG_PC]); in StepExidx()
122 regs_arm->set_sp(arm.cfa()); in StepExidx()
123 (*regs_arm)[ARM_REG_SP] = regs_arm->sp(); in StepExidx()
/system/core/libunwindstack/tests/
DRegsTest.cpp245 RegsArm regs_arm; in TEST_F() local
251 regs_arm.set_pc(0x1500); in TEST_F()
252 ASSERT_EQ(0x500U, regs_arm.GetRelPc(&invalid_elf, &map_info)); in TEST_F()
253 ASSERT_EQ(0x500U, regs_arm.GetAdjustedPc(0x500U, &invalid_elf)); in TEST_F()