From 10acf4ac4abc9a4e85e0f6ae9c1c4b6e82bc8344 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 Feb 2017 19:57:38 +0300 Subject: Add -fno-omit-frame-pointer flag into all ci tests with asan. --- tools/ci/jobs/gcc6_sanitize_tests.sh | 1 + tools/ci/jobs/gccsnapshot_sanitize_tests.sh | 1 + 2 files changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/ci/jobs/gcc6_sanitize_tests.sh b/tools/ci/jobs/gcc6_sanitize_tests.sh index 229d51fe6..78da425c4 100755 --- a/tools/ci/jobs/gcc6_sanitize_tests.sh +++ b/tools/ci/jobs/gcc6_sanitize_tests.sh @@ -8,6 +8,7 @@ source ./tools/ci/scripts/init.sh export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \ -Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \ +-fno-omit-frame-pointer \ -fsanitize=address -fsanitize=undefined \ -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable \ -fsanitize=vla-bound -fsanitize=null -fsanitize=return \ diff --git a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh index 37dbe30cd..7bc757464 100755 --- a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh +++ b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh @@ -8,6 +8,7 @@ export PATH=/usr/lib/gcc-snapshot/bin:$PATH source ./tools/ci/scripts/init.sh export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \ +-fno-omit-frame-pointer \ -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