From c29faaccaab1f4e662b176b4d5ab9fda8d8546a5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Jun 2018 21:24:52 +0300 Subject: Add flag -D_GLIBCXX_SANITIZE_VECTOR into asan builds. --- tools/ci/jobs/gcc7_sanitize.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/ci/jobs/gcc7_sanitize.sh') diff --git a/tools/ci/jobs/gcc7_sanitize.sh b/tools/ci/jobs/gcc7_sanitize.sh index f442ed53d..79b6a80f8 100755 --- a/tools/ci/jobs/gcc7_sanitize.sh +++ b/tools/ci/jobs/gcc7_sanitize.sh @@ -15,6 +15,7 @@ export LOGFILE=gcc7.log source ./tools/ci/scripts/init.sh export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \ +-D_GLIBCXX_SANITIZE_VECTOR \ -Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \ -fsanitize=address -fsanitize=undefined \ -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable \ -- cgit v1.2.3-70-g09d2