summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2013-10-25 17:41:41 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2013-10-25 17:41:41 +0000
commit1b71f42f7d9227d20249d357194dda3e13d2c97a (patch)
treee7f85d201cddc89ddf80ba43157f9ceed567331b /clang/lib/Frontend/CompilerInvocation.cpp
parentb625016a8de2cb0ac36b52f3dd7188834f439447 (diff)
downloadbcm5719-llvm-1b71f42f7d9227d20249d357194dda3e13d2c97a.tar.gz
bcm5719-llvm-1b71f42f7d9227d20249d357194dda3e13d2c97a.zip
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud