[all-commits] [llvm/llvm-project] 148a4b: [libc] change ASAN condition to generator expression

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue Feb 15 16:12:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 148a4b240e24fb84dd070c644697a571589fbe86
      https://github.com/llvm/llvm-project/commit/148a4b240e24fb84dd070c644697a571589fbe86
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M libc/cmake/modules/LLVMLibCLibraryRules.cmake
    M libc/src/stdlib/CMakeLists.txt

  Log Message:
  -----------
  [libc] change ASAN condition to generator expression

Previously, building LLVM-libc with GWP ASAN was conditioned on the flag
COMPILER_RT_BUILD_GWP_ASAN, which caused issues do to the default value
of the flag being set in the compiler-rt cmake, which is seperate. Now
GWP ASAN is included based on if it exists as a target, which is more
consistent.

Reviewed By: sivachandra

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




More information about the All-commits mailing list