Make parameters to CopyFile use explicit instantiation of sys::Path.
authorReid Spencer <rspencer@reidspencer.com>
Wed, 22 Dec 2004 01:26:48 +0000 (01:26 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 22 Dec 2004 01:26:48 +0000 (01:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19086 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-ld/llvm-ld.cpp

index c85a6be04987e3f05a2170a3b712862a3f9111ff..bc088c27c84b1c6bdf49af2be48060415a5fc176 100644 (file)
@@ -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