Lines Matching defs:unwinder
81 std::shared_ptr<Unwinder> unwinder, pid_t vmPid)
85 if (process == nullptr || unwinder == nullptr) {
86 DFXLOGW("%{public}s::process or unwinder is not initialized.", __func__);
92 int unwCnt = UnwindKeyThread(request, process, unwinder, vmPid) ? 1 : 0;
96 unwCnt += UnwindOtherThread(process, unwinder, vmPid);
104 Printer::PrintThreadFaultStackByConfig(process, process->vmThread_, unwinder);
112 Printer::PrintThreadFaultStackByConfig(process, process->keyThread_, unwinder);
116 Printer::PrintProcessMapsByConfig(unwinder->GetMaps());
128 std::shared_ptr<Unwinder> unwinder, pid_t vmPid)
143 unwinder->SetIsJitCrashFlag(ProcessDumper::GetInstance().IsCrash());
144 auto unwindAsyncThread = std::make_shared<DfxUnwindAsyncThread>(unwThread, unwinder, request->stackId);
166 Printer::PrintDumpHeader(request, process, unwinder);
177 int DfxUnwindRemote::UnwindOtherThread(std::shared_ptr<DfxProcess> process, std::shared_ptr<Unwinder> unwinder,
183 unwinder->SetIsJitCrashFlag(false);
194 unwinder->SetRegs(regs);
206 bool ret = unwinder->UnwindRemote(pid, withRegs, DfxConfig::GetConfig().maxFrameNums);
210 thread->SetFrames(unwinder->GetFrames());
212 LockParser::ParseLockInfo(unwinder, pid, tid);
216 thread->SetFrames(unwinder->GetFrames());
220 ReportUnwinderException(unwinder->GetLastErrorCode());