r199733 - Macho-embedded: rename compiler-rt support from Darwin-embedded

Tim Northover tnorthover at apple.com
Tue Jan 21 04:38:19 PST 2014


Author: tnorthover
Date: Tue Jan 21 06:38:19 2014
New Revision: 199733

URL: http://llvm.org/viewvc/llvm-project?rev=199733&view=rev
Log:
Macho-embedded: rename compiler-rt support from Darwin-embedded

There's nothing Darwin-based in the files or target now, so the previous name
is now misleading.

Modified:
    cfe/trunk/lib/Driver/ToolChains.cpp
    cfe/trunk/runtime/compiler-rt/Makefile

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=199733&r1=199732&r2=199733&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Tue Jan 21 06:38:19 2014
@@ -281,7 +281,7 @@ void MachO::AddLinkRuntimeLib(const ArgL
                               StringRef DarwinStaticLib, bool AlwaysLink,
                               bool IsEmbedded) const {
   SmallString<128> P(getDriver().ResourceDir);
-  llvm::sys::path::append(P, "lib", IsEmbedded ? "darwin_embedded" : "darwin",
+  llvm::sys::path::append(P, "lib", IsEmbedded ? "macho_embedded" : "darwin",
                           DarwinStaticLib);
 
   // For now, allow missing resource libraries to support developers who may

Modified: cfe/trunk/runtime/compiler-rt/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/compiler-rt/Makefile?rev=199733&r1=199732&r2=199733&view=diff
==============================================================================
--- cfe/trunk/runtime/compiler-rt/Makefile (original)
+++ cfe/trunk/runtime/compiler-rt/Makefile Tue Jan 21 06:38:19 2014
@@ -78,17 +78,17 @@ ifeq ($(shell test -d $(COMPILERRT_SRC_R
 # support.
 RuntimeDirs :=
 ifeq ($(OS),Darwin)
-RuntimeDirs += darwin darwin_embedded
+RuntimeDirs += darwin macho_embedded
 RuntimeLibrary.darwin.Configs := \
 	eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \
 	asan_osx_dynamic.dylib \
 	profile_osx.a profile_ios.a \
 	ubsan_osx.a
 
-RuntimeLibrary.darwin_embedded.Configs := \
+RuntimeLibrary.macho_embedded.Configs := \
 	hard_static.a hard_pic.a
 ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
-RuntimeLibrary.darwin_embedded.Configs += \
+RuntimeLibrary.macho_embedded.Configs += \
 	soft_static.a soft_pic.a
 endif
 





More information about the cfe-commits mailing list