From 2bb270eb071d476b904e9d12cc1bb21e2f38155d Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 24 Dec 2022 09:30:36 +0200 Subject: [PATCH] build: add address-sanitizer for MU_HACKER builds --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6ea1b81b..09942886 100644 --- a/Makefile +++ b/Makefile @@ -28,10 +28,9 @@ endif # when MU_HACKER is set, do a debug build ifneq (${MU_HACKER},) -MESON_FLAGS:=$(MESON_FLAGS) '-Dbuildtype=debug' +MESON_FLAGS:=$(MESON_FLAGS) '-Dbuildtype=debug' '-Db_sanitize=address' endif - .PHONY: all .PHONY: check test test-verbose-if-fail test-valgrind test-helgrind .PHONY: benchmark coverage