[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 06:43:08 PDT 2022
    
    
  
uweigand added a comment.
In D124765#3485544 <https://reviews.llvm.org/D124765#3485544>, @danielkiss wrote:
> some tests from `libcxxabi` could be enabled for SystemZ too e.g. `libcxxabi/test/forced*`
Unfortunately we don't yet support `libcxx` or `libcxxabi` at all on SystemZ.   (On Linux there's always libstdc++ available as system library.)
================
Comment at: libunwind/src/UnwindCursor.hpp:2673
+  if (inst == 0x0a77 || inst == 0x0aad) {
+    _info = {};
+    _isSigReturn = true;
----------------
danielkiss wrote:
> Please note I recently committed this:
> https://reviews.llvm.org/D124522
> 
> _info.end_ip need to be set to make forced unwind work.
> ```
>     _info.start_ip = pc;
>     _info.end_ip = pc;
> ```
Thanks!   I've updated the patch accordingly.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124765/new/
https://reviews.llvm.org/D124765
    
    
More information about the libcxx-commits
mailing list