summaryrefslogtreecommitdiff
path: root/cmake/Modules/CompilerRTDarwinUtils.cmake
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-01-07 22:54:46 +0000
committerVedant Kumar <vsk@apple.com>2016-01-07 22:54:46 +0000
commit6ec496ab77a4ab9ce52dd8c454a79ff48fd8d7a8 (patch)
tree7637ff6266df8fcbafb24f9b3ae400cffd9dc730 /cmake/Modules/CompilerRTDarwinUtils.cmake
parent6beaa681ddbc50d2cfcd5dbe476ee1f77761800d (diff)
[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! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/Modules/CompilerRTDarwinUtils.cmake')
-rw-r--r--cmake/Modules/CompilerRTDarwinUtils.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/Modules/CompilerRTDarwinUtils.cmake b/cmake/Modules/CompilerRTDarwinUtils.cmake
index 511361b49..caa4f689b 100644
--- a/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ b/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})