| 710 | } |
| 711 | |
| 712 | string StackTrace::ToLogFormatHexString() const { |
| 713 | string ret; |
| 714 | for (int i = 0; i < num_frames_; i++) { |
| 715 | void* pc = frames_[i]; |
| 716 | StringAppendF(&ret, " @ %*p\n", kPrintfPointerFieldWidth, pc); |
| 717 | } |
| 718 | return ret; |
| 719 | } |
| 720 | |
| 721 | uint64_t StackTrace::HashCode() const { |
| 722 | return util_hash::CityHash64(reinterpret_cast<const char*>(frames_), |
no test coverage detected