llvm/tools
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
..
bugpoint [bugpoint] Increase the default memory limit for subprocesses to 300MB. 2013-10-25 17:41:41 +00:00
bugpoint-passes [CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF. 2013-01-22 01:44:00 +00:00
gold Check for errors when calling lto_codegen_add_module in the gold plugin. 2013-10-18 19:32:06 +00:00
llc Use function attributes to indicate that we don't want to realign the stack. 2013-08-01 21:42:05 +00:00
lli Adding support for deregistering EH frames with MCJIT. 2013-10-16 00:14:21 +00:00
llvm-ar Fix name matching to work on windows. 2013-08-28 21:00:03 +00:00
llvm-as Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-bcanalyzer Add missing #include's to cctype when using isdigit/alpha/etc. 2013-10-12 00:55:57 +00:00
llvm-c-test llvm-c-test: Don't leak memory buffers. 2013-10-25 15:58:58 +00:00
llvm-config cmake: Prevent semicolon separated lists in llvm-config (PR17020) 2013-08-28 17:04:06 +00:00
llvm-cov Change llvm-cov output formatting to be more similar to gcov. 2013-10-22 05:09:41 +00:00
llvm-diff Remove several unused variables. 2013-10-01 13:32:03 +00:00
llvm-dis Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-dwarfdump Add gnu pubsections as options to llvm-dwarfdump. 2013-09-25 23:02:44 +00:00
llvm-extract Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-jitlistener Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-link Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-lto Fix object file writing in llvm-lto on Windows. 2013-10-04 21:40:54 +00:00
llvm-mc Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
llvm-mcmarkup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
llvm-nm Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-objdump Remove several unused variables. 2013-10-01 13:32:03 +00:00
llvm-readobj [Mips] Teach llvm-readobj to print MIPS-specific ELF program headers. 2013-10-07 08:58:27 +00:00
llvm-rtdyld This threads SectionName through the allocateCodeSection/allocateDataSection APIs, both in C++ and C land. 2013-10-02 00:59:25 +00:00
llvm-shlib Use @rpath for libraries rather than @executable_path on OSX. 2013-08-02 01:51:52 +00:00
llvm-size Sort the #include lines for tools/... 2012-12-04 10:44:52 +00:00
llvm-stress Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-symbolizer llvm-symbolizer: don't always run demangler on global object names 2013-10-16 09:54:49 +00:00
lto lto.h: Use lto_bool_t instead of int to restore the ABI 2013-10-24 22:26:04 +00:00
macho-dump Object/COFF: Rename getXXX{Begin,End} -> xxx_{begin,end}. 2013-09-27 21:47:05 +00:00
msbuild vs2013 msbuild integration: add missing .target files, fix typo in CMakeLists 2013-10-14 18:16:37 +00:00
obj2yaml Remove several unused variables. 2013-10-01 13:32:03 +00:00
opt Debug Info: In DIBuilder, the context field of subprogram is updated to use 2013-10-10 18:40:01 +00:00
yaml2obj yaml2coff/elf: Touchup for compatibility. 2013-10-12 21:29:16 +00:00
CMakeLists.txt llvm/tools/llvm-c-test should be built also on msvc. 2013-10-23 17:56:59 +00:00
LLVMBuild.txt Remove the very substantial, largely unmaintained legacy PGO 2013-10-02 15:42:23 +00:00
Makefile Add llvm-c-test tool for testing llvm-c 2013-10-23 08:10:20 +00:00