libfoedus-core
FOEDUS Core Library
assert_nd.cpp File Reference
#include "foedus/assert_nd.hpp"
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "foedus/assorted/rich_backtrace.hpp"
Include dependency graph for assert_nd.cpp:

Go to the source code of this file.

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 

Functions

std::string foedus::print_assert (const char *file, const char *func, int line, const char *description)
 Helper function to report what assertion failed. More...
 
std::string foedus::print_backtrace ()
 Prints out backtrace. More...
 
void foedus::print_assert_backtrace (const char *file, const char *func, int line, const char *description)
 print_assert() + print_backtrace(). More...
 
std::string foedus::get_recent_assert_backtrace ()
 Retrieves the info left by print_assert_backtrace(). More...
 

Variables

std::string foedus::static_recent_assert_backtrace
 Leaves recent crash information in a static global variable so that a signal handler can pick it. More...