aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorSumanth Gundapaneni <sgundapa@codeaurora.org>2015-12-16 20:18:12 +0000
committerSumanth Gundapaneni <sgundapa@codeaurora.org>2015-12-16 20:18:12 +0000
commitce7fc179703231b8b2bab0aa696704027ce108dd (patch)
tree2b3d515b8351665b27595aa3ffca316d13823990 /clang/lib/Driver/Tools.cpp
parentc146ea45f5379daec4bd9ea63c204e2188b88355 (diff)
downloadllvm-ce7fc179703231b8b2bab0aa696704027ce108dd.zip
llvm-ce7fc179703231b8b2bab0aa696704027ce108dd.tar.gz
llvm-ce7fc179703231b8b2bab0aa696704027ce108dd.tar.bz2
[PS4] Fix the unit test to be compatible with clang driver. NFC
".exe" extension is inherently checked by llvm::fs::can_execute() This patch fixes the linker extension in clang driver and updates the unit test to accommodate the the check string on windows. Differential Revision:http://reviews.llvm.org/D15577 llvm-svn: 255814
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index dc125d6..41a4e9a 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -10440,7 +10440,7 @@ static void ConstructGoldLinkJob(const Tool &T, Compilation &C,
const char *Exec =
#ifdef LLVM_ON_WIN32
- Args.MakeArgString(ToolChain.GetProgramPath("ps4-ld.gold.exe"));
+ Args.MakeArgString(ToolChain.GetProgramPath("ps4-ld.gold"));
#else
Args.MakeArgString(ToolChain.GetProgramPath("ps4-ld"));
#endif