diff options
author | Hien Ho <hienho@google.com> | 2019-10-24 11:00:18 -0700 |
---|---|---|
committer | Hien Ho <hienho@google.com> | 2019-10-24 11:02:41 -0700 |
commit | 47a6c557af7f96b986dd66d0b013ed6158f3ea64 (patch) | |
tree | 269708a4bd2b519f0b2102073bb674993460bafe /tools | |
parent | d18c0bbe97585f9570850e52a4bbf7ba0a8c7e7e (diff) | |
download | libvpx-47a6c557af7f96b986dd66d0b013ed6158f3ea64.tar libvpx-47a6c557af7f96b986dd66d0b013ed6158f3ea64.tar.gz libvpx-47a6c557af7f96b986dd66d0b013ed6158f3ea64.tar.bz2 libvpx-47a6c557af7f96b986dd66d0b013ed6158f3ea64.zip |
remove clang flag for integer sanitizer testing
BUG=webm:1615
Change-Id: Idfc86722e744d0c71ad47e284afb9cf9b8474473
Diffstat (limited to 'tools')
-rw-r--r-- | tools/set_analyzer_env.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/set_analyzer_env.sh b/tools/set_analyzer_env.sh index 4bdbba652..8ee0c4fe5 100644 --- a/tools/set_analyzer_env.sh +++ b/tools/set_analyzer_env.sh @@ -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++" |