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

Hubert Tong via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 23 14:37:11 PDT 2023


hubert.reinterpretcast added inline comments.


================
Comment at: libunwind/src/UnwindCursor.hpp:2395
+      // Use the LR value saved from sigcontext if LR is not saved and the
+      // function is not '__start'. Note: if there is any branch inside a
+      // leaf function before the signal is raised, the LR value saved in
----------------
Not all branches modify the link register.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158655



More information about the libcxx-commits mailing list