[compiler-rt] cc9c895 - [compiler-rt][profile] Explicitly specify PROFILE_SOURCES extensions. NFC
Jon Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Fri May 21 14:46:23 PDT 2021
Author: Jon Roelofs
Date: 2021-05-21T14:46:08-07:00
New Revision: cc9c895d8844d69a6962a5a5952034a9e466b2f0
URL: https://github.com/llvm/llvm-project/commit/cc9c895d8844d69a6962a5a5952034a9e466b2f0
DIFF: https://github.com/llvm/llvm-project/commit/cc9c895d8844d69a6962a5a5952034a9e466b2f0.diff
LOG: [compiler-rt][profile] Explicitly specify PROFILE_SOURCES extensions. NFC
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 456a8dcda59f6..a38ad8c55af03 100644
--- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
@@ -397,12 +397,12 @@ macro(darwin_add_builtin_libraries)
append_string_if(COMPILER_RT_HAS_ASM_LSE " -DHAS_ASM_LSE" CFLAGS)
- set(PROFILE_SOURCES ../profile/InstrProfiling
- ../profile/InstrProfilingBuffer
- ../profile/InstrProfilingPlatformDarwin
- ../profile/InstrProfilingWriter
- ../profile/InstrProfilingInternal
- ../profile/InstrProfilingVersionVar)
+ set(PROFILE_SOURCES ../profile/InstrProfiling.c
+ ../profile/InstrProfilingBuffer.c
+ ../profile/InstrProfilingPlatformDarwin.c
+ ../profile/InstrProfilingWriter.c
+ ../profile/InstrProfilingInternal.c
+ ../profile/InstrProfilingVersionVar.c)
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