lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master ecdbb393 5/5: Remove redundant 'leak' sanitiz


From: Greg Chicares
Subject: [lmi-commits] [lmi] master ecdbb393 5/5: Remove redundant 'leak' sanitizer option
Date: Sat, 11 Jun 2022 16:52:46 -0400 (EDT)

branch: master
commit ecdbb393d7df622fc6c64befda4b36f7e6efa314
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Remove redundant 'leak' sanitizer option
    
    The leak sanitizer has been incorporated into ASan.
---
 nychthemeral_test.sh | 3 +++
 workhorse.make       | 6 +-----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index f17f609d..727ec53a 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -370,6 +370,9 @@ then
 
   export UBSAN_OPTIONS=print_stacktrace=1
 
+  # WX !! Inhibit 'leak' by setting 'detect_leaks=0' in $ASAN_OPTIONS
+  # until the next wx upgrade.
+  #
   # Specify 'detect_invalid_pointer_pairs' even though that feature
   # isn't necessarily usable with gcc (see:
   #   https://lists.nongnu.org/archive/html/lmi/2022-06/msg00033.html
diff --git a/workhorse.make b/workhorse.make
index 21f341f0..d7742c83 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -735,17 +735,13 @@ CXX_WARNINGS = \
 
 # Options for undefined-behavior sanitizer.
 #
-# 'leak' is specified here because it will probably be useful someday.
-# WX !! For now, it's inhibited by 'detect_leaks=0' in $ASAN_OPTIONS
-# until the next wx upgrade.
-#
 # These:
 #   pointer-compare,pointer-subtract
 # aren't necessarily usable with gcc--see:
 #   https://lists.nongnu.org/archive/html/lmi/2022-06/msg00033.html
 
 ubsan_options := \
-  
-fsanitize=address,undefined,leak,float-divide-by-zero,float-cast-overflow,bounds-strict
 \
+  
-fsanitize=address,undefined,float-divide-by-zero,float-cast-overflow,bounds-strict
 \
   -Wno-duplicated-branches \
   -fno-omit-frame-pointer \
   -fno-var-tracking \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]