Go to the source code of this file.
Namespaces | |
namespace | rutz |
Auxiliary helper namespace used in implementing shared_ptr. | |
Defines | |
#define | GVX_ABORT(message) rutz::debug::abort_aux(message, __FILE__, __LINE__) |
Print a message and then abort(). | |
Functions | |
void | rutz::debug::abort_aux (const char *what, const char *where, int line_no) throw () |
Helper function called frmo the GVX_ABORT() macro. | |
static const char | __attribute__ ((used)) vcid_groovx_rutz_abort_h_utc20050630222645[] |
low-level GVX_ABORT macro
Definition in file abort.h.
#define GVX_ABORT | ( | message | ) | rutz::debug::abort_aux(message, __FILE__, __LINE__) |
Print a message and then abort().
You probably want to use GVX_PANIC() instead of this macro, GVX_PANIC() will also print a rutz::backtrace if there is one available. However, for truly low-level code that needs to avoid a dependency on rutz::backtrace, there is this bare-bones GVX_ABORT() depends on nothing except std library code.
Definition at line 48 of file abort.h.
Referenced by rutz::backtrace::current(), rutz::mutex_lock_class::mutex_lock_class(), and rutz::prof::print_prof_data().