aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-ld
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-18 00:19:32 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-18 00:19:32 +0000
commit1bd2653c8f0a683d4a405ef5887e77cc662d78bc (patch)
tree87bea0641f6194b180adf89168edf25f27eed37e /tools/llvm-ld
parent3874730dd4d51438d2d2ed03c4ae8a2c22111da1 (diff)
downloadexternal_llvm-1bd2653c8f0a683d4a405ef5887e77cc662d78bc.zip
external_llvm-1bd2653c8f0a683d4a405ef5887e77cc662d78bc.tar.gz
external_llvm-1bd2653c8f0a683d4a405ef5887e77cc662d78bc.tar.bz2
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
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 de3ef43..c0a0326 100644
--- a/tools/llvm-ld/llvm-ld.cpp
+++ b/tools/llvm-ld/llvm-ld.cpp
@@ -313,7 +313,7 @@ static void EmitShellScript(char **argv) {
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);
}