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

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 07:18:22 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL299082: Enable leak detection on linux-i686 by default (authored by fjricci).

Changed prior to commit:
  https://reviews.llvm.org/D31462?vs=93372&id=93477#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D31462

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.inc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.inc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.inc
+++ compiler-rt/trunk/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.93477.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170330/09675c2c/attachment.bin>


More information about the llvm-commits mailing list