History log of /system/core/libcorkscrew/symbol_table.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bfec3a315000e9fcfc8e2d3fcef25e747e3d2053 25-May-2012 Elliott Hughes <enh@google.com> Add basic Darwin support to libcorkscrew.

This might not seem like much, but it's already better than Mac OS'
backtrace(3).

(cherry picked from commit 2a46f6293f19b9d6100187fbd53088088e671b88)

Change-Id: I197b06c4c19f728ad6f194b2f473bd9dcd99b8a6
/system/core/libcorkscrew/symbol_table.c
71363a8075e7916c2166cbdd8a0bf5a180ed4d54 18-May-2012 Elliott Hughes <enh@google.com> Support libcorkscrew on x86 hosts in binaries using glibc.

Change-Id: I1f2b7f21cc7f8227dbe7d294fed88cb691a24d09
/system/core/libcorkscrew/symbol_table.c
19b39f371be5250e7b9e88016be1e5e665367b3f 22-Nov-2011 Jeff Brown <jeffbrown@google.com> 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
/system/core/libcorkscrew/symbol_table.c
501edd29b823ce1301d2effdd3a9e4b6e2b20b76 20-Oct-2011 Jeff Brown <jeffbrown@google.com> Add a new library for collecting stack traces.

Supports collecting the stack trace of the current thread,
another thread in the same process, or a thread in a
different process (using ptrace).

Change-Id: Ica2594e4436edde4ceb7bcc3d78e6c31a7902cbf
/system/core/libcorkscrew/symbol_table.c