Lines Matching refs:sp
176 bool Step(uintptr_t& pc, uintptr_t& sp, void *ctx);
209 uintptr_t sp = 0;
379 bool Unwinder::Step(uintptr_t& pc, uintptr_t& sp, void *ctx)
381 return impl_->Step(pc, sp, ctx);
674 ", fp:" + std::to_string(frame.fp) + ", sp:" + std::to_string(frame.sp) +
678 DFXLOGD("+++ark pc: %{public}p, fp: %{public}p, sp: %{public}p, isJsFrame: %{public}d.",
680 reinterpret_cast<void *>(frame.fp), reinterpret_cast<void *>(frame.sp), frame.isJsFrame);
694 if (DfxArk::GetArkNativeFrameInfo(pid, frame.pc, frame.fp, frame.sp, jsFrames, size) < 0) {
716 ArkUnwindParam arkParam(memory_.get(), &(Unwinder::AccessMem), &frame.fp, &frame.sp, &frame.pc,
720 ret = DfxArk::StepArkFrame(memory_.get(), &(Unwinder::AccessMem), &frame.fp, &frame.sp, &frame.pc,
732 DFXLOGD("---ark pc: %{public}p, fp: %{public}p, sp: %{public}p, isJsFrame: %{public}d.",
734 reinterpret_cast<void *>(frame.fp), reinterpret_cast<void *>(frame.sp), frame.isJsFrame);
766 frame.sp = regs_->GetSp();
782 uintptr_t prevSp = frame.sp;
787 if (frame.pc == prevPc && frame.sp == prevSp) {
790 DFXLOGU("Failed to update pc and sp, tid: %{public}d", uctx->pid);
792 DFXLOGU("Failed to update pc and sp");
872 bool Unwinder::Impl::Step(uintptr_t& pc, uintptr_t& sp, void *ctx)
882 frame.sp = sp;
892 sp = frame.sp;
903 DFXLOGU("+pc: %{public}p, sp: %{public}p, fp: %{public}p", reinterpret_cast<void *>(frame.pc),
904 reinterpret_cast<void *>(frame.sp), reinterpret_cast<void *>(frame.fp));
905 uintptr_t prevSp = frame.sp;
957 regs_->SetSp(frame.sp);
1064 frame.sp = regs_->GetSp();
1066 if (!isFpStep_ && (map != nullptr) && (!map->IsVdsoMap()) && (frame.sp < prevSp)) {
1067 DFXLOGU("Illegal sp value");
1074 DFXLOGU("-pc: %{public}p, sp: %{public}p, fp: %{public}p, ret: %{public}d", reinterpret_cast<void *>(frame.pc),
1075 reinterpret_cast<void *>(frame.sp), reinterpret_cast<void *>(frame.fp), ret);
1090 uintptr_t sp = regs->GetSp();
1091 if (ret && (!memory_->ReadUptr(sp, &tmp, false))) {
1166 dfxFrame.sp = static_cast<uint64_t>(frame.sp);
1304 uintptr_t lockPtrAddr = firstFrameSp_ + 56; // 56 : sp + 0x38