From 1cfbcffe94ec1aeb1444baec47769814d58590f6 Mon Sep 17 00:00:00 2001 From: Timothee Leclaire-Fournier Date: Fri, 1 Mar 2024 17:20:08 -0500 Subject: [PATCH] Meta: Turn on asan --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2abf819..08f924e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,9 @@ project(allocPool) set(CMAKE_CXX_STANDARD 23) +add_compile_options(-fsanitize=address) +add_link_options(-fsanitize=address) + add_executable(allocPool main.cpp allocPool.hpp tests.cpp