[all-commits] [llvm/llvm-project] 68ab57: [sanitizer] Fix for CMAKE_CXX_FLAGS update

androm3da via All-commits all-commits at lists.llvm.org
Thu Aug 19 12:06:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68ab571e22e7dadf1262bba415e1365105d07a65
      https://github.com/llvm/llvm-project/commit/68ab571e22e7dadf1262bba415e1365105d07a65
  Author: Brian Cain <bcain at quicinc.com>
  Date:   2021-08-19 (Thu, 19 Aug 2021)

  Changed paths:
    M compiler-rt/lib/gwp_asan/CMakeLists.txt
    M compiler-rt/lib/profile/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt

  Log Message:
  -----------
  [sanitizer] Fix for CMAKE_CXX_FLAGS update

With unquoted ${CMAKE_CXX_FLAGS}, the REGEX fails when it's empty:

```CMake Error at lib/scudo/standalone/CMakeLists.txt:14 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.```




More information about the All-commits mailing list