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/llvmc | |
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/llvmc')
-rw-r--r-- | tools/llvmc/CompilerDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvmc/CompilerDriver.cpp b/tools/llvmc/CompilerDriver.cpp index a076a46..c153df8 100644 --- a/tools/llvmc/CompilerDriver.cpp +++ b/tools/llvmc/CompilerDriver.cpp @@ -499,14 +499,14 @@ private: Timer timer(action->program.toString()); timer.startTimer(); int resultCode = - sys::Program::ExecuteAndWait(action->program, Args,0,0,0,&ErrMsg); + sys::Program::ExecuteAndWait(action->program, Args,0,0,0,0, &ErrMsg); timer.stopTimer(); timer.print(timer,std::cerr); return resultCode; } else return - sys::Program::ExecuteAndWait(action->program, Args, 0,0,0, &ErrMsg); + sys::Program::ExecuteAndWait(action->program, Args, 0,0,0,0, &ErrMsg); } return 0; } |