Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DElfInterfaceArm.cpp120 RegsArm* regs_arm = reinterpret_cast<RegsArm*>(regs); in StepExidx() local
126 ArmExidx arm(regs_arm, memory_, process_memory); in StepExidx()
127 arm.set_cfa(regs_arm->sp()); in StepExidx()
132 (*regs_arm)[ARM_REG_PC] = (*regs_arm)[ARM_REG_LR]; in StepExidx()
134 (*regs_arm)[ARM_REG_SP] = arm.cfa(); in StepExidx()
138 *finished = (regs_arm->pc() == 0) ? true : false; in StepExidx()
/system/core/libunwindstack/tests/
DRegsTest.cpp179 RegsArm regs_arm; in TEST_F() local
189 regs_arm.set_pc(0x1500); in TEST_F()
190 EXPECT_EQ(0x500U, invalid_elf->GetRelPc(regs_arm.pc(), &map_info)); in TEST_F()
191 EXPECT_EQ(2U, regs_arm.GetPcAdjustment(0x500U, invalid_elf)); in TEST_F()
192 EXPECT_EQ(2U, regs_arm.GetPcAdjustment(0x511U, invalid_elf)); in TEST_F()
DUnwinderTest.cpp1275 RegsFake regs_arm(10); in TEST_F() local
1276 regs_arm.FakeSetArch(ARCH_ARM); in TEST_F()
1277 Unwinder unwinder32(10, maps_.get(), &regs_arm, process_memory_); in TEST_F()