mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
sys::CopyFile returns void and throws an exception on error which will be
caught by llvm-ld's main function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19030 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b2d8c36018
commit
06c06dbaaf
@ -313,10 +313,7 @@ static void EmitShellScript(char **argv) {
|
|||||||
std::cerr << "Could not find llvm-stub.exe executable!\n";
|
std::cerr << "Could not find llvm-stub.exe executable!\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (sys::CopyFile(OutputFilename, llvmstub)) {
|
sys::CopyFile(OutputFilename, llvmstub);
|
||||||
std::cerr << "Could not copy the llvm-stub.exe executable!\n";
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user