MCPcopy Create free account
hub / github.com/boostorg/build / GC_err_printf

Function GC_err_printf

v2/engine/boehm_gc/misc.c:983–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

981}
982
983void GC_err_printf(const char *format, ...)
984{
985 va_list args;
986 char buf[BUFSZ+1];
987
988 va_start(args, format);
989 buf[BUFSZ] = 0x15;
990 (void) vsnprintf(buf, BUFSZ, format, args);
991 va_end(args);
992 if (buf[BUFSZ] != 0x15) ABORT("GC_printf clobbered stack");
993 if (WRITE(GC_stderr, buf, strlen(buf)) < 0) ABORT("write to stderr failed");
994}
995
996void GC_log_printf(const char *format, ...)
997{

Callers 15

GC_print_backtraceFunction · 0.85
GC_print_typeFunction · 0.85
GC_print_objFunction · 0.85
GC_print_smashed_objFunction · 0.85
GC_debug_mallocFunction · 0.85
GC_debug_malloc_stubbornFunction · 0.85
GC_debug_change_stubbornFunction · 0.85

Calls

no outgoing calls

Tested by 1