projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b2d8c36
)
sys::CopyFile returns void and throws an exception on error which will be
author
Reid Spencer
<rspencer@reidspencer.com>
Sat, 18 Dec 2004 06:54:21 +0000
(06:54 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sat, 18 Dec 2004 06:54:21 +0000
(06:54 +0000)
caught by llvm-ld's main function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19030
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-ld/llvm-ld.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-ld/llvm-ld.cpp
b/tools/llvm-ld/llvm-ld.cpp
index c0a0326365721757bdd18c3ee6df7d881a0aad62..2a7b535cfa471e6c07bb65df4481a3c2e456be69 100644
(file)
--- a/
tools/llvm-ld/llvm-ld.cpp
+++ b/
tools/llvm-ld/llvm-ld.cpp
@@
-313,10
+313,7
@@
static void EmitShellScript(char **argv) {
std::cerr << "Could not find llvm-stub.exe executable!\n";
exit(1);
}
- if (sys::CopyFile(OutputFilename, llvmstub)) {
- std::cerr << "Could not copy the llvm-stub.exe executable!\n";
- exit(1);
- }
+ sys::CopyFile(OutputFilename, llvmstub);
return;
#endif