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 | d01defedf6fb29fd939cd04544f1a4df863c5b1a (patch) | |
tree | 733a2dc8defcffee4d3f267bfee7926ae8789a36 /llvm/lib/System/Win32/Program.inc | |
parent | 66cb162f92c156717c7800dbc9d636cc57ec15ab (diff) | |
download | bcm5719-llvm-d01defedf6fb29fd939cd04544f1a4df863c5b1a.tar.gz bcm5719-llvm-d01defedf6fb29fd939cd04544f1a4df863c5b1a.zip |
Add possibility to set memory limit for binaries run via libSystem. This
is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349
Diffstat (limited to 'llvm/lib/System/Win32/Program.inc')
-rw-r--r-- | llvm/lib/System/Win32/Program.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Win32/Program.inc b/llvm/lib/System/Win32/Program.inc index e1ad155bb34..86e6d580634 100644 --- a/llvm/lib/System/Win32/Program.inc +++ b/llvm/lib/System/Win32/Program.inc @@ -104,6 +104,7 @@ Program::ExecuteAndWait(const Path& path, const char** envp, const Path** redirects, unsigned secondsToWait, + unsigned memoryLimit, std::string* ErrMsg) { if (!path.canExecute()) { if (ErrMsg) |