From: Paul Cercueil Date: Sun, 19 Nov 2023 11:50:39 +0000 (+0100) Subject: Makefile: Enable address sanitizer with DEBUG_ASAN=1 X-Git-Tag: r24l~62^2~1 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a970759e200130f3caa4f7365facfdb128fc546;hp=1a970759e200130f3caa4f7365facfdb128fc546;p=pcsx_rearmed.git Makefile: Enable address sanitizer with DEBUG_ASAN=1 The Address Sanitizer (built in GCC and LLVM) is an extremely powerful tool, moreso than e.g. Valgrind for detecting memory issues. It is not available on every architecture/OS combination (see https://github.com/google/sanitizers/wiki/AddressSanitizer), so it can only be enabled by compiling with DEBUG_ASAN=1. Signed-off-by: Paul Cercueil ---