r220939 - Rename 'DarwinStaticLib' to 'DarwinLibName'

Kuba Brecka kuba.brecka at gmail.com
Thu Oct 30 17:08:58 PDT 2014


Author: kuba.brecka
Date: Thu Oct 30 19:08:57 2014
New Revision: 220939

URL: http://llvm.org/viewvc/llvm-project?rev=220939&view=rev
Log:
Rename 'DarwinStaticLib' to 'DarwinLibName'

The former name doesn't make sense, we are using this parameter for both .a and .dylib libraries.

No functional change.

http://reviews.llvm.org/D6040


Modified:
    cfe/trunk/lib/Driver/ToolChains.cpp
    cfe/trunk/lib/Driver/ToolChains.h

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=220939&r1=220938&r2=220939&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Oct 30 19:08:57 2014
@@ -291,11 +291,11 @@ void DarwinClang::AddLinkARCArgs(const A
 }
 
 void MachO::AddLinkRuntimeLib(const ArgList &Args, ArgStringList &CmdArgs,
-                              StringRef DarwinStaticLib, bool AlwaysLink,
+                              StringRef DarwinLibName, bool AlwaysLink,
                               bool IsEmbedded) const {
   SmallString<128> P(getDriver().ResourceDir);
   llvm::sys::path::append(P, "lib", IsEmbedded ? "macho_embedded" : "darwin",
-                          DarwinStaticLib);
+                          DarwinLibName);
 
   // For now, allow missing resource libraries to support developers who may
   // not have compiler-rt checked out or integrated into their build (unless

Modified: cfe/trunk/lib/Driver/ToolChains.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.h?rev=220939&r1=220938&r2=220939&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.h (original)
+++ cfe/trunk/lib/Driver/ToolChains.h Thu Oct 30 19:08:57 2014
@@ -234,7 +234,7 @@ public:
 
   void AddLinkRuntimeLib(const llvm::opt::ArgList &Args,
                          llvm::opt::ArgStringList &CmdArgs,
-                         StringRef DarwinStaticLib,
+                         StringRef DarwinLibName,
                          bool AlwaysLink = false,
                          bool IsEmbedded = false) const;
 





More information about the cfe-commits mailing list