Added a basic stacktracing for assert and signal failures.
This commit is contained in:
15
src/OSSupport/StackTrace.h
Normal file
15
src/OSSupport/StackTrace.h
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
// StackTrace.h
|
||||
|
||||
// Declares the functions to print current stack trace
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/** Prints the stacktrace for the current thread. */
|
||||
extern void PrintStackTrace(void);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user