diff options
| author | Kostya Serebryany <kcc@google.com> | 2014-12-19 23:09:59 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2014-12-19 23:09:59 +0000 |
| commit | f053fc9b5c70d22a0a2ae665170e30d8b8a26cc3 (patch) | |
| tree | aeaa1823411ed28e73134f728354fc8ac265734e /compiler-rt/lib | |
| parent | aaa3d478637209dd59fdba21f0ff1a7da669a532 (diff) | |
| download | bcm5719-llvm-f053fc9b5c70d22a0a2ae665170e30d8b8a26cc3.tar.gz bcm5719-llvm-f053fc9b5c70d22a0a2ae665170e30d8b8a26cc3.zip | |
[sanitizer] initialize two flas in SetCommonFlagsDefaults
llvm-svn: 224645
Diffstat (limited to 'compiler-rt/lib')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_flags.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_flags.cc b/compiler-rt/lib/sanitizer_common/sanitizer_flags.cc index c7e8dca484f..dd8ec7a4c76 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_flags.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_flags.cc @@ -51,6 +51,8 @@ void CommonFlags::SetDefaults() { allocator_may_return_null = false; print_summary = true; check_printf = true; + mmap_limit_mb = 0; + hard_rss_limit_mb = 0; // TODO(glider): tools may want to set different defaults for handle_segv. handle_segv = SANITIZER_NEEDS_SEGV; allow_user_segv_handler = false; |

