]> granicus.if.org Git - libvpx/commitdiff
remove clang flag for integer sanitizer testing
authorHien Ho <hienho@google.com>
Thu, 24 Oct 2019 18:00:18 +0000 (11:00 -0700)
committerHien Ho <hienho@google.com>
Thu, 24 Oct 2019 18:02:41 +0000 (11:02 -0700)
BUG=webm:1615

Change-Id: Idfc86722e744d0c71ad47e284afb9cf9b8474473

tools/set_analyzer_env.sh

index 4bdbba6523ced687b5f309d22117804ef88bfddb..8ee0c4fe5aa6d0f37c69f63cc894225413da74e1 100644 (file)
@@ -82,17 +82,6 @@ if [ "${sanitizer}" = "cfi" ]; then
   export AR="llvm-ar"
 fi
 
-# TODO(http://crbug.com/webm/1615): -fsanitize=implicit-integer-truncation
-# causes conversion warnings in many of the x86 intrinsics and elsewhere.
-if [ "${sanitizer}" = "integer" ]; then
-  major_version=$(clang --version | head -n 1 \
-    | grep -o -E "[[:digit:]]\.[[:digit:]]\.[[:digit:]]" | cut -f1 -d.)
-  if [ ${major_version} -ge 7 ]; then
-    cflags="${cflags} -fno-sanitize=implicit-integer-truncation"
-    ldflags="${ldflags} -fno-sanitize=implicit-integer-truncation"
-  fi
-fi
-
 set -x
 export CC="clang"
 export CXX="clang++"