llvm-6502/tools/bugpoint
Daniel Sanders 69f4280b54 [bugpoint] Increase the default memory limit for subprocesses to 300MB.
Summary:
Currently shared library builds (BUILD_SHARED_LIBS=ON in cmake) fail three
bugpoint tests (BugPoint/remove_arguments_test.ll,
BugPoint/crash-narrowfunctiontest.ll, and BugPoint/metadata.ll).

If I run the bugpoint commands that llvm-lit runs with without -silence-passes
I see errors such as this:
    opt: error while loading shared libraries: libLLVMSystemZInfo.so: failed to
    map segment from shared object: Cannot allocate memory

It seems that the increased size of the binaries in a shared library build is
causing the subprocess to exceed the 100MB memory limit. This patch therefore
increases the default limit to a level at which these tests pass.

Reviewers: dsanders

Reviewed By: dsanders

CC: llvm-commits, rafael

Differential Revision: http://llvm-reviews.chandlerc.com/D2013

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193420 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-25 17:41:41 +00:00
..
BugDriver.cpp Remove PathV1.h use from BugDriver.cpp. 2013-06-18 16:21:54 +00:00
BugDriver.h Fix bugpoint execution/reference output file name 2013-06-28 16:37:52 +00:00
bugpoint.cpp [bugpoint] Increase the default memory limit for subprocesses to 300MB. 2013-10-25 17:41:41 +00:00
CMakeLists.txt Don't export symbols in every binary on linux. 2013-04-04 01:01:32 +00:00
CrashDebugger.cpp Added std:: qualifier to find() invocation 2013-09-02 01:18:56 +00:00
ExecutionDriver.cpp Remove several unused variables. 2013-10-01 13:32:03 +00:00
ExtractFunction.cpp Add a createUniqueFile function and switch llvm's users of unique_file. 2013-07-05 21:01:08 +00:00
FindBugs.cpp Remove usage of PathV1.h in FindBugs.cpp. 2013-06-17 20:48:36 +00:00
ListReducer.h
LLVMBuild.txt
Makefile Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
Miscompilation.cpp Fix invalid function pointers in bugpoint ExtractLoops 2013-08-02 21:13:42 +00:00
OptimizerDriver.cpp [bugpoint] Allow the user to specify the path to opt on the commandline. 2013-08-05 21:07:07 +00:00
ToolRunner.cpp Add a createUniqueFile function and switch llvm's users of unique_file. 2013-07-05 21:01:08 +00:00
ToolRunner.h Don't use PathV1.h in ToolRunner.h. 2013-06-17 19:21:38 +00:00