[libunwind][ARM] Handle end of stack during unwind
authorDaniel Kiss <daniel.kiss@arm.com>
Fri, 26 Nov 2021 12:26:19 +0000 (13:26 +0100)
committerDaniel Kiss <daniel.kiss@arm.com>
Fri, 26 Nov 2021 12:26:49 +0000 (13:26 +0100)
commit632acec73776c4d6f7073d6de04ed6b8bfd36e6d
tree6af518734ce20e2585941d6f00a4eff837586a51
parent8967d044fc265acb332ab3d0169024e96b44c6ac
[libunwind][ARM] Handle end of stack during unwind

When unwind step reaches the end of the stack that means the force unwind should notify the stop function.
This is not an error, it could mean just the thread is cleaned up completely.

Reviewed By: #libunwind, mstorsjo

Differential Revision: https://reviews.llvm.org/D109856
libcxxabi/src/cxa_personality.cpp
libcxxabi/test/forced_unwind3.pass.cpp [new file with mode: 0644]
libunwind/src/Unwind-EHABI.cpp