| 577 | } |
| 578 | |
| 579 | static 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 | |
| 594 | void SymInfoCallback( void* /*data*/, uintptr_t pc, const char* symname, uintptr_t symval, uintptr_t symsize ) |
| 595 | { |
nothing calls this directly
no test coverage detected