aboutsummaryrefslogtreecommitdiff
path: root/tools/lto
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-02-04 21:16:10 +0000
committerDevang Patel <dpatel@apple.com>2008-02-04 21:16:10 +0000
commit0e50128099171b431b05a34f5b98ea1c2f82b867 (patch)
tree1157af44407e2c1c88c2f715b7808e06fd936829 /tools/lto
parentf357afb4045307a24c52606e267385148367a7a3 (diff)
Do not set time out, lets assume assembler will do its job in reasonable amount of time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r--tools/lto/lto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index ae7f333188..b330af16bd 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -516,7 +516,7 @@ LTO::optimizeModules(const std::string &OutputFilename,
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;
}