platform_system_core/libbacktrace
Christopher Ferris 150db124f3 Add ability to read jit gdb data.
Changes:
- New JitDebug class to handle all of the jit gdb interface.
- Add unit tests for all, along with new offline test using debug data.
- Add new Memory type called MemoryOfflineParts that has multiple
  MemoryOffline objects to support the offline test.
- Update the tools to use the JitDebug object.
- Modify libbacktrace to use the JitDebug, but only looking in libart.so
  and libartd.so.
- Change the Format32Bits to Is32Bit since it's more accurate and I use
  it in a different context where original name didn't make sense.
- Add a new function to find global variables in an elf file
  (GetGlobalVariable).
- Add a new function to determine if a pc is valid for this elf (IsValidPc).

Bug: 68396769

Test: Ran new unit tests. Added new offline test that uses jit debug data.
Test: Ran art test that generates jit data and verified a crash unwinds
Test: through the jit data.
Change-Id: I6e7ee2f5bab2242028a06feece156dff21c0a974
2018-01-12 11:18:42 -08:00
..
include/backtrace libBacktraceOffline: improve unwinding callchains. 2017-12-18 18:20:44 -08:00
testdata libBacktraceOffline: improve unwinding callchains. 2017-12-18 18:20:44 -08:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
Android.bp Add method to detect remote read function to use. 2017-12-07 19:00:00 -08:00
Backtrace.cpp libbacktrace: export offline unwinding failures. 2017-12-15 13:29:53 -08:00
backtrace_benchmarks.cpp Make sure at least XX maps are created. 2017-12-08 12:48:46 -08:00
backtrace_offline_test.cpp libBacktraceOffline: improve unwinding callchains. 2017-12-18 18:20:44 -08:00
backtrace_read_benchmarks.cpp Add method to detect remote read function to use. 2017-12-07 19:00:00 -08:00
backtrace_test.cpp libbacktrace: export offline unwinding failures. 2017-12-15 13:29:53 -08:00
backtrace_testlib.cpp Test unwinding through a signal handler. 2017-03-23 16:16:02 -07:00
backtrace_testlib.h Test unwinding through a signal handler. 2017-03-23 16:16:02 -07:00
BacktraceAsyncSafeLog.h Use async safe logging in signal handlers. 2017-05-04 17:15:17 -07:00
BacktraceCurrent.cpp libbacktrace: export offline unwinding failures. 2017-12-15 13:29:53 -08:00
BacktraceCurrent.h Allow calling GetFunctionName before unwinding. 2017-03-21 14:21:49 -07:00
BacktraceLog.h liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
BacktraceMap.cpp Demand read load bias for a map. 2017-12-05 13:12:47 -08:00
BacktraceOffline.cpp libBacktraceOffline: improve unwinding callchains. 2017-12-18 18:20:44 -08:00
BacktraceOffline.h libbacktrace: export offline unwinding failures. 2017-12-15 13:29:53 -08:00
BacktracePtrace.cpp Revert "Use process_vm_readv to read memory." 2016-11-10 23:19:30 +00:00
BacktracePtrace.h Add method to detect remote read function to use. 2017-12-07 19:00:00 -08:00
GetPss.cpp Fix misc-macro-parentheses warnings in adb, debuggerd, libbacktrace. 2016-05-18 15:53:15 -07:00
GetPss.h
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
thread_utils.c
thread_utils.h
ThreadEntry.cpp Use async safe logging in signal handlers. 2017-05-04 17:15:17 -07:00
ThreadEntry.h Allow calling GetFunctionName before unwinding. 2017-03-21 14:21:49 -07:00
UnwindCurrent.cpp libbacktrace: export offline unwinding failures. 2017-12-15 13:29:53 -08:00
UnwindCurrent.h Allow calling GetFunctionName before unwinding. 2017-03-21 14:21:49 -07:00
UnwindMap.cpp Switch libbacktrace new unwinder. 2017-10-30 13:37:50 -07:00
UnwindMap.h Allow calling GetFunctionName before unwinding. 2017-03-21 14:21:49 -07:00
UnwindPtrace.cpp libbacktrace: export offline unwinding failures. 2017-12-15 13:29:53 -08:00
UnwindPtrace.h Allow calling GetFunctionName before unwinding. 2017-03-21 14:21:49 -07:00
UnwindStack.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
UnwindStack.h Add method to detect remote read function to use. 2017-12-07 19:00:00 -08:00
UnwindStackMap.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
UnwindStackMap.h Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00