android_system_core/libunwindstack/tests
Christopher Ferris c5a3baa5e3 Fix setting of map_offset in frame data.
The old code set the map_offset from elf_offset, but it should have used
offset. Without this change, frame data is not properly shown for shared
libraries in an apk.

Add new unit test to verify that map_offset is set properly.

Test: Ran new unit tests.
Change-Id: I2fe5abda23a5de51c8fcf9361ba9350b80446f15
2017-10-17 18:42:03 -07:00
..
files Init .gnu_debugdata in GetElf(). 2017-06-30 17:24:58 -07:00
ArmExidxDecodeTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07: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 Update the Unwinder object and add tests. 2017-10-04 14:40:14 -07:00
DwarfEhFrameTest.cpp Update the Unwinder object and add tests. 2017-10-04 14:40:14 -07: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 Update the Unwinder object and add tests. 2017-10-04 14:40:14 -07:00
DwarfSectionTest.cpp Add a new unwind method on error. 2017-09-22 16:55:12 -07:00
ElfFake.cpp Update the Unwinder object and add tests. 2017-10-04 14:40:14 -07:00
ElfFake.h Update the Unwinder object and add tests. 2017-10-04 14:40:14 -07:00
ElfInterfaceArmTest.cpp Add a new unwind method on error. 2017-09-22 16:55:12 -07:00
ElfInterfaceTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ElfTest.cpp Add a new unwind method on error. 2017-09-22 16:55:12 -07:00
ElfTestUtils.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
ElfTestUtils.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
GenGnuDebugdata.cpp Add .gnu_debugdata support. 2017-06-28 15:23:10 -07: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 Add a method to share the process memory object. 2017-09-05 14:30:22 -07:00
MapInfoGetElfTest.cpp Add a method to share the process memory object. 2017-09-05 14:30:22 -07:00
MapsTest.cpp Speed up map creation. 2017-08-23 15:43:39 -07:00
MemoryBufferTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryFake.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryFake.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryFileTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryLocalTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MemoryRangeTest.cpp Add a method to share the process memory object. 2017-09-05 14:30:22 -07:00
MemoryRemoteTest.cpp Fix UnwindTest repeatability. 2017-09-06 17:08:44 -07:00
MemoryTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
RegsFake.h Update the Unwinder object and add tests. 2017-10-04 14:40:14 -07:00
RegsStepIfSignalHandlerTest.cpp Speed up StepIfSignalHandler path. 2017-07-19 21:35:46 +00:00
RegsTest.cpp Update the Unwinder object and add tests. 2017-10-04 14:40:14 -07:00
SymbolsTest.cpp Make the library usable as a library. 2017-07-14 12:20:23 -07:00
TestUtils.h Fix UnwindTest repeatability. 2017-09-06 17:08:44 -07:00
UnwinderTest.cpp Fix setting of map_offset in frame data. 2017-10-17 18:42:03 -07:00
UnwindTest.cpp Add a new unwind method on error. 2017-09-22 16:55:12 -07:00