Revert "Unwind past an interrupt handler correctly on arm or at pc==0"
authorJason Molenda <jmolenda@apple.com>
Tue, 25 Feb 2020 03:01:51 +0000 (19:01 -0800)
committerJason Molenda <jmolenda@apple.com>
Tue, 25 Feb 2020 03:03:22 +0000 (19:03 -0800)
commit4fdd2edbdb4bfe6a95df0fac12e8beffcbe33b86
treeebc573e061af35e0472eaab479594d3d5de60002
parentd5a4fa05146fe290735e2a38adb50d76052c4313
Revert "Unwind past an interrupt handler correctly on arm or at pc==0"

The aarcht64-ubuntu bot is showing a test failure in TestHandleAbort.py
with this patch.  Adding some logging to that file, it looks like
the saved register context above the trap handler does not have
save state for $pc, but it does have it for $lr on that platform.
I need to fall back to looking for $lr if the $pc cannot be retrieved.
I'll update the patch and re-commit once that's fixed.

This reverts commit edc4f4c9c9d90b2a4f8831ba4c873f08eaa5395a.
lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp