Lines Matching defs:pcs
63 bool GetPcs(size_t &size, uintptr_t* pcs)
70 size = OHOS::HiviewDFX::FpUnwinder::GetPtr()->Unwind(pc, fp, pcs, MAX_STACK_SIZE);
72 size = OHOS::HiviewDFX::FpUnwinder::GetPtr()->UnwindSafe(pc, fp, pcs, MAX_STACK_SIZE);
91 size = unwBackTrace(reinterpret_cast<void**>(pcs), MAX_STACK_SIZE);
98 uintptr_t pcs[MAX_STACK_SIZE] = {0};
100 if (!GetPcs(unwSz, pcs)) {
111 auto iter = stackInfoCache.find(reinterpret_cast<void *>(pcs[i]));
115 if (!dladdr(reinterpret_cast<void *>(pcs[i]), &info)) {
119 stackInfoCache.emplace(reinterpret_cast<void *>(pcs[i]), info);
123 uint64_t offset = info.dli_fbase ? pcs[i] - ToUintPtr(info.dli_fbase) : 0;