From c121fa9c15d87c71125783d1f068a2b5c24b565a Mon Sep 17 00:00:00 2001 From: Syed Daanish Date: Mon, 8 Dec 2025 17:02:07 +0000 Subject: [PATCH] Add ASan to debug builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2406848..ac103e4 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ TARGET_RELEASE := $(BIN_DIR)/crib CXX_DEBUG := g++ CXX_RELEASE := clang++ -CFLAGS_DEBUG := -std=c++20 -Wall -Wextra -O0 -g -fno-inline -gsplit-dwarf +CFLAGS_DEBUG := -std=c++20 -Wall -Wextra -O0 -g -fno-inline -gsplit-dwarf -fsanitize=address CFLAGS_RELEASE := -std=c++20 -O3 -march=native -flto=thin \ -fno-exceptions -fno-rtti -fstrict-aliasing -ffast-math -funroll-loops \ -fomit-frame-pointer -DNDEBUG -s \