r211895 - Replace GetProgramPath("ld") with GetLinkerPath().

Logan Chien tzuhsiang.chien at gmail.com
Fri Jun 27 05:37:36 PDT 2014


Author: logan
Date: Fri Jun 27 07:37:36 2014
New Revision: 211895

URL: http://llvm.org/viewvc/llvm-project?rev=211895&view=rev
Log:
Replace GetProgramPath("ld") with GetLinkerPath().

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=211895&r1=211894&r2=211895&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Fri Jun 27 07:37:36 2014
@@ -7264,7 +7264,7 @@ void gnutools::Link::ConstructJob(Compil
 
   const char *Exec =
     IsLinux ? LinuxToolChain.Linker.c_str()
-            : Args.MakeArgString(ToolChain.GetProgramPath("ld"));
+            : Args.MakeArgString(ToolChain.GetLinkerPath());
   C.addCommand(new Command(JA, *this, Exec, CmdArgs));
 }
 





More information about the cfe-commits mailing list