#include "easylogging++/easylogging++.h"
#include <stdexcept>
#include <libunwind.h>
#include <cxxabi.h>
#include <dlfcn.h>
#include <boost/algorithm/string.hpp>
#include "common/stack_trace.h"
#include "misc_log_ex.h"
Go to the source code of this file.
◆ CXA_THROW
| #define CXA_THROW __cxa_throw |
◆ CXA_THROW_INFO_T
| #define CXA_THROW_INFO_T void |
◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "stacktrace" |
◆ ST_LOG
Value:do { \
if (elpp) { \
} \
else { \
std::cout << x << std::endl; \
} \
} while(0)
Main entry point of each logging.
#define ELECTRONEUM_DEFAULT_LOG_CATEGORY
Definition at line 53 of file stack_trace.cpp.
◆ UNW_LOCAL_ONLY
◆ USE_UNWIND
◆ cxa_throw_t
◆ __attribute__()
| __attribute__ |
( |
(noreturn) |
| ) |
|
◆ dest
Definition at line 91 of file stack_trace.cpp.
95 char *dsym = abi::__cxa_demangle(((
const std::type_info*)
info)->
name(), NULL, NULL, &status);
100 #ifndef __clang__ // for GCC the attr can't be applied in typedef like for clang
CXA_THROW_INFO_T void(* dest)(void *))
void() cxa_throw_t(void *ex, CXA_THROW_INFO_T *info, void(*dest)(void *))
__attribute__((noreturn)) void CXA_THROW(void *ex
◆ info