[PATCH] D136131: Fix libunwind CET build break

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 09:47:03 PDT 2022


MaskRay added inline comments.


================
Comment at: libunwind/CMakeLists.txt:163
   add_compile_flags_if_supported(-mshstk)
-  if (NOT LIBUNWIND_SUPPORTS_FCF_PROTECTION_EQ_FULL_FLAG)
+  if (NOT CXX_SUPPORTS_FCF_PROTECTION_EQ_FULL_FLAG)
     message(SEND_ERROR "Compiler doesn't support CET -fcf-protection option!")
----------------
Where is this defined?


================
Comment at: libunwind/CMakeLists.txt:166
   endif()
-  if (NOT LIBUNWIND_SUPPORTS_MSHSTK_FLAG)
+  if (NOT CXX_SUPPORTS_MSHSTK_FLAG)
     message(SEND_ERROR "Compiler doesn't support CET -mshstk option!")
----------------
Where is this defined?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136131



More information about the llvm-commits mailing list