summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-22 01:26:48 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-22 01:26:48 +0000
commitfc195422a595966b5668997011d3a07fb8794f94 (patch)
treed1c394934f2aba07cf9e71ee946aeb60210e5f2f /llvm/tools/llvm-ld
parent248192ac047ddbb5a3e3628f72f87822fd9f4115 (diff)
downloadbcm5719-llvm-fc195422a595966b5668997011d3a07fb8794f94.tar.gz
bcm5719-llvm-fc195422a595966b5668997011d3a07fb8794f94.zip
Make parameters to CopyFile use explicit instantiation of sys::Path.
llvm-svn: 19086
Diffstat (limited to 'llvm/tools/llvm-ld')
-rw-r--r--llvm/tools/llvm-ld/llvm-ld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp
index c85a6be0498..bc088c27c84 100644
--- a/llvm/tools/llvm-ld/llvm-ld.cpp
+++ b/llvm/tools/llvm-ld/llvm-ld.cpp
@@ -315,7 +315,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::PatheOutputFilename), sys::Path(llvmstub));
return;
#endif
OpenPOWER on IntegriCloud