Lines Matching refs:map
41 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace() argument
42 : pid_(pid), tid_(tid), map_(map), map_shared_(true) { in Backtrace()
56 std::string Backtrace::GetFunctionName(uint64_t pc, uint64_t* offset, const backtrace_map_t* map) { in GetFunctionName() argument
58 if (map == nullptr) { in GetFunctionName()
60 map = &map_value; in GetFunctionName()
63 if (map->start == 0 || (map->flags & PROT_DEVICE_MAP)) { in GetFunctionName()
94 if (BacktraceMap::IsValid(frame->map)) { in FormatFrameData()
95 map_name = frame->map.Name(); in FormatFrameData()
96 if (!frame->map.name.empty()) { in FormatFrameData()
99 map_name += StringPrintf(":%" PRIPTR "]", frame->map.start); in FormatFrameData()
110 if (frame->map.offset != 0) { in FormatFrameData()
111 line += " (offset " + StringPrintf("0x%" PRIx64, frame->map.offset) + ")"; in FormatFrameData()
124 void Backtrace::FillInMap(uint64_t pc, backtrace_map_t* map) { in FillInMap() argument
126 map_->FillIn(pc, map); in FillInMap()
130 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create() argument
141 return new UnwindStackCurrent(pid, tid, map); in Create()
143 return new UnwindStackPtrace(pid, tid, map); in Create()