add documentation for tracking tools; rename with prefix MI_TRACK_tool

This commit is contained in:
Daan Leijen 2023-03-06 09:02:38 -08:00
parent 64fb009695
commit 2e6ab0f230
7 changed files with 104 additions and 52 deletions

View file

@ -309,7 +309,7 @@ bool check_zero_init(uint8_t* p, size_t size) {
#if MI_DEBUG >= 2
bool check_debug_fill_uninit(uint8_t* p, size_t size) {
#if MI_VALGRIND
#if MI_TRACK_VALGRIND
(void)p; (void)size;
return true; // when compiled with valgrind we don't init on purpose
#else
@ -325,7 +325,7 @@ bool check_debug_fill_uninit(uint8_t* p, size_t size) {
}
bool check_debug_fill_freed(uint8_t* p, size_t size) {
#if MI_VALGRIND
#if MI_TRACK_VALGRIND
(void)p; (void)size;
return true; // when compiled with valgrind we don't fill on purpose
#else