forked from OSchip/llvm-project
sys::CopyString throws an exception on error which will be caught by gccld
main function. llvm-svn: 19029
This commit is contained in:
parent
81184bb528
commit
8b086e3871
|
@ -124,10 +124,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
|
||||
|
||||
|
|
Loading…
Reference in New Issue