From c5b779cb925487fce0d586a44955be8f1524e3af Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Thu, 7 Jan 2016 22:54:46 +0000 Subject: [PATCH] [cmake] Add InstrProfilingWriter to libclang_rt on Darwin llvmBufferWriter and a few related symbols were missing from libclang_rt on Darwin (PR26002). This should fix the problem. Patch by Dan Peebles! llvm-svn: 257110 --- compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake index 511361b49a7a..caa4f689b0ed 100644 --- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -282,7 +282,8 @@ macro(darwin_add_builtin_libraries) set(PROFILE_SOURCES ../profile/InstrProfiling ../profile/InstrProfilingBuffer - ../profile/InstrProfilingPlatformDarwin) + ../profile/InstrProfilingPlatformDarwin + ../profile/InstrProfilingWriter) foreach (os ${ARGN}) list_union(DARWIN_BUILTIN_ARCHS DARWIN_${os}_ARCHS BUILTIN_SUPPORTED_ARCH) foreach (arch ${DARWIN_BUILTIN_ARCHS})