[llvm-commits] [llvm] r46718 - /llvm/trunk/tools/lto/lto.cpp
Devang Patel
dpatel at apple.com
Mon Feb 4 13:16:10 PST 2008
Author: dpatel
Date: Mon Feb 4 15:16:10 2008
New Revision: 46718
URL: http://llvm.org/viewvc/llvm-project?rev=46718&view=rev
Log:
Do not set time out, lets assume assembler will do its job in reasonable amount of time.
Modified:
llvm/trunk/tools/lto/lto.cpp
Modified: llvm/trunk/tools/lto/lto.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/lto.cpp?rev=46718&r1=46717&r2=46718&view=diff
==============================================================================
--- llvm/trunk/tools/lto/lto.cpp (original)
+++ llvm/trunk/tools/lto/lto.cpp Mon Feb 4 15:16:10 2008
@@ -516,7 +516,7 @@
args.push_back(tmpAsmFilePath.c_str());
args.push_back(0);
- if (sys::Program::ExecuteAndWait(gcc, &args[0], 0, 0, 1, 0, &ErrMsg)) {
+ if (sys::Program::ExecuteAndWait(gcc, &args[0], 0, 0, 0, 0, &ErrMsg)) {
cerr << "lto: " << ErrMsg << "\n";
return LTO_ASM_FAILURE;
}
More information about the llvm-commits
mailing list