#include "compiler.hh"
#include <boost/stacktrace.hpp>
#include <log4cxx/logger.h>
#include <cassert>
#include <cstdlib>
#include <iostream>
Go to the source code of this file.
◆ introvirt_assert
| #define introvirt_assert |
( |
|
condition, |
|
|
|
msg |
|
) |
| |
Value:
static log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("introvirt.assert")); \
LOG4CXX_FATAL(logger, "Assertion '" << #condition << "' failed : " << msg << '\n' \
<< __FILE__ << ":" << __LINE__ << " " \
<< __PRETTY_FUNCTION__ << '\n' \
<< boost::stacktrace::stacktrace()); \
exit(255); \
}
#define unlikely(x)
Definition compiler.hh:27