summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-05-17 18:37:38 -0700
committerChristopher Ferris <cferris@google.com>2018-05-17 18:58:42 -0700
commit239425b9fa91ae13d18cf8158b31663876d07acf (patch)
treee0fdc1e8cb6d728ad94dd5ca1a4e4161633d3999 /trusty/coverage/coverage_test.cpp
parent3464bc4b439e01244c0a6b5f35e8e949e0f16096 (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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions