add initial support for using mimalloc with address sanitizer support; use -DMI_ASAN=ON

This commit is contained in:
Daan Leijen 2022-11-28 10:55:19 -08:00
parent 76db72814c
commit 10981ab122
5 changed files with 47 additions and 4 deletions

View file

@ -558,6 +558,7 @@ void mi_process_init(void) mi_attr_noexcept {
_mi_verbose_message("debug level : %d\n", MI_DEBUG);
#endif
_mi_verbose_message("secure level: %d\n", MI_SECURE);
_mi_verbose_message("mem tracking: %s\n", MI_TRACK_TOOL);
mi_thread_init();
#if defined(_WIN32) && !defined(MI_SHARED_LIB)