28 #include "../../idlib/precompiled.h"
46 for (
int i = 0;
i < callStackSize;
i++ ) {
89 i = backtrace( (
void **)callStack, callStackSize );
90 while( i < callStackSize ) {
105 strings = backtrace_symbols( (
void **)callStack, callStackSize );
107 for ( i = 0; i < callStackSize; i++ ) {
124 size = backtrace( (
void **)array,
Min( 32, depth ) );
static int snPrintf(char *dest, int size, const char *fmt,...) id_attribute((format(printf
const char * Sys_GetCallStackStr(const address_t *callStack, int callStackSize)
GLint GLint GLsizei GLsizei GLsizei depth
GLenum GLsizei const GLvoid * string
void Sys_GetCallStack(address_t *callStack, const int callStackSize)
void Sys_ShutdownSymbols(void)
const char * Sys_GetCallStackCurStr(int depth)
ID_INLINE T Min(T x, T y)
const char * Sys_GetCallStackCurAddressStr(int depth)