[all-commits] [llvm/llvm-project] 1613ab: [libcxx][libcxxabi] CMAKE_REQUIRED_FLAGS is a stri...

Nehal J Wani via All-commits all-commits at lists.llvm.org
Thu Sep 16 09:27:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1613ab8a4a3e6f8ab74fadd7e9a2dfe2219e3b43
      https://github.com/llvm/llvm-project/commit/1613ab8a4a3e6f8ab74fadd7e9a2dfe2219e3b43
  Author: Nehal J Wani <nehaljw.kkd1 at gmail.com>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M libcxx/cmake/config-ix.cmake
    M libcxxabi/cmake/config-ix.cmake

  Log Message:
  -----------
  [libcxx][libcxxabi] CMAKE_REQUIRED_FLAGS is a string, not a list

When `libcxx` or `libcxxabi` is built with `-DLLVM_USE_SANITIZER=MemoryWithOrigins`
**and** `-DLIBCXX[ABI]_USE_COMPILER_RT=ON`, all of the `LIBCXX[ABI]_SUPPORTS_*_FLAG`
checks fail, since the value of `CMAKE_REQUIRED_FLAGS` is not set correctly.

Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=51774

Reviewed By: #libc, #libc_abi, compnerd, ldionne

Differential Revision: https://reviews.llvm.org/D109342




More information about the All-commits mailing list