Lines Matching refs:unwinder

25 #include "unwinder.h"

39 std::shared_ptr<Unwinder> unwinder = nullptr;
70 static bool GetUnwinder(void* data, std::shared_ptr<Unwinder>& unwinder, bool& isFp)
73 if ((dataPtr != nullptr) && (dataPtr->unwinder != nullptr)) {
74 unwinder = dataPtr->unwinder;
75 unwinder->EnableFillFrames(dataPtr->isFillFrames);
76 unwinder->EnableUnwindCache(dataPtr->isCache);
80 DFXLOGE("Failed to get unwinder");
86 std::shared_ptr<Unwinder> unwinder = nullptr;
88 if (!GetUnwinder(data, unwinder, isFp)) {
91 MAYBE_UNUSED bool unwRet = unwinder->UnwindLocal(false, isFp);
94 unwSize = unwinder->GetPcs().size();
96 unwSize = unwinder->GetFrames().size();
105 if ((dataPtr == nullptr) || (dataPtr->unwinder == nullptr)) {
110 if (!dataPtr->unwinder->GetStackRange(stackBottom, stackTop)) {
117 dataPtr->unwinder->SetRegs(regs);
124 dataPtr->unwinder->EnableFpCheckMapExec(false);
125 dataPtr->unwinder->UnwindByFp(&context);
126 auto unwSize = dataPtr->unwinder->GetPcs().size();
130 auto& pcs = dataPtr->unwinder->GetPcs();
215 data.unwinder = std::make_shared<Unwinder>();
231 data.unwinder = std::make_shared<Unwinder>();
247 data.unwinder = std::make_shared<Unwinder>();
263 data.unwinder = std::make_shared<Unwinder>();
279 data.unwinder = std::make_shared<Unwinder>();
296 data.unwinder = std::make_shared<Unwinder>();
315 data.unwinder = std::make_shared<Unwinder>();
334 data.unwinder = std::make_shared<Unwinder>(false);
350 data.unwinder = std::make_shared<Unwinder>(false);
365 data.unwinder = std::make_shared<Unwinder>(false);