Lines Matching refs:frame
92 std::string Backtrace::FormatFrameData(const backtrace_frame_data_t* frame) { in FormatFrameData() argument
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()
106 std::string line(StringPrintf("#%02zu pc %" PRIPTR " ", frame->num, frame->rel_pc)); in FormatFrameData()
110 if (frame->map.offset != 0) { in FormatFrameData()
111 line += " (offset " + StringPrintf("0x%" PRIx64, frame->map.offset) + ")"; in FormatFrameData()
113 if (!frame->func_name.empty()) { in FormatFrameData()
114 line += " (" + frame->func_name; in FormatFrameData()
115 if (frame->func_offset) { in FormatFrameData()
116 line += StringPrintf("+%" PRIu64, frame->func_offset); in FormatFrameData()