[clang] Support MemProf on darwin (PR #69640)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 20:17:51 PDT 2023


================
@@ -747,8 +749,10 @@ endif()
 
 if (OS_NAME MATCHES "Linux|FreeBSD|Windows|NetBSD|SunOS")
   set(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME TRUE)
+  set(COMPILER_RT_MEMPROF_HAS_STATIC_RUNTIME TRUE)
 else()
   set(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME FALSE)
+  set(COMPILER_RT_MEMPROF_HAS_STATIC_RUNTIME TRUE)
----------------
teresajohnson wrote:

Is this meant to be FALSE? Otherwise this new variable is always TRUE.

https://github.com/llvm/llvm-project/pull/69640


More information about the cfe-commits mailing list