History log of /system/core/libbacktrace/BacktraceMap.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2c43cff01d1271be451671567955158629b23670 27-Mar-2015 Christopher Ferris <cferris@google.com> Refactor the code.

The object hierarchy was confusing and convoluted. This removes
a lot of unnecessary code, and consolidates the BacktraceCurrent
and BacktraceThread code into BacktraceCurrent.

Change-Id: I01c8407d493712a48169df49dd3ff46db4a7c3ae
/system/core/libbacktrace/BacktraceMap.cpp
12385e3ad085aa1ac06c26529b32b688503a9fcf 06-Feb-2015 Christopher Ferris <cferris@google.com> Move map data into backtrace data proper.

The backtrace structure used to include a pointer to a backtrace_map_t
that represented the map data for a particular pc. This introduced a
race condition where the pointer could be discarded, but the backtrace
structure still contained a pointer to garbage memory. Now all of the map
information is right in the structure.

Bug: 19028453
Change-Id: If7088a73f3c6bf1f3bc8cdd2bb4b62e7cab831c0
/system/core/libbacktrace/BacktraceMap.cpp
b978a329efbe0e4489e8556f77bba689065f0499 05-Aug-2014 Brian Carlstrom <bdc@google.com> Add uncached argument to BacktraceMap::Create on darwin

Change-Id: I247a98fc3b98879a0c34a975f9914ccec95d1a04
/system/core/libbacktrace/BacktraceMap.cpp
b8c72957f072a687a4fb99dd7f2423d3f86e70d2 18-Apr-2014 Christopher Ferris <cferris@google.com> Change sprintf to snprintf calls.

Change-Id: I8893246fcd541d97b02a1a4cac81c53c6cd2e394
/system/core/libbacktrace/BacktraceMap.cpp
f4b0b7971c0333b7331c2f54384af5de0260ae75 07-Feb-2014 Colin Cross <ccross@android.com> Fix logging errors inside ALOGV

Fix errors exposed by adding checking to disabled ALOGVs.

Change-Id: I36b77bb0ad8dc7661b0f834f20d1179b86134d57
/system/core/libbacktrace/BacktraceMap.cpp
df2906186b6952c57b1f662bfef0b65c9f8c2e0d 23-Jan-2014 Christopher Ferris <cferris@google.com> 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
/system/core/libbacktrace/BacktraceMap.cpp
db5911a08ab99140c67eb304e5aecc6ddd55aa39 18-Jan-2014 Brian Carlstrom <bdc@google.com> Attempt to fix Mac build

Change-Id: I1364255bfed7788a35531962508bad804b8d5b7f
/system/core/libbacktrace/BacktraceMap.cpp
46756821c4fe238f12a6e5ea18c356398f8d8795 15-Jan-2014 Christopher Ferris <cferris@google.com> Rewrite libbacktrace to be all C++.

This includes removing the map_info.c source and replacing it with the
BacktraceMap class to handle all map related code.

Change all callers of libbacktrace map functionality.

Also modify the corkscrew thread code so that it doesn't need to build
the map twice (once in the corkscrew format and once in the libbacktrace
format).

Change-Id: I32865a39f83a3dd6f958fc03c2759ba47d12382e
/system/core/libbacktrace/BacktraceMap.cpp