shithub: libvpx

Download patch

ref: 9b73e21c0df8e13259bc9af461a65229d57aeb49
parent: a57aa0545d5b4779de3cbb238f15fbbacbe38645
parent: 47a6c557af7f96b986dd66d0b013ed6158f3ea64
author: Hien Ho <hienho@google.com>
date: Fri Oct 25 12:24:23 EDT 2019

Merge "remove clang flag for integer sanitizer testing"

--- a/tools/set_analyzer_env.sh
+++ b/tools/set_analyzer_env.sh
@@ -82,17 +82,6 @@
   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++"