[libcxx-commits] [PATCH] D108082: [libc++abi] Apply simplify scan_eh_tab to SjLj

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 24 13:52:14 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9d2740f33177: [libc++abi] Apply simplify scan_eh_tab to SjLj (authored by kaz7, committed by ldionne).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108082

Files:
  libcxxabi/src/cxa_personality.cpp


Index: libcxxabi/src/cxa_personality.cpp
===================================================================
--- libcxxabi/src/cxa_personality.cpp
+++ libcxxabi/src/cxa_personality.cpp
@@ -702,10 +702,10 @@
                 return;
             }
             landingPad = (uintptr_t)lpStart + landingPad;
-            results.landingPad = landingPad;
 #else  // __USING_SJLJ_EXCEPTIONS__
             ++landingPad;
 #endif // __USING_SJLJ_EXCEPTIONS__
+            results.landingPad = landingPad;
             if (actionEntry == 0)
             {
                 // Found a cleanup


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108082.368456.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210824/5a945b61/attachment-0001.bin>


More information about the libcxx-commits mailing list