diff --git a/compiler-rt/lib/profile/CMakeLists.txt b/compiler-rt/lib/profile/CMakeLists.txt index e0e816d2cbec..7de9c5e4b9be 100644 --- a/compiler-rt/lib/profile/CMakeLists.txt +++ b/compiler-rt/lib/profile/CMakeLists.txt @@ -6,7 +6,7 @@ if(APPLE) set(PROFILE_SOURCES GCDAProfiling.c InstrProfiling.c - InstrProfilingDarwin.c + InstrProfilingPlatformDarwin.c InstrProfilingExtras.c) add_compiler_rt_osx_static_runtime(clang_rt.profile_osx @@ -17,7 +17,7 @@ else() set(PROFILE_SOURCES GCDAProfiling.c InstrProfiling.c - InstrProfilingDefault.c + InstrProfilingPlatformOther.c InstrProfilingExtras.c) foreach(arch ${PROFILE_SUPPORTED_ARCH}) diff --git a/compiler-rt/lib/profile/InstrProfilingDarwin.c b/compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c similarity index 100% rename from compiler-rt/lib/profile/InstrProfilingDarwin.c rename to compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c diff --git a/compiler-rt/lib/profile/InstrProfilingDefault.c b/compiler-rt/lib/profile/InstrProfilingPlatformOther.c similarity index 100% rename from compiler-rt/lib/profile/InstrProfilingDefault.c rename to compiler-rt/lib/profile/InstrProfilingPlatformOther.c diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk index f4676e01a724..0feb553417b3 100644 --- a/compiler-rt/make/platform/clang_darwin.mk +++ b/compiler-rt/make/platform/clang_darwin.mk @@ -223,7 +223,7 @@ FUNCTIONS.ios.x86_64h := $(FUNCTIONS.ios.x86_64) FUNCTIONS.osx := mulosi4 mulodi4 muloti4 FUNCTIONS.profile_osx := GCDAProfiling InstrProfiling \ - InstrProfilingDarwin InstrProfilingExtras + InstrProfilingPlatformDarwin InstrProfilingExtras FUNCTIONS.profile_ios := $(FUNCTIONS.profile_osx) FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \