150db124f3
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 |
||
---|---|---|
.. | ||
include/backtrace | ||
testdata | ||
.clang-format | ||
Android.bp | ||
Backtrace.cpp | ||
backtrace_benchmarks.cpp | ||
backtrace_offline_test.cpp | ||
backtrace_read_benchmarks.cpp | ||
backtrace_test.cpp | ||
backtrace_testlib.cpp | ||
backtrace_testlib.h | ||
BacktraceAsyncSafeLog.h | ||
BacktraceCurrent.cpp | ||
BacktraceCurrent.h | ||
BacktraceLog.h | ||
BacktraceMap.cpp | ||
BacktraceOffline.cpp | ||
BacktraceOffline.h | ||
BacktracePtrace.cpp | ||
BacktracePtrace.h | ||
GetPss.cpp | ||
GetPss.h | ||
OWNERS | ||
thread_utils.c | ||
thread_utils.h | ||
ThreadEntry.cpp | ||
ThreadEntry.h | ||
UnwindCurrent.cpp | ||
UnwindCurrent.h | ||
UnwindMap.cpp | ||
UnwindMap.h | ||
UnwindPtrace.cpp | ||
UnwindPtrace.h | ||
UnwindStack.cpp | ||
UnwindStack.h | ||
UnwindStackMap.cpp | ||
UnwindStackMap.h |