summaryrefslogtreecommitdiffstats
path: root/libbacktrace/BacktraceImpl.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-05-09 16:33:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-09 16:33:12 +0000
commit3a088524cbd00c140c8fe043ce989ddcf28e7042 (patch)
tree4250dc81efc8976b18c69c46193a3917515c253a /libbacktrace/BacktraceImpl.h
parentdc0ea8626f9b4eb40467d6fdde5e46540130bd1d (diff)
parenta2efd3ac7abe223aa7a8ba8b5ba448216c4953b4 (diff)
downloadsystem_core-3a088524cbd00c140c8fe043ce989ddcf28e7042.zip
system_core-3a088524cbd00c140c8fe043ce989ddcf28e7042.tar.gz
system_core-3a088524cbd00c140c8fe043ce989ddcf28e7042.tar.bz2
Merge "Rewrite unwind thread handling."
Diffstat (limited to 'libbacktrace/BacktraceImpl.h')
-rwxr-xr-xlibbacktrace/BacktraceImpl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbacktrace/BacktraceImpl.h b/libbacktrace/BacktraceImpl.h
index 7b31c38..8ed64b3 100755
--- a/libbacktrace/BacktraceImpl.h
+++ b/libbacktrace/BacktraceImpl.h
@@ -21,12 +21,13 @@
#include <backtrace/BacktraceMap.h>
#include <sys/types.h>
+#include <ucontext.h>
class BacktraceImpl {
public:
virtual ~BacktraceImpl() { }
- virtual bool Unwind(size_t num_ignore_frames) = 0;
+ virtual bool Unwind(size_t num_ignore_frames, ucontext_t* ucontext) = 0;
// The name returned is not demangled, Backtrace::GetFunctionName()
// takes care of demangling the name.