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. --- build/bmakedebug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/bmakedebug') diff --git a/build/bmakedebug b/build/bmakedebug index a47c160e0..885d41a08 100755 --- a/build/bmakedebug +++ b/build/bmakedebug @@ -11,7 +11,7 @@ export CXX="ccache g++" export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ --D_FORTIFY_SOURCE=2 \ +-D_FORTIFY_SOURCE=2 -D_GLIBCXX_SANITIZE_VECTOR \ -fno-omit-frame-pointer \ -fsanitize=address -fsanitize=undefined \ -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable \ -- cgit v1.2.3-70-g09d2