mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
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
This commit is contained in:
@ -72,6 +72,10 @@ namespace sys {
|
||||
///< expires, the child is killed and this call returns. If zero,
|
||||
///< this function will wait until the child finishes or forever if
|
||||
///< it doesn't.
|
||||
unsigned memoryLimit = 0, ///< If non-zero, this specifies max. amount
|
||||
///< of memory can be allocated by process. If memory usage will be
|
||||
///< higher limit, the child is killed and this call returns. If zero -
|
||||
///< no memory limit.
|
||||
std::string* ErrMsg = 0 ///< If non-zero, provides a pointer to a string
|
||||
///< instance in which error messages will be returned. If the string
|
||||
///< is non-empty upon return an error occurred while invoking the
|
||||
|
Reference in New Issue
Block a user