diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-18 00:19:32 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-18 00:19:32 +0000 |
| commit | 16ce83c3a6541c2c941ed1cbd830320a9491e116 (patch) | |
| tree | 8f7f3662f451a41cdfcd8776473c4e82a1e45610 /llvm/tools | |
| parent | b3d3f1b579aa2039804b6fbd397aa7ff7b36b7f6 (diff) | |
| download | bcm5719-llvm-16ce83c3a6541c2c941ed1cbd830320a9491e116.tar.gz bcm5719-llvm-16ce83c3a6541c2c941ed1cbd830320a9491e116.zip | |
The CopyFile function got moved into the sys namespace.
llvm-svn: 19026
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/gccld/gccld.cpp | 2 | ||||
| -rw-r--r-- | llvm/tools/llvm-ld/llvm-ld.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/gccld/gccld.cpp b/llvm/tools/gccld/gccld.cpp index 8f4dd3f9a03..097085c10a9 100644 --- a/llvm/tools/gccld/gccld.cpp +++ b/llvm/tools/gccld/gccld.cpp @@ -124,7 +124,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); } diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp index de3ef43c40c..c0a03263657 100644 --- a/llvm/tools/llvm-ld/llvm-ld.cpp +++ b/llvm/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); } |

