summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2014-06-27 12:37:36 +0000
committerLogan Chien <tzuhsiang.chien@gmail.com>2014-06-27 12:37:36 +0000
commit69f87edbebe7dc9b450482a4af0a3d6b55ef5c23 (patch)
tree6fabf823404c6e8bcd304c94af387ca35307331d
parentf19ae3247706388b82b1732fcb567f2981bda7af (diff)
downloadclang-69f87edbebe7dc9b450482a4af0a3d6b55ef5c23.tar.gz
clang-69f87edbebe7dc9b450482a4af0a3d6b55ef5c23.tar.bz2
clang-69f87edbebe7dc9b450482a4af0a3d6b55ef5c23.tar.xz
Replace GetProgramPath("ld") with GetLinkerPath().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211895 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Driver/Tools.cpp2
1 files changed, 1 insertions, 1 deletions
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));
}