From 69f87edbebe7dc9b450482a4af0a3d6b55ef5c23 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Fri, 27 Jun 2014 12:37:36 +0000 Subject: Replace GetProgramPath("ld") with GetLinkerPath(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211895 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/Tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- cgit v1.2.3