| 136 | |
| 137 | #if defined(USE_SYMBOLIZE) |
| 138 | void OutputFrameId(intptr_t frame_id, BacktraceOutputHandler* handler) { |
| 139 | // Max unsigned 64-bit number in decimal has 20 digits (18446744073709551615). |
| 140 | // Hence, 30 digits should be more than enough to represent it in decimal |
| 141 | // (including the null-terminator). |
| 142 | char buf[30] = { '\0' }; |
| 143 | handler->HandleOutput("#"); |
| 144 | internal::itoa_r(frame_id, buf, sizeof(buf), 10, 1); |
| 145 | handler->HandleOutput(buf); |
| 146 | } |
| 147 | #endif // defined(USE_SYMBOLIZE) |
| 148 | |
| 149 | void ProcessBacktrace(void *const *trace, |
no test coverage detected