18 #ifdef HAVE_EXECINFO_H
37 write_stderr(
"TRAP: ExceptionalCondition: bad arguments in PID %d\n",
40 write_stderr(
"TRAP: failed Assert(\"%s\"), File: \"%s\", Line: %d, PID: %d\n",
41 conditionName, fileName, lineNumber, (
int) getpid());
47 #ifdef HAVE_BACKTRACE_SYMBOLS
53 backtrace_symbols_fd(
buf, nframes, fileno(stderr));
62 #ifdef SLEEP_ON_ASSERT
void ExceptionalCondition(const char *conditionName, const char *fileName, int lineNumber)
#define write_stderr(str)
#define PointerIsValid(pointer)
static void const char fflush(stdout)