Classes | Namespaces | Macros | Typedefs | Functions | Variables
failure_signal_handler.cc File Reference
#include "absl/debugging/failure_signal_handler.h"
#include "absl/base/config.h"
#include <unistd.h>
#include <algorithm>
#include <atomic>
#include <cerrno>
#include <csignal>
#include <cstdio>
#include <cstring>
#include <ctime>
#include "absl/base/attributes.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/internal/sysinfo.h"
#include "absl/debugging/internal/examine_stack.h"
#include "absl/debugging/stacktrace.h"
Include dependency graph for failure_signal_handler.cc:

Go to the source code of this file.

Classes

struct  absl::FailureSignalData
 
struct  absl::WriterFnStruct
 

Namespaces

 absl
 
 absl::debugging_internal
 

Macros

#define ABSL_HAVE_SIGACTION
 
#define FSD_PREVIOUS_INIT   FailureSignalData::StructSigaction()
 

Typedefs

using absl::GetTidType = decltype(absl::base_internal::GetTID())
 

Functions

static void absl::AbslFailureSignalHandler (int signo, siginfo_t *, void *ucontext)
 
static ABSL_CONST_INIT std::atomic< GetTidType > absl::failed_tid (0)
 
const char * absl::debugging_internal::FailureSignalToString (int signo)
 
void absl::InstallFailureSignalHandler (const FailureSignalHandlerOptions &options)
 
static void absl::InstallOneFailureHandler (FailureSignalData *data, void(*handler)(int, siginfo_t *, void *))
 
static int absl::MaybeSetupAlternateStack ()
 
static void absl::PortableSleepForSeconds (int seconds)
 
static void absl::RaiseToDefaultHandler (int signo)
 
static void absl::RaiseToPreviousHandler (int signo)
 
static bool absl::SetupAlternateStackOnce ()
 
static void absl::WriteFailureInfo (int signo, void *ucontext, void(*writerfn)(const char *))
 
static void absl::WriterFnWrapper (const char *data, void *arg)
 
static void absl::WriteSignalMessage (int signo, void(*writerfn)(const char *))
 
static ABSL_ATTRIBUTE_NOINLINE void absl::WriteStackTrace (void *ucontext, bool symbolize_stacktrace, void(*writerfn)(const char *, void *), void *writerfn_arg)
 
static void absl::WriteToStderr (const char *data)
 

Variables

static ABSL_CONST_INIT FailureSignalData absl::failure_signal_data []
 
static ABSL_CONST_INIT FailureSignalHandlerOptions absl::fsh_options
 

Macro Definition Documentation

#define ABSL_HAVE_SIGACTION

Definition at line 46 of file failure_signal_handler.cc.

#define FSD_PREVIOUS_INIT   FailureSignalData::StructSigaction()

Definition at line 67 of file failure_signal_handler.cc.



abseil_cpp
Author(s):
autogenerated on Tue Jun 18 2019 19:44:38