lint: enable memory debugging
Filling deallocated memory with 0x00 may hide errors, so rather fill with 0xA5. While this doesn't change anything about the test about the assertion failure after a do-while loop (see t_integration.sh, test case assertion_failures), it may detect other similar bugs earlier.
This commit is contained in:
parent
fe40cc2899
commit
5454c52f6f
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.18 2022/02/07 21:57:47 rillig Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.19 2022/02/26 18:35:01 rillig Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -16,6 +16,7 @@ ARCHSUBDIR= ${MACHINE_CPU}
|
|||
|
||||
CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}/../common
|
||||
CPPFLAGS+= -DBLKDEBUG
|
||||
|
||||
CLEANFILES+= *.gcno *.gcda *.gcov
|
||||
|
||||
|
|
Loading…
Reference in New Issue