From d91a2b005b5ee5a9f043aedc96890bb842bac0a7 Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Mon, 22 Nov 2021 13:34:59 +0200 Subject: [PATCH] [CI] Add -g flag to asan and ubsan --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07f9ade8..062eeca4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ test-kvazaar: &test-template test-asan: <<: *test-template variables: - CFLAGS: '-fsanitize=address' + CFLAGS: '-fsanitize=address -g' # LeakSanitizer doesn't work inside the container because it requires # ptrace so we disable it. ASAN_OPTIONS: 'detect_leaks=0' @@ -38,7 +38,7 @@ test-asan: test-ubsan: <<: *test-template variables: - CFLAGS: '-fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment' + CFLAGS: '-fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment -g' test-valgrind: <<: *test-template