| 22 | } |
| 23 | |
| 24 | const void *const *StackTrace::Addresses(size_t* count) const { |
| 25 | *count = count_; |
| 26 | if (count_) |
| 27 | return trace_; |
| 28 | return NULL; |
| 29 | } |
| 30 | |
| 31 | size_t StackTrace::CopyAddressTo(void** buffer, size_t max_nframes) const { |
| 32 | size_t nframes = std::min(count_, max_nframes); |
no outgoing calls