[compiler-rt] r257110 - [cmake] Add InstrProfilingWriter to libclang_rt on Darwin

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 14:54:46 PST 2016


Author: vedantk
Date: Thu Jan  7 16:54:46 2016
New Revision: 257110

URL: http://llvm.org/viewvc/llvm-project?rev=257110&view=rev
Log:
[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!

Modified:
    compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake

Modified: compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake?rev=257110&r1=257109&r2=257110&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake Thu Jan  7 16:54:46 2016
@@ -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})




More information about the llvm-commits mailing list