[libcxx-commits] [PATCH] D136257: [libc++abi][AIX] Use reserved slot in stack to pass the address of exception object

Xing Xue via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 27 14:07:16 PDT 2022


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
xingxue marked an inline comment as done.
Closed by commit rGfb391e45e9cc: [libc++abi][AIX] Use reserved slot in stack to pass the address of exception… (authored by xingxue).

Changed prior to commit:
  https://reviews.llvm.org/D136257?vs=469721&id=471292#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136257

Files:
  libcxxabi/src/aix_state_tab_eh.inc


Index: libcxxabi/src/aix_state_tab_eh.inc
===================================================================
--- libcxxabi/src/aix_state_tab_eh.inc
+++ libcxxabi/src/aix_state_tab_eh.inc
@@ -559,7 +559,7 @@
       // reserved for compilers (SP + 3 * sizeof(uintptr_t)) in the stack of
       // the caller of the function containing the landing pad (within the link
       // area for the call to the latter) for __xlc_exception_handle()
-      // to retrieve.
+      // to retrieve when it is called by the landing pad.
       uintptr_t *currentSP = reinterpret_cast<uintptr_t*>(_Unwind_GetGR(context, 1));
       uintptr_t *callersSP = reinterpret_cast<uintptr_t*>(currentSP[0]);
       callersSP[3] = reinterpret_cast<uintptr_t>(unwind_exception);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136257.471292.patch
Type: text/x-patch
Size: 752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221027/de520072/attachment.bin>


More information about the libcxx-commits mailing list