Lines Matching refs:map_info

97 FrameData* Unwinder::FillInFrame(MapInfo* map_info, Elf* elf, uint64_t rel_pc,  in FillInFrame()  argument
107 if (map_info == nullptr) { in FillInFrame()
113 frame->map_name = map_info->name(); in FillInFrame()
114 if (embedded_soname_ && map_info->elf_start_offset() != 0 && !frame->map_name.empty()) { in FillInFrame()
125 frame->map_elf_start_offset = map_info->elf_start_offset(); in FillInFrame()
126 frame->map_exact_offset = map_info->offset(); in FillInFrame()
127 frame->map_start = map_info->start(); in FillInFrame()
128 frame->map_end = map_info->end(); in FillInFrame()
129 frame->map_flags = map_info->flags(); in FillInFrame()
169 MapInfo* map_info = maps_->Find(regs_->pc()); in Unwind() local
174 if (map_info == nullptr) { in Unwind()
180 if (ShouldStop(map_suffixes_to_ignore, map_info->name())) { in Unwind()
183 elf = map_info->GetElf(process_memory_, arch_); in Unwind()
186 const std::string& map_name = map_info->name(); in Unwind()
187 if (!elf_from_memory_not_file_ && map_info->memory_backed_elf() && !map_name.empty() && in Unwind()
192 rel_pc = elf->GetRelPc(step_pc, map_info); in Unwind()
194 if (!(map_info->flags() & MAPS_FLAGS_JIT_SYMFILE_MAP)) { in Unwind()
206 if (!elf->valid() && jit_debug_ != nullptr && (map_info->flags() & PROT_EXEC)) { in Unwind()
218 if (map_info == nullptr || initial_map_names_to_skip == nullptr || in Unwind()
220 basename(map_info->name().c_str())) == initial_map_names_to_skip->end()) { in Unwind()
234 frame = FillInFrame(map_info, elf, rel_pc, pc_adjustment); in Unwind()
244 if (map_info != nullptr) { in Unwind()
245 if (map_info->flags() & MAPS_FLAGS_DEVICE_MAP) { in Unwind()
365 MapInfo* map_info = maps_->Find(frame.map_start); in FormatFrame() local
366 if (map_info != nullptr && display_build_id_) { in FormatFrame()
367 std::string build_id = map_info->GetPrintableBuildID(); in FormatFrame()
449 MapInfo* map_info = maps->Find(pc); in BuildFrameFromPcOnly() local
450 if (map_info == nullptr || arch == ARCH_UNKNOWN) { in BuildFrameFromPcOnly()
456 Elf* elf = map_info->GetElf(process_memory, arch); in BuildFrameFromPcOnly()
458 uint64_t relative_pc = elf->GetRelPc(pc, map_info); in BuildFrameFromPcOnly()
478 frame.map_name = map_info->name(); in BuildFrameFromPcOnly()
479 frame.map_elf_start_offset = map_info->elf_start_offset(); in BuildFrameFromPcOnly()
480 frame.map_exact_offset = map_info->offset(); in BuildFrameFromPcOnly()
481 frame.map_start = map_info->start(); in BuildFrameFromPcOnly()
482 frame.map_end = map_info->end(); in BuildFrameFromPcOnly()
483 frame.map_flags = map_info->flags(); in BuildFrameFromPcOnly()