MCPcopy Create free account
hub / github.com/crossuo/crossuo / CallstackErrorCb

Function CallstackErrorCb

external/tracy/client/TracyCallstack.cpp:579–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579static void CallstackErrorCb( void* /*data*/, const char* /*msg*/, int /*errnum*/ )
580{
581 for( int i=0; i<cb_num; i++ )
582 {
583 tracy_free( (void*)cb_data[i].name );
584 tracy_free( (void*)cb_data[i].file );
585 }
586
587 cb_data[0].name = CopyString( "[error]" );
588 cb_data[0].file = CopyString( "[error]" );
589 cb_data[0].line = 0;
590
591 cb_num = 1;
592}
593
594void SymInfoCallback( void* /*data*/, uintptr_t pc, const char* symname, uintptr_t symval, uintptr_t symsize )
595{

Callers

nothing calls this directly

Calls 2

tracy_freeFunction · 0.85
CopyStringFunction · 0.85

Tested by

no test coverage detected