[libcxx-commits] [PATCH] D105968: [libunwind][CET] Support exception handling stack unwind in CET environment

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 11 00:33:01 PDT 2021


MaskRay added inline comments.


================
Comment at: libunwind/src/cet_unwind.h:1
+//===--------------------------- cet_unwind.h -----------------------------===//
+//
----------------
This file probably should just be moved into config.h, then other files don't need to add a new `#include`.




================
Comment at: libunwind/src/cet_unwind.h:19
+#if defined(_LIBUNWIND_TARGET_LINUX) && defined(__CET__) && defined(__SHSTK__)
+#define _LIBUNWIND_CET_ENABLED 1
+#endif
----------------
Perhaps rename to `_LIBUNWIND_USE_CET`


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

https://reviews.llvm.org/D105968



More information about the libcxx-commits mailing list