Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DLocalUnwinder.cpp96 uint64_t cur_pc = regs->pc(); in Unwind() local
99 MapInfo* map_info = GetMapInfo(cur_pc); in Unwind()
105 uint64_t rel_pc = elf->GetRelPc(cur_pc, map_info); in Unwind()
128 frame_info->emplace_back(map_info, cur_pc - pc_adjustment, rel_pc - pc_adjustment, in Unwind()
131 frame_info->emplace_back(map_info, cur_pc - pc_adjustment, rel_pc - pc_adjustment, "", 0); in Unwind()
137 (cur_pc == regs->pc() && cur_sp == regs->sp())) { in Unwind()
DDwarfCfa.cpp149 uint64_t* cur_pc) { in GetOperandString() argument
159 *cur_pc += value; in GetOperandString()
166 *cur_pc = value; in GetOperandString()
207 uint64_t* cur_pc) { in LogInstruction() argument
239 log_string += GetOperandString(cfa->display_operands[i], value, cur_pc); in LogInstruction()
280 uint64_t cur_pc = fde_->pc_start; in Log() local
281 uint64_t old_pc = cur_pc; in Log()
282 while ((cfa_offset = memory_->cur_offset()) < end_offset && cur_pc <= pc) { in Log()
293 if (!LogInstruction(indent, cfa_offset, cfa_low, &cur_pc)) { in Log()
300 cur_pc += cfa_low * fde_->cie->code_alignment_factor; in Log()
[all …]
DDwarfCfa.h91 AddressType cur_pc() { return cur_pc_; } in cur_pc() function
96 std::string GetOperandString(uint8_t operand, uint64_t value, uint64_t* cur_pc);
100 bool LogInstruction(uint32_t indent, uint64_t cfa_offset, uint8_t op, uint64_t* cur_pc);
DUnwinder.cpp154 uint64_t cur_pc = regs_->pc(); in Unwind() local
303 if (cur_pc == regs_->pc() && cur_sp == regs_->sp()) { in Unwind()
/system/core/libunwindstack/tests/
DDwarfCfaTest.cpp280 ASSERT_EQ(address, this->cfa_->cur_pc()); in TYPED_TEST_P()
293 ASSERT_EQ(address, this->cfa_->cur_pc()); in TYPED_TEST_P()
310 ASSERT_EQ(this->fde_.pc_start + 0x10, this->cfa_->cur_pc()); in TYPED_TEST_P()
323 ASSERT_EQ(this->fde_.pc_start + 0xc10U, this->cfa_->cur_pc()); in TYPED_TEST_P()
336 ASSERT_EQ(this->fde_.pc_start + 0x4080c10, this->cfa_->cur_pc()); in TYPED_TEST_P()