diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-22 01:26:48 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-22 01:26:48 +0000 |
commit | bf427630a0388b727805baee5c3daec11604794f (patch) | |
tree | 832bb8bf2d966537c0959ed307166c95f89afd43 /tools/llvm-ld | |
parent | 2307c5c1f8c5ba8d689c5476a3a4f043703c1841 (diff) | |
download | external_llvm-bf427630a0388b727805baee5c3daec11604794f.zip external_llvm-bf427630a0388b727805baee5c3daec11604794f.tar.gz external_llvm-bf427630a0388b727805baee5c3daec11604794f.tar.bz2 |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp index c85a6be..bc088c2 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 |