llvm-6502/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
gold Check for errors when calling lto_codegen_add_module in the gold plugin. 2013-10-18 19:32:06 +00:00
llc
lli Adding support for deregistering EH frames with MCJIT. 2013-10-16 00:14:21 +00:00
llvm-ar
llvm-as
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
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
llvm-dwarfdump Add gnu pubsections as options to llvm-dwarfdump. 2013-09-25 23:02:44 +00:00
llvm-extract
llvm-jitlistener
llvm-link
llvm-lto Fix object file writing in llvm-lto on Windows. 2013-10-04 21:40:54 +00:00
llvm-mc
llvm-mcmarkup
llvm-nm
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
llvm-size
llvm-stress
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