[libcxx-commits] [PATCH] D158655: [libunwind][AIX] Fix problem with stepping up from a leaf function when unwinding started in a signal handler

Xing Xue via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 30 11:11:03 PDT 2023


xingxue updated this revision to Diff 554785.
xingxue marked 5 inline comments as done.
xingxue added a comment.

Addressed comments.

- add code to handle the case where a function does not store the back chain (`stores_bc` is `0`)
- swap the order of getting sigcontext from a signal trampoline frame, now trying stack + `STKMINALIGN` first and then stack + `STKMIN`
- remove the condition check when restoring the SP
- add the test case for the case where a function does not store the back chain


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158655/new/

https://reviews.llvm.org/D158655

Files:
  libunwind/src/Registers.hpp
  libunwind/src/UnwindCursor.hpp
  libunwind/src/UnwindRegistersSave.S
  libunwind/test/aix_signal_unwind.pass.sh.S

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158655.554785.patch
Type: text/x-patch
Size: 18028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230830/8c74a72b/attachment.bin>


More information about the libcxx-commits mailing list