The CopyFile function got moved into the sys namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19026 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index 8f4dd3f..097085c 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -124,7 +124,7 @@
std::cerr << "Could not find llvm-stub.exe executable!\n";
exit(1);
}
- if (CopyFile(OutputFilename, llvmstub)) {
+ if (sys::CopyFile(OutputFilename, llvmstub)) {
std::cerr << "Could not copy the llvm-stub.exe executable!\n";
exit(1);
}