diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-05-05 16:29:40 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-05-05 16:29:40 +0000 |
commit | 85202063c044550eb6667b14baa4cf34aa95103e (patch) | |
tree | ee926156e88de5c6c8ba6ed21c72b1db72aea9cc /llvm/tools/bugpoint/bugpoint.cpp | |
parent | d4eb73c00e444fb782302a948b541fccd2418df2 (diff) | |
download | bcm5719-llvm-85202063c044550eb6667b14baa4cf34aa95103e.tar.gz bcm5719-llvm-85202063c044550eb6667b14baa4cf34aa95103e.zip |
[bugpoint] Increase default memory limit to 400MB to fix bugpoint tests.
I tracked down the bug to an unchecked malloc in SmallVectorBase::grow_pod().
This malloc is returning NULL on my machine when running under bugpoint but not
when -enable-valgrind is given.
llvm-svn: 236504
Diffstat (limited to 'llvm/tools/bugpoint/bugpoint.cpp')
-rw-r--r-- | llvm/tools/bugpoint/bugpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/bugpoint.cpp b/llvm/tools/bugpoint/bugpoint.cpp index 0ee3784660a..af6d9fccf29 100644 --- a/llvm/tools/bugpoint/bugpoint.cpp +++ b/llvm/tools/bugpoint/bugpoint.cpp @@ -50,7 +50,7 @@ TimeoutValue("timeout", cl::init(300), cl::value_desc("seconds"), static cl::opt<int> MemoryLimit("mlimit", cl::init(-1), cl::value_desc("MBytes"), cl::desc("Maximum amount of memory to use. 0 disables check." - " Defaults to 300MB (800MB under valgrind).")); + " Defaults to 400MB (800MB under valgrind).")); static cl::opt<bool> UseValgrind("enable-valgrind", @@ -158,7 +158,7 @@ int main(int argc, char **argv) { if (sys::RunningOnValgrind() || UseValgrind) MemoryLimit = 800; else - MemoryLimit = 300; + MemoryLimit = 400; } BugDriver D(argv[0], FindBugs, TimeoutValue, MemoryLimit, |