From f053fc9b5c70d22a0a2ae665170e30d8b8a26cc3 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Fri, 19 Dec 2014 23:09:59 +0000 Subject: [sanitizer] initialize two flas in SetCommonFlagsDefaults llvm-svn: 224645 --- compiler-rt/lib/sanitizer_common/sanitizer_flags.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_flags.cc') 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; -- cgit v1.2.3