Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DArmExidxDecodeTest.cpp105 ASSERT_EQ(0x10004U, exidx_->cfa()); in TEST_P()
125 ASSERT_EQ(0x10008U, exidx_->cfa()); in TEST_P()
145 ASSERT_EQ(0x10100U, exidx_->cfa()); in TEST_P()
166 ASSERT_EQ(0xfffcU, exidx_->cfa()); in TEST_P()
186 ASSERT_EQ(0xfff8U, exidx_->cfa()); in TEST_P()
206 ASSERT_EQ(0xff00U, exidx_->cfa()); in TEST_P()
250 ASSERT_EQ(0x10004U, exidx_->cfa()); in TEST_P()
291 ASSERT_EQ(0x29U, exidx_->cfa()); in TEST_P()
334 ASSERT_EQ(0x10040U, exidx_->cfa()); in TEST_P()
363 ASSERT_EQ(1U, exidx_->cfa()); in TEST_P()
[all …]
/system/unwinding/libunwindstack/
DDwarfSection.cpp418 AddressType cfa; member
430 … if (!regular_memory->ReadFully(eval_info->cfa + loc->values[0], reg_ptr, sizeof(AddressType))) { in EvalRegister()
432 last_error_.address = eval_info->cfa + loc->values[0]; in EvalRegister()
437 *reg_ptr = eval_info->cfa + loc->values[0]; in EvalRegister()
520 eval_info.cfa = (*cur_regs)[loc->values[0]]; in Eval()
521 eval_info.cfa += loc->values[1]; in Eval()
529 eval_info.cfa = value; in Eval()
572 cur_regs->set_sp(eval_info.cfa); in Eval()
580 DwarfCfa<AddressType> cfa(&memory_, fde, arch); in GetCfaLocationInfo() local
585 if (!cfa.GetLocationInfo(pc, fde->cie->cfa_instructions_offset, fde->cie->cfa_instructions_end, in GetCfaLocationInfo()
[all …]
DArmExidx.h77 uint32_t cfa() { return cfa_; } in cfa() function
78 void set_cfa(uint32_t cfa) { cfa_ = cfa; } in set_cfa() argument
DDwarfCfa.cpp116 const auto cfa = &DwarfCfaInfo::kTable[cfa_low]; in GetLocationInfo() local
117 for (size_t i = 0; i < cfa->num_operands; i++) { in GetLocationInfo()
118 if (cfa->operands[i] == DW_EH_PE_block) { in GetLocationInfo()
130 if (!memory_->ReadEncodedValue<AddressType>(cfa->operands[i], &value)) { in GetLocationInfo()
208 const auto* cfa = &DwarfCfaInfo::kTable[op]; in LogInstruction() local
209 if (cfa->name[0] == '\0' || (arch_ != ARCH_ARM64 && op == 0x2d)) { in LogInstruction()
219 std::string log_string(cfa->name); in LogInstruction()
221 for (size_t i = 0; i < cfa->num_operands; i++) { in LogInstruction()
222 if (cfa->operands[i] == DW_EH_PE_block) { in LogInstruction()
236 if (!memory_->ReadEncodedValue<AddressType>(cfa->operands[i], &value)) { in LogInstruction()
[all …]
DElfInterfaceArm.cpp135 (*regs_arm)[ARM_REG_SP] = arm.cfa(); in StepExidx()