CallStack
-
class CallStack
Call stack object.
The allocation of the stack must be static to prevent problems during out-of-memory scenario. That’s why we should not be using
std::vector
or similar.Public Functions
-
explicit CallStack()
Build the call stack object with defined size.
-
void dump()
Dump the call stack objects to standard error.
-
int get_size() const
Get size of the call stack.
Public Static Functions
-
static void initialize()
Initialize the call stack capability.
This hooks to SIGABRT and SIGSEGV signals
-
explicit CallStack()