Lines Matching refs:unwindstack
55 : arch_(unwindstack::Regs::CurrentArch()), in UnwindHelper()
56 memory_(unwindstack::Memory::CreateProcessMemoryThreadCached(getpid())), in UnwindHelper()
57 jit_(unwindstack::CreateJitDebug(arch_, memory_)), in UnwindHelper()
58 dex_(unwindstack::CreateDexFiles(arch_, memory_)), in UnwindHelper()
65 unwindstack::Elf::SetCachingEnabled(true); in UnwindHelper()
80 unwindstack::Unwinder* Unwinder() { return &unwinder_; } in Unwinder()
83 unwindstack::LocalUpdatableMaps maps_;
84 unwindstack::ArchEnum arch_;
85 std::shared_ptr<unwindstack::Memory> memory_;
86 std::unique_ptr<unwindstack::JitDebug> jit_;
87 std::unique_ptr<unwindstack::DexFiles> dex_;
88 unwindstack::Unwinder unwinder_;
92 unwindstack::Unwinder* unwinder = UnwindHelper::Get(Thread::Current(), max_depth_)->Unwinder(); in Collect()
100 std::vector<unwindstack::FrameData>& frames = unwinder->frames(); in Collect()
115 bool BacktraceCollector::CollectImpl(unwindstack::Unwinder* unwinder) { in CollectImpl()
116 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::CreateFromLocal()); in CollectImpl()
148 unwindstack::ErrorCode error = unwinder->LastErrorCode(); in CollectImpl()
149 return error == unwindstack::ERROR_NONE || error == unwindstack::ERROR_MAX_FRAMES_EXCEEDED; in CollectImpl()