[libunwind][test] Add test to check for unw_resume()
authorzhanglimin <zhanglimin@loongson.cn>
Fri, 7 Apr 2023 05:40:58 +0000 (13:40 +0800)
committerWeining Lu <luweining@loongson.cn>
Fri, 7 Apr 2023 05:42:23 +0000 (13:42 +0800)
commit366c5474a3002114b8980ab278d93baa96046385
treee860610205d90e3c40bc4f8554f76eed16052cd8
parentf38365aef436d0f2ae042ad3038c8a6159dafe78
[libunwind][test] Add test to check for unw_resume()

This is here for local unwinding, which unw_resume() restores
the machine state and then directly resumes execution in the
target stack frame.

Reviewed By: wangleiat

Differential Revision: https://reviews.llvm.org/D147371
libunwind/test/unw_resume.pass.cpp [new file with mode: 0644]