android_system_core/libunwindstack/tests
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
..
files Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
ArmExidxDecodeTest.cpp Split arch data into separate files. 2017-12-06 16:01:40 -08:00
ArmExidxExtractTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfaLogTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfCfaTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfDebugFrameTest.cpp Add support for only a .eh_frame. 2017-11-07 13:22:39 -08:00
DwarfEhFrameTest.cpp Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
DwarfEhFrameWithHdrTest.cpp Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
DwarfMemoryTest.cpp Fix another set of bugs. 2017-08-10 17:37:32 -07:00
DwarfOpLogTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfOpTest.cpp Update the Unwinder object and add tests. 2017-10-04 14:40:14 -07:00
DwarfSectionImplTest.cpp Add support for only a .eh_frame. 2017-11-07 13:22:39 -08:00
DwarfSectionTest.cpp Add a new unwind method on error. 2017-09-22 16:55:12 -07:00
ElfFake.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
ElfFake.h Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
ElfInterfaceArmTest.cpp Fix issues in libunwindstack. 2017-12-15 11:17:45 -08:00
ElfInterfaceTest.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
ElfTest.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
ElfTestUtils.cpp Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
ElfTestUtils.h Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00
GenGnuDebugdata.cpp Add .gnu_debugdata support. 2017-06-28 15:23:10 -07:00
JitDebugTest.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
LogFake.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
LogFake.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MapInfoCreateMemoryTest.cpp Merge changes I53c2c560,I7d845ac5,I8b11d923 2017-12-02 00:12:21 +00:00
MapInfoGetElfTest.cpp Merge changes I53c2c560,I7d845ac5,I8b11d923 2017-12-02 00:12:21 +00:00
MapInfoGetLoadBiasTest.cpp Fix issues in libunwindstack. 2017-12-15 11:17:45 -08:00
MapsTest.cpp Fix issues in libunwindstack. 2017-12-15 11:17:45 -08:00
MemoryBufferTest.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryFake.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryFake.h unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryFileTest.cpp unwindstack: rename Memory::Read to ReadFully. 2017-11-15 15:38:13 -08:00
MemoryLocalTest.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryOfflineTest.cpp unwindstack: add some perfunctory MemoryOffline tests. 2017-12-15 14:11:12 -08:00
MemoryRangeTest.cpp unwindstack: rename Memory::ReadPartially to Read. 2017-11-15 15:38:13 -08:00
MemoryRemoteTest.cpp Add tool to save information from a process. 2017-12-20 12:57:01 -08:00
MemoryTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
RegsFake.h Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
RegsIterateTest.cpp Add libunwindstack support for Mips and Mips64 2017-12-11 15:44:40 +01:00
RegsStepIfSignalHandlerTest.cpp Add libunwindstack support for Mips and Mips64 2017-12-11 15:44:40 +01:00
RegsTest.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
SymbolsTest.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
TestUtils.h Fix UnwindTest repeatability. 2017-09-06 17:08:44 -07:00
UnwinderTest.cpp Add libunwindstack support for Mips and Mips64 2017-12-11 15:44:40 +01:00
UnwindOfflineTest.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
UnwindTest.cpp Split arch data into separate files. 2017-12-06 16:01:40 -08:00