[PATCH] D136131: Fix libunwind CET build break

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 10:47:07 PDT 2022


mstorsjo 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!")
----------------
MaskRay wrote:
> Where is this defined?
Here: https://github.com/llvm/llvm-project/blob/main/libunwind/cmake/Modules/HandleLibunwindFlags.cmake#L186 Called two lines above.


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