mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +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:
@@ -50,6 +50,7 @@ class BugDriver {
|
||||
bool run_as_child;
|
||||
bool run_find_bugs;
|
||||
unsigned Timeout;
|
||||
unsigned MemoryLimit;
|
||||
|
||||
// FIXME: sort out public/private distinctions...
|
||||
friend class ReducePassList;
|
||||
@@ -57,7 +58,7 @@ class BugDriver {
|
||||
|
||||
public:
|
||||
BugDriver(const char *toolname, bool as_child, bool find_bugs,
|
||||
unsigned timeout);
|
||||
unsigned timeout, unsigned memlimit);
|
||||
|
||||
const std::string &getToolName() const { return ToolName; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user