mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 15:09:31 +03:00
add verbose message if thread sanitizer is enabled
This commit is contained in:
parent
c9dcca6a64
commit
a21ddd03fe
1 changed files with 4 additions and 1 deletions
|
@ -527,11 +527,14 @@ void mi_process_init(void) mi_attr_noexcept {
|
||||||
mi_detect_cpu_features();
|
mi_detect_cpu_features();
|
||||||
_mi_os_init();
|
_mi_os_init();
|
||||||
mi_heap_main_init();
|
mi_heap_main_init();
|
||||||
#if (MI_DEBUG)
|
#if MI_DEBUG
|
||||||
_mi_verbose_message("debug level : %d\n", MI_DEBUG);
|
_mi_verbose_message("debug level : %d\n", MI_DEBUG);
|
||||||
#endif
|
#endif
|
||||||
_mi_verbose_message("secure level: %d\n", MI_SECURE);
|
_mi_verbose_message("secure level: %d\n", MI_SECURE);
|
||||||
_mi_verbose_message("mem tracking: %s\n", MI_TRACK_TOOL);
|
_mi_verbose_message("mem tracking: %s\n", MI_TRACK_TOOL);
|
||||||
|
#if MI_TSAN
|
||||||
|
_mi_verbose_message("thread santizer enabled\n");
|
||||||
|
#endif
|
||||||
mi_thread_init();
|
mi_thread_init();
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
|
Loading…
Add table
Reference in a new issue