[libcxx-commits] [PATCH] D124765: [libunwind][SystemZ] Unwind out of signal handlers
Ulrich Weigand via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon May 2 05:46:25 PDT 2022
uweigand created this revision.
uweigand added reviewers: libunwind, MaskRay, ldionne.
Herald added subscribers: libcxx-commits, StephenFan, kristof.beyls.
Herald added projects: libunwind, All.
Herald added 1 blocking reviewer(s): libunwind.
uweigand requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Unwinding out of signal handlers currently does not work since the sigreturn trampoline is not annotated with CFI data.
Fix this by detecting the sigreturn trampoline during unwinding and providing appropriate unwind data manually. This follows closely the approach used by existing code for the AArch64 target.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124765
Files:
libunwind/src/UnwindCursor.hpp
libunwind/test/signal_unwind.pass.cpp
libunwind/test/unwind_leaffunction.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124765.426385.patch
Type: text/x-patch
Size: 7583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220502/5b05b5e7/attachment-0001.bin>
More information about the libcxx-commits
mailing list