summaryrefslogtreecommitdiffstats
path: root/libbacktrace/UnwindCurrent.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-01-22 19:21:07 -0800
committerChristopher Ferris <cferris@google.com>2014-01-28 12:03:36 -0800
commitdf2906186b6952c57b1f662bfef0b65c9f8c2e0d (patch)
treee5ed8339b7fd42ff20047244f87106c8f1fa0d45 /libbacktrace/UnwindCurrent.h
parent6ddabb7a1cc3080ae773acb045f69b5e6afee87a (diff)
downloadcore-df2906186b6952c57b1f662bfef0b65c9f8c2e0d.tar.gz
core-df2906186b6952c57b1f662bfef0b65c9f8c2e0d.tar.bz2
core-df2906186b6952c57b1f662bfef0b65c9f8c2e0d.zip
Re-enable libunwind for arm.
Update to handle the new optimized way that libunwind works. In addition, a small refactor of the BacktraceMap code. A few new tests of for good measure. Change-Id: I2f9b4f5ad5a0dfe907b31febee76e4b9b94fb76f
Diffstat (limited to 'libbacktrace/UnwindCurrent.h')
-rw-r--r--libbacktrace/UnwindCurrent.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libbacktrace/UnwindCurrent.h b/libbacktrace/UnwindCurrent.h
index 8302c0b31..acce110c5 100644
--- a/libbacktrace/UnwindCurrent.h
+++ b/libbacktrace/UnwindCurrent.h
@@ -19,7 +19,7 @@
#include <string>
-#include "Backtrace.h"
+#include "BacktraceImpl.h"
#include "BacktraceThread.h"
#define UNW_LOCAL_ONLY
@@ -38,8 +38,6 @@ public:
void ExtractContext(void* sigcontext);
- virtual BacktraceMap* CreateBacktraceMap(pid_t pid) { return new BacktraceMap(pid); }
-
protected:
unw_context_t context_;
};
@@ -49,8 +47,6 @@ public:
UnwindThread();
virtual ~UnwindThread();
- virtual bool Init();
-
virtual void ThreadUnwind(
siginfo_t* siginfo, void* sigcontext, size_t num_ignore_frames);
};