]> granicus.if.org Git - clang/commitdiff
Replace GetProgramPath("ld") with GetLinkerPath().
authorLogan Chien <tzuhsiang.chien@gmail.com>
Fri, 27 Jun 2014 12:37:36 +0000 (12:37 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Fri, 27 Jun 2014 12:37:36 +0000 (12:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211895 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 1402f78f08e1ee27eb22310c3cc3e76180afbf14..835606cc894ad88c9ca04c68945e99dc12d59ced 100644 (file)
@@ -7264,7 +7264,7 @@ void gnutools::Link::ConstructJob(Compilation &C, const JobAction &JA,
 
   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));
 }