diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-02-16 19:11:07 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-02-16 19:11:07 +0000 |
commit | 9ba8a76f8baaa1092d60ccfbc04e7efdc207c98f (patch) | |
tree | a4d2b47d47b30c9f7416757f798b092bf1ea6909 /tools/lto | |
parent | bdf44b929f6bd0983b0f0df0d2ae66610e81e149 (diff) | |
download | external_llvm-9ba8a76f8baaa1092d60ccfbc04e7efdc207c98f.zip external_llvm-9ba8a76f8baaa1092d60ccfbc04e7efdc207c98f.tar.gz external_llvm-9ba8a76f8baaa1092d60ccfbc04e7efdc207c98f.tar.bz2 |
Add possibility to set memory limit for binaries run via libSystem. This
is especially needed for bugpoint. This partly implements PR688
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r-- | tools/lto/lto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp index 730e7c2..1f70744 100644 --- a/tools/lto/lto.cpp +++ b/tools/lto/lto.cpp @@ -458,7 +458,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, &ErrMsg)) { + if (sys::Program::ExecuteAndWait(gcc, &args[0], 0, 0, 1, 0, &ErrMsg)) { cerr << "lto: " << ErrMsg << "\n"; return LTO_ASM_FAILURE; } |