summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccld/gccld.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-21 03:24:02 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-21 03:24:02 +0000
commit4acff4056f6d8d01b630d44ba23db8b9f07cf80d (patch)
treecefee8d941e3090db40e59ed2eb5885355c74339 /llvm/tools/gccld/gccld.cpp
parentfbad5d7d65856a84b69fb37ed620fe632a6ee2aa (diff)
downloadbcm5719-llvm-4acff4056f6d8d01b630d44ba23db8b9f07cf80d.tar.gz
bcm5719-llvm-4acff4056f6d8d01b630d44ba23db8b9f07cf80d.zip
Use explicit construction of sys::Path from std::string because the
constructor is "explicit". llvm-svn: 19078
Diffstat (limited to 'llvm/tools/gccld/gccld.cpp')
-rw-r--r--llvm/tools/gccld/gccld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gccld/gccld.cpp b/llvm/tools/gccld/gccld.cpp
index 91f206b238f..d33d64a01d6 100644
--- a/llvm/tools/gccld/gccld.cpp
+++ b/llvm/tools/gccld/gccld.cpp
@@ -124,7 +124,7 @@ static void EmitShellScript(char **argv) {
std::cerr << "Could not find llvm-stub.exe executable!\n";
exit(1);
}
- sys::CopyFile(OutputFilename, llvmstub);
+ sys::CopyFile(sys::Path(OutputFilename), sys::Path(llvmstub));
return;
#endif
OpenPOWER on IntegriCloud