MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / _mi_warning_message

Function _mi_warning_message

system/lib/mimalloc/src/options.c:551–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551void _mi_warning_message(const char* fmt, ...) {
552 if (!mi_option_is_enabled(mi_option_verbose)) {
553 if (!mi_option_is_enabled(mi_option_show_errors)) return;
554 if (mi_max_warning_count >= 0 && (long)mi_atomic_increment_acq_rel(&warning_count) > mi_max_warning_count) return;
555 }
556 va_list args;
557 va_start(args,fmt);
558 mi_vfprintf_thread(NULL, NULL, "mimalloc: warning: ", fmt, args);
559 va_end(args);
560}
561
562
563#if MI_DEBUG

Callers 15

_mi_options_initFunction · 0.85
mi_option_initFunction · 0.85
mi_block_ptr_set_guardedFunction · 0.85
alloc.cFile · 0.85
mi_os_prim_freeFunction · 0.85
mi_os_prim_alloc_atFunction · 0.85
mi_os_prim_alloc_alignedFunction · 0.85
_mi_os_commit_exFunction · 0.85
mi_os_decommit_exFunction · 0.85
_mi_os_resetFunction · 0.85
_mi_os_reuseFunction · 0.85

Calls 2

mi_option_is_enabledFunction · 0.85
mi_vfprintf_threadFunction · 0.85

Tested by

no test coverage detected