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

Function _mi_error_message

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

Source from the content-addressed store, hash-verified

602}
603
604void _mi_error_message(int err, const char* fmt, ...) {
605 // show detailed error message
606 va_list args;
607 va_start(args, fmt);
608 mi_show_error_message(fmt, args);
609 va_end(args);
610 // and call the error handler which may abort (or return normally)
611 if (mi_error_handler != NULL) {
612 mi_error_handler(err, mi_atomic_load_ptr_acquire(void,&mi_error_arg));
613 }
614 else {
615 mi_error_default(err);
616 }
617}
618
619// --------------------------------------------------------
620// Initialize options by checking the environment

Callers 15

mi_tld_allocFunction · 0.85
mi_win_tls_slot_allocFunction · 0.85
mi_tls_slots_initFunction · 0.85
mi_try_new_handlerFunction · 0.85
_mi_theap_malloc_guardedFunction · 0.85
mi_validate_ptr_pageFunction · 0.85
mi_check_is_double_freexFunction · 0.85
mi_check_paddingFunction · 0.85
_mi_page_map_initFunction · 0.85
_mi_theap_createFunction · 0.85

Calls 2

mi_show_error_messageFunction · 0.85
mi_error_defaultFunction · 0.85

Tested by

no test coverage detected