[compiler-rt] r224645 - [sanitizer] initialize two flas in SetCommonFlagsDefaults
Kostya Serebryany
kcc at google.com
Fri Dec 19 15:09:59 PST 2014
Author: kcc
Date: Fri Dec 19 17:09:59 2014
New Revision: 224645
URL: http://llvm.org/viewvc/llvm-project?rev=224645&view=rev
Log:
[sanitizer] initialize two flas in SetCommonFlagsDefaults
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc?rev=224645&r1=224644&r2=224645&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc Fri Dec 19 17:09:59 2014
@@ -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;
More information about the llvm-commits
mailing list