mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Bugpoint's default memory limit (100MB) was too low for valgrind, so
this patch raises the default to 800MB when valgrind's active. 800 was chosen semi-arbitrarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98905 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,12 +68,12 @@ std::string llvm::getPassesString(const std::vector<const PassInfo*> &Passes) {
|
||||
}
|
||||
|
||||
BugDriver::BugDriver(const char *toolname, bool as_child, bool find_bugs,
|
||||
unsigned timeout, unsigned memlimit,
|
||||
unsigned timeout, unsigned memlimit, bool use_valgrind,
|
||||
LLVMContext& ctxt)
|
||||
: Context(ctxt), ToolName(toolname), ReferenceOutputFile(OutputFile),
|
||||
Program(0), Interpreter(0), SafeInterpreter(0), gcc(0),
|
||||
run_as_child(as_child), run_find_bugs(find_bugs), Timeout(timeout),
|
||||
MemoryLimit(memlimit) {}
|
||||
MemoryLimit(memlimit), UseValgrind(use_valgrind) {}
|
||||
|
||||
|
||||
/// ParseInputFile - Given a bitcode or assembly input filename, parse and
|
||||
|
Reference in New Issue
Block a user