Scroom 0.14-49-gb7ae7a6d
Loading...
Searching...
No Matches
assertions.cc File Reference
#include <scroom/assertions.hh>
#include <execinfo.h>
#include <cerrno>
#include <csignal>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <sstream>
#include <spdlog/spdlog.h>
#include <scroom/logger.hh>
Include dependency graph for assertions.cc:

Classes

class  Scroom::Utils::Detail::ErrorSignalHandler
 

Namespaces

namespace  Scroom
 
namespace  Scroom::Utils
 
namespace  Scroom::Utils::Detail
 

Functions

std::string Scroom::Utils::Detail::stackTrace (size_t cutoff)
 
void Scroom::Utils::Detail::abort () __attribute__((noreturn))
 
void Scroom::Utils::Detail::assertionFailed (std::string_view type, std::string_view expr, std::string_view function, std::string_view filename, unsigned int line) __attribute__((noreturn))
 

Variables

Scroom::Logger Scroom::Utils::Detail::logger
 
static ErrorSignalHandler Scroom::Utils::Detail::errorSignalHandler