mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +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:
@@ -64,10 +64,10 @@ std::string llvm::getPassesString(const std::vector<const PassInfo*> &Passes) {
|
||||
}
|
||||
|
||||
BugDriver::BugDriver(const char *toolname, bool as_child, bool find_bugs,
|
||||
unsigned timeout)
|
||||
unsigned timeout, unsigned memlimit)
|
||||
: ToolName(toolname), ReferenceOutputFile(OutputFile),
|
||||
Program(0), Interpreter(0), cbe(0), gcc(0), run_as_child(as_child),
|
||||
run_find_bugs(find_bugs), Timeout(timeout) {}
|
||||
run_find_bugs(find_bugs), Timeout(timeout), MemoryLimit(memlimit) {}
|
||||
|
||||
|
||||
/// ParseInputFile - Given a bytecode or assembly input filename, parse and
|
||||
|
||||
Reference in New Issue
Block a user