platform_system_core/libcorkscrew
Jeff Brown 19b39f371b Improve backtrace formatting.
Show the symbol offset, when available.

Centralized formatting of native stack traces in libcorkscrew.
It's handy for automated tools if all stacks look the same.
Since we already made them all look them same, we might as well
do the formatting in just one place.

Do not strip the Thumb bit on ARM.  This fixes an off-by-one
issue that could happen when resolving a PC that was at the
very beginning of a Thumb function, since the symbol table would
have the Thumb bit set but since we stripped the bit from our
PC, we would be looking for an address one byte before the
one listed in the symbol table.  It's also quite useful to see
whether a given function is executing in Thumb mode just by glancing
at the PC.

Change-Id: Icaa29add85ce0bcafe24d5ce2098e138d809e2ab
2011-11-22 12:13:46 -08:00
..
arch-arm Improve backtrace formatting. 2011-11-22 12:13:46 -08:00
arch-x86 Improve stack unwinder robustness. 2011-11-04 01:11:04 -07:00
Android.mk Link with libgccdemangle.so for name demangling. 2011-11-09 20:47:14 -08:00
backtrace-arch.h Improve stack unwinder robustness. 2011-11-04 01:11:04 -07:00
backtrace-helper.c Add a new library for collecting stack traces. 2011-10-22 16:42:59 -07:00
backtrace-helper.h Add a new library for collecting stack traces. 2011-10-22 16:42:59 -07:00
backtrace.c Improve backtrace formatting. 2011-11-22 12:13:46 -08:00
demangle.c Link with libgccdemangle.so for name demangling. 2011-11-09 20:47:14 -08:00
map_info.c Improve stack unwinder robustness. 2011-11-04 01:11:04 -07:00
MODULE_LICENSE_APACHE2 Add a new library for collecting stack traces. 2011-10-22 16:42:59 -07:00
NOTICE Add a new library for collecting stack traces. 2011-10-22 16:42:59 -07:00
ptrace-arch.h Add a new library for collecting stack traces. 2011-10-22 16:42:59 -07:00
ptrace.c Improve stack unwinder robustness. 2011-11-04 01:11:04 -07:00
symbol_table.c Improve backtrace formatting. 2011-11-22 12:13:46 -08:00