[libunwind][AArch64] Fix _Unwind_ForcedUnwind via sigreturn.
When the sigreturn trampoline is found the unw_proc_info_t.end_ip need to be set to
indicate a stack frame is found.
Reviewed By: cjdb, #libunwind, MaskRay
Differential Revision: https://reviews.llvm.org/D124522
NOKEYCHECK=True
GitOrigin-RevId: f326df34bc179e41ea17d31e1ffba4a479e45589
diff --git a/src/UnwindCursor.hpp b/src/UnwindCursor.hpp
index dd849b7..29ded5c 100644
--- a/src/UnwindCursor.hpp
+++ b/src/UnwindCursor.hpp
@@ -2606,6 +2606,8 @@
if (_addressSpace.get32(pc) == 0xd2801168 &&
_addressSpace.get32(pc + 4) == 0xd4000001) {
_info = {};
+ _info.start_ip = pc;
+ _info.end_ip = pc + 4;
_isSigReturn = true;
return true;
}