Lines Matching refs:frame
85 std::string Backtrace::FormatFrameData(const backtrace_frame_data_t* frame) { in FormatFrameData() argument
87 if (BacktraceMap::IsValid(frame->map)) { in FormatFrameData()
88 map_name = frame->map.Name(); in FormatFrameData()
89 if (!frame->map.name.empty()) { in FormatFrameData()
92 map_name += StringPrintf(":%" PRIPTR "]", frame->map.start); in FormatFrameData()
99 std::string line(StringPrintf("#%02zu pc %" PRIPTR " ", frame->num, frame->rel_pc)); in FormatFrameData()
103 if (frame->map.offset != 0) { in FormatFrameData()
104 line += " (offset " + StringPrintf("0x%" PRIx64, frame->map.offset) + ")"; in FormatFrameData()
106 if (!frame->func_name.empty()) { in FormatFrameData()
107 line += " (" + frame->func_name; in FormatFrameData()
108 if (frame->func_offset) { in FormatFrameData()
109 line += StringPrintf("+%" PRIu64, frame->func_offset); in FormatFrameData()