Class Backtrace

Class Documentation

class Backtrace

Singleton, enables automatic backtraces on the following signals:

  • SIGABRT

  • SIGSEGV

  • SIGILL

  • SIGFPE

Note

Uses low level malloc and fprintf since higher level constructs may not be available when a signal is received.

Public Functions

Backtrace(Backtrace const&)
Backtrace(Backtrace&&)
Backtrace &operator=(Backtrace const&)
Backtrace &operator=(Backtrace&&)
bool const isEnabled() const

Public Static Functions

static Backtrace &get()

Get a reference to the singleton.