From: Logan Chien Date: Fri, 27 Jun 2014 12:37:36 +0000 (+0000) Subject: Replace GetProgramPath("ld") with GetLinkerPath(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69f87edbebe7dc9b450482a4af0a3d6b55ef5c23;p=clang Replace GetProgramPath("ld") with GetLinkerPath(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211895 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 1402f78f08..835606cc89 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -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)); }