android_system_core/libunwindstack/tests/files/offline
Christopher Ferris d299a7ab58 Fix bug when doing signal handler lookup.
The new lld linker uses all non-zero offset executable maps. There was
a bug when trying to find if the stack is in a signal handler that caused
the code to read the wrong place in the elf. Fixed by not adding the elf
offset to the relative pc.

Also fixed the unwind_for_offline tool to dump multiple stacks if necessary.

Added new offline unit test that would have failed with the old code.

Bug: 79936827

Test: Ran unit tests and libbacktrace unit tests.
Test: Dumped backtraces of system pids.
Test: Ran 137-cfi art test.
Change-Id: Iaca8c18c2a314902e64c3f72831234297e8dcb1b
Merged-In: Iaca8c18c2a314902e64c3f72831234297e8dcb1b
(cherry picked from commit 239425b9fa)
2018-05-21 21:33:02 +00:00
..
art_quick_osr_stub_arm Always set the sp reg to the cfa for DWARF. 2018-03-19 11:11:19 -07:00
bad_eh_frame_hdr_arm64 Small behavioral changes to the unwinder. 2018-01-24 13:20:03 -08:00
debug_frame_first_x86 Small behavioral changes to the unwinder. 2018-01-24 13:20:03 -08:00
eh_frame_hdr_begin_x86_64 Fix off by 4 error handling eh_frame hdr. 2018-02-10 17:11:23 -08:00
gnu_debugdata_arm Small test clean up. 2018-02-05 13:12:54 -08:00
jit_debug_arm Small test clean up. 2018-02-05 13:12:54 -08:00
jit_debug_x86 Small test clean up. 2018-02-05 13:12:54 -08:00
offset_arm Fix bug when doing signal handler lookup. 2018-05-21 21:33:02 +00:00
straddle_arm Small test clean up. 2018-02-05 13:12:54 -08:00
straddle_arm64 Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00