summaryrefslogtreecommitdiff
path: root/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
commitbf427630a0388b727805baee5c3daec11604794f (patch)
tree832bb8bf2d966537c0959ed307166c95f89afd43 /tools/llvm-ld
parent2307c5c1f8c5ba8d689c5476a3a4f043703c1841 (diff)
downloadllvm-bf427630a0388b727805baee5c3daec11604794f.tar.gz
llvm-bf427630a0388b727805baee5c3daec11604794f.tar.bz2
llvm-bf427630a0388b727805baee5c3daec11604794f.tar.xz
Make parameters to CopyFile use explicit instantiation of sys::Path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld')
-rw-r--r--tools/llvm-ld/llvm-ld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp
index c85a6be049..bc088c27c8 100644
--- a/tools/llvm-ld/llvm-ld.cpp
+++ b/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