[compiler-rt] 1f47f89 - [profile] Add InstrProfilingVersionVar.c.o to Darwin kext builtins
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 10:02:25 PDT 2020
Author: Vedant Kumar
Date: 2020-08-26T10:02:13-07:00
New Revision: 1f47f89a901f438d17836b6c5341fcb55a026d61
URL: https://github.com/llvm/llvm-project/commit/1f47f89a901f438d17836b6c5341fcb55a026d61
DIFF: https://github.com/llvm/llvm-project/commit/1f47f89a901f438d17836b6c5341fcb55a026d61.diff
LOG: [profile] Add InstrProfilingVersionVar.c.o to Darwin kext builtins
Fixes a build failure in the Darwin kernel. Tested with:
% nm -mU lib/libclang_rt.cc_kext_x86_64h_osx.a | grep __llvm_profile_raw_version
rdar://67809173
Added:
Modified:
compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
Removed:
################################################################################
diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
index a31bcc3963e1..f6689c2e79ad 100644
--- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
@@ -399,7 +399,8 @@ macro(darwin_add_builtin_libraries)
../profile/InstrProfilingBuffer
../profile/InstrProfilingPlatformDarwin
../profile/InstrProfilingWriter
- ../profile/InstrProfilingInternal)
+ ../profile/InstrProfilingInternal
+ ../profile/InstrProfilingVersionVar)
foreach (os ${ARGN})
list_intersect(DARWIN_BUILTIN_ARCHS DARWIN_${os}_BUILTIN_ARCHS BUILTIN_SUPPORTED_ARCH)
foreach (arch ${DARWIN_BUILTIN_ARCHS})
More information about the llvm-commits
mailing list