summaryrefslogtreecommitdiff
path: root/tools/ci/jobs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-20 19:57:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-21 03:58:45 +0300
commit10acf4ac4abc9a4e85e0f6ae9c1c4b6e82bc8344 (patch)
tree40e640f89b81ed7e79fd43b8f327ce36f39a1f19 /tools/ci/jobs
parent26e7503891c388ca5b85cd7d0e79e128ccf01466 (diff)
downloadplus-10acf4ac4abc9a4e85e0f6ae9c1c4b6e82bc8344.tar.gz
plus-10acf4ac4abc9a4e85e0f6ae9c1c4b6e82bc8344.tar.bz2
plus-10acf4ac4abc9a4e85e0f6ae9c1c4b6e82bc8344.tar.xz
plus-10acf4ac4abc9a4e85e0f6ae9c1c4b6e82bc8344.zip
Add -fno-omit-frame-pointer flag into all ci tests with asan.
Diffstat (limited to 'tools/ci/jobs')
-rwxr-xr-xtools/ci/jobs/gcc6_sanitize_tests.sh1
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sanitize_tests.sh1
2 files changed, 2 insertions, 0 deletions
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 \