From 13349165cf238eb449e0f2f10df581e36ab587ed Mon Sep 17 00:00:00 2001 From: Tony Gorez Date: Wed, 21 Feb 2024 16:57:19 +0100 Subject: [PATCH] wip: add suppresion file --- Makefile | 2 +- sanitizer-ignorelist.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 sanitizer-ignorelist.txt diff --git a/Makefile b/Makefile index 5854a76e..57ee4587 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ lint: .always $(CMAKE) --build ./build --config $(PRESET) --target clang_tidy test: .always - $(CMAKE) -E env UBSAN_OPTIONS=print_stacktrace=1 \ + $(CMAKE) -E env UBSAN_OPTIONS=suppressions=../../../sanitizer-ignorelist.txt,print_stacktrace=1 \ $(CTEST) --test-dir ./build --build-config $(PRESET) \ --output-on-failure --progress --parallel diff --git a/sanitizer-ignorelist.txt b/sanitizer-ignorelist.txt new file mode 100644 index 00000000..9cc6bed0 --- /dev/null +++ b/sanitizer-ignorelist.txt @@ -0,0 +1,2 @@ +shift-base:hash.h +shift-exponent:hash.h