[PATCH] D31462: Enable leak detection on linux-i686 by default

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 07:16:39 PDT 2017


fjricci created this revision.

This is already assumed by the test suite, and by
asan_flags.cc.


https://reviews.llvm.org/D31462

Files:
  lib/sanitizer_common/sanitizer_flags.inc


Index: lib/sanitizer_common/sanitizer_flags.inc
===================================================================
--- lib/sanitizer_common/sanitizer_flags.inc
+++ lib/sanitizer_common/sanitizer_flags.inc
@@ -62,8 +62,7 @@
 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 "


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31462.93372.patch
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170329/2e173c3a/attachment.bin>


More information about the llvm-commits mailing list