Lines Matching defs:map
214 std::shared_ptr<DfxMap> map = nullptr;
229 void AddFrame(const StepFrame& frame, std::shared_ptr<DfxMap> map);
909 std::shared_ptr<DfxMap> map = nullptr;
919 map = iter->second.map;
920 AddFrame(frame, map);
926 // 2. find map
927 MAYBE_UNUSED int mapRet = acc_->GetMapByPc(frame.pc, map, ctx);
930 DFXLOGW("Failed to get map with ark, frames size: %{public}zu", frames_.size());
934 DFXLOGU("Failed to get map, frames size: %{public}zu", frames_.size());
939 AddFrame(frame, map);
945 if (stopWhenArkFrame_ && (map != nullptr && map->IsArkExecutable())) {
949 if ((enableMixstack_) && ((map != nullptr && map->IsArkExecutable()) || frame.isJsFrame)) {
965 if (enableFpCheckMapExec_ && (map != nullptr && !map->IsMapExec())) {
966 DFXLOGE("Fp step check map is not exec");
1018 cache.map = map;
1066 if (!isFpStep_ && (map != nullptr) && (!map->IsVdsoMap()) && (frame.sp < prevSp)) {
1154 void Unwinder::Impl::AddFrame(const StepFrame& frame, std::shared_ptr<DfxMap> map)
1172 dfxFrame.map = map;
1218 if (frame.map == nullptr) {
1224 frame.mapName = frame.map->GetElfName();
1226 frame.relPc = frame.map->GetRelPc(frame.pc);
1227 frame.mapOffset = frame.map->offset;
1229 auto elf = frame.map->GetElf();
1245 if (frame.map == nullptr) {
1246 DFXLOGU("Current js frame is not map.");
1249 DFX_TRACE_SCOPED_DLSYM("FillJsFrame:%s", frame.map->name.c_str());
1250 DFXLOGU("Fill js frame, map name: %{public}s", frame.map->name.c_str());
1251 auto hap = frame.map->GetHap();
1253 DFXLOGW("Get hap error, name: %{public}s", frame.map->name.c_str());
1259 static_cast<uintptr_t>(frame.map->begin), static_cast<uintptr_t>(frame.map->offset), &jsFunction) < 0) {
1261 reinterpret_cast<void *>(frame.pc), reinterpret_cast<void *>(frame.map->begin));
1266 if (!hap->ParseHapInfo(pid_, frame.pc, static_cast<uintptr_t>(frame.funcOffset), frame.map, &jsFunction)) {
1282 std::shared_ptr<DfxMap> map = nullptr;
1283 if ((maps == nullptr) || !maps->FindMapByAddr(pc, map) || map == nullptr) {
1284 DFXLOGE("Find map error");
1288 frame.map = map;
1327 std::shared_ptr<DfxMap> map = nullptr;
1332 if ((map != nullptr) && map->Contain(frame.pc)) {
1333 DFXLOGU("map had matched");
1335 if ((maps_ == nullptr) || !maps_->FindMapByAddr(pcs[i], map) || (map == nullptr)) {
1336 DFXLOGE("Find map error");
1339 frame.map = map;
1362 std::shared_ptr<DfxMap> map = nullptr;
1363 if (!maps->FindMapByAddr(pc, map) || (map == nullptr)) {
1364 DFXLOGE("Find map is null");
1367 uint64_t relPc = map->GetRelPc(static_cast<uint64_t>(pc));
1368 auto elf = map->GetElf();