diff options
author | Christopher Ferris <cferris@google.com> | 2018-05-17 18:37:38 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-05-21 21:33:02 +0000 |
commit | d299a7ab588cba9038124613ac086635f96a47d4 (patch) | |
tree | fa2dd345a0fb772e7afc4702f90a4068aa1daa09 /trusty/coverage/coverage_test.cpp | |
parent | 7905b1e16286653679b7ff9b595f3ed7de5e182f (diff) |
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 239425b9fa91ae13d18cf8158b31663876d07acf)
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions