diff options
Diffstat (limited to 'runtime/backtrace_helper.h')
-rw-r--r-- | runtime/backtrace_helper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/backtrace_helper.h b/runtime/backtrace_helper.h index 8eda3fa0a1..2fee62c23d 100644 --- a/runtime/backtrace_helper.h +++ b/runtime/backtrace_helper.h @@ -36,6 +36,10 @@ class BacktraceCollector { void Collect(); private: + // Try to collect backtrace. Returns false on failure. + // It is used to retry backtrace on temporary failure. + bool CollectImpl(); + uintptr_t* const out_frames_ = nullptr; size_t num_frames_ = 0u; const size_t max_depth_ = 0u; |