Lines Matching defs:pc
46 bool DfxAccessors::GetMapByPcAndCtx(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg)
52 if (ctx->map != nullptr && ctx->map->Contain(static_cast<uint64_t>(pc))) {
58 if (ctx->maps == nullptr || !ctx->maps->FindMapByAddr(pc, map) || (map == nullptr)) {
131 int DfxAccessorsLocal::FindUnwindTable(uintptr_t pc, UnwindTableInfo& uti, void *arg)
145 ret = elf->FindUnwindTableInfo(pc, ctx->map, uti);
147 ret = DfxElf::FindUnwindTableLocal(pc, uti);
155 int DfxAccessorsLocal::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg)
157 if (!DfxAccessors::GetMapByPcAndCtx(pc, map, arg)) {
228 int DfxAccessorsRemote::FindUnwindTable(uintptr_t pc, UnwindTableInfo& uti, void *arg)
235 if (pc >= ctx->di.startPc && pc < ctx->di.endPc) {
236 DFXLOGU("FindUnwindTable had pc matched");
246 int ret = elf->FindUnwindTableInfo(pc, ctx->map, uti);
253 int DfxAccessorsRemote::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg)
255 if (!DfxAccessors::GetMapByPcAndCtx(pc, map, arg)) {
277 int DfxAccessorsCustomize::FindUnwindTable(uintptr_t pc, UnwindTableInfo& uti, void *arg)
282 return accessors_->FindUnwindTable(pc, uti, arg);
285 int DfxAccessorsCustomize::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg)
290 return accessors_->GetMapByPc(pc, map, arg);