diff options
author | Christopher Ferris <cferris@google.com> | 2014-01-22 19:21:07 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2014-01-28 12:03:36 -0800 |
commit | df2906186b6952c57b1f662bfef0b65c9f8c2e0d (patch) | |
tree | e5ed8339b7fd42ff20047244f87106c8f1fa0d45 /libbacktrace/BacktraceThread.cpp | |
parent | 6ddabb7a1cc3080ae773acb045f69b5e6afee87a (diff) | |
download | system_core-df2906186b6952c57b1f662bfef0b65c9f8c2e0d.zip system_core-df2906186b6952c57b1f662bfef0b65c9f8c2e0d.tar.gz system_core-df2906186b6952c57b1f662bfef0b65c9f8c2e0d.tar.bz2 |
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/BacktraceThread.cpp')
-rw-r--r-- | libbacktrace/BacktraceThread.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libbacktrace/BacktraceThread.cpp b/libbacktrace/BacktraceThread.cpp index 9953dc1..5ffe516 100644 --- a/libbacktrace/BacktraceThread.cpp +++ b/libbacktrace/BacktraceThread.cpp @@ -180,10 +180,6 @@ bool BacktraceThread::TriggerUnwindOnThread(ThreadEntry* entry) { } bool BacktraceThread::Unwind(size_t num_ignore_frames) { - if (!thread_intf_->Init()) { - return false; - } - ThreadEntry* entry = ThreadEntry::AddThreadToUnwind( thread_intf_, Pid(), Tid(), num_ignore_frames); if (!entry) { |