[libcxx-commits] [PATCH] D143010: [libc++abi][AIX] Skip non-C++ EH aware frames when retrieving exception object
Hubert Tong via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 1 16:29:57 PST 2023
hubert.reinterpretcast added inline comments.
================
Comment at: libcxxabi/src/aix_state_tab_eh.inc:667
+ currentStack = reinterpret_cast<uintptr_t*>(currentStack[0]);
+ // Get the value of the LR from the frame.
+ currentPc = reinterpret_cast<uint32_t*>(currentStack[2]);
----------------
Suggestion:
Get the value of the LR (saved, prior to incrementing the SP, by the prolog of the function just inspected) from the frame.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143010/new/
https://reviews.llvm.org/D143010
More information about the libcxx-commits
mailing list