MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / _mi_error_message

Function _mi_error_message

3rd/mimalloc-2.0.9/src/options.c:449–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void _mi_error_message(int err, const char* fmt, ...) {
450 // show detailed error message
451 va_list args;
452 va_start(args, fmt);
453 mi_show_error_message(fmt, args);
454 va_end(args);
455 // and call the error handler which may abort (or return normally)
456 if (mi_error_handler != NULL) {
457 mi_error_handler(err, mi_atomic_load_ptr_acquire(void,&mi_error_arg));
458 }
459 else {
460 mi_error_default(err);
461 }
462}
463
464// --------------------------------------------------------
465// Initialize options by checking the environment

Callers 13

mi_thread_data_allocFunction · 0.85
mi_check_is_double_freexFunction · 0.85
mi_check_paddingFunction · 0.85
mi_checked_ptr_segmentFunction · 0.85
mi_try_new_handlerFunction · 0.85
mi_find_pageFunction · 0.85
page.cFile · 0.85
_mi_arena_freeFunction · 0.85
mi_count_size_overflowFunction · 0.85

Calls 2

mi_show_error_messageFunction · 0.85
mi_error_defaultFunction · 0.85

Tested by

no test coverage detected