[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 llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 04:20:56 PDT 2023


xingxue marked an inline comment as done.
xingxue 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
----------------
hubert.reinterpretcast wrote:
> Not all branches modify the link register.
Fixed the comment, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158655



More information about the llvm-commits mailing list