1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/bugpoint
Daniel Sanders fa62351fd5 [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

llvm-svn: 193420
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
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