Cambridge SMT System
backtrace.hpp File Reference

Adapted from http://charette.no-ip.com:81/programming/2010-01-25_Backtrace/ Simple example of backtrace(), backtrace_symbols(), and __cxa_demangle() Remember to pass in the -rdynamic flag to GCC: More...

#include <execinfo.h>
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for backtrace.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int displayBacktrace (void)
 Display backtrace of functions. More...
 

Detailed Description

Adapted from http://charette.no-ip.com:81/programming/2010-01-25_Backtrace/ Simple example of backtrace(), backtrace_symbols(), and __cxa_demangle() Remember to pass in the -rdynamic flag to GCC:

Date
11-10-2012
Author
Gonzalo Iglesias

Definition in file backtrace.hpp.

Function Documentation

int displayBacktrace ( void  )
inline

Display backtrace of functions.

Definition at line 36 of file backtrace.hpp.

Here is the caller graph for this function: