diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-03-30 14:05:46 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-03-30 14:05:46 +0000 |
commit | 323e69dcc28f0c7b846dafbe8026d0d7a6e633ca (patch) | |
tree | 5a5670d5d2c68574284ea776cc4abb8536950814 /lib/sanitizer_common/sanitizer_flags.inc | |
parent | 9fa19db0eb2fffd24a1ed62e2cce546250555f97 (diff) | |
download | compiler-rt-323e69dcc28f0c7b846dafbe8026d0d7a6e633ca.tar.gz |
Enable leak detection on linux-i686 by default
Summary:
This is already assumed by the test suite, and by
asan_flags.cc.
Reviewers: m.ostapenko, vitalybuka, kubamracek, kcc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D31462
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_flags.inc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_flags.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sanitizer_common/sanitizer_flags.inc b/lib/sanitizer_common/sanitizer_flags.inc index f1113698d..e61d1c3b4 100644 --- a/lib/sanitizer_common/sanitizer_flags.inc +++ b/lib/sanitizer_common/sanitizer_flags.inc @@ -62,8 +62,7 @@ COMMON_FLAG( COMMON_FLAG( int, verbosity, 0, "Verbosity level (0 - silent, 1 - a bit of output, 2+ - more output).") -COMMON_FLAG(bool, detect_leaks, SANITIZER_WORDSIZE == 64, - "Enable memory leak detection.") +COMMON_FLAG(bool, detect_leaks, true, "Enable memory leak detection.") COMMON_FLAG( bool, leak_check_at_exit, true, "Invoke leak checking in an atexit handler. Has no effect if " |