LLVM API Documentation
#include "llvm/Support/CrashRecoveryContext.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Config/config.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/ThreadLocal.h"
#include <cstdio>
#include <setjmp.h>
#include <signal.h>
Go to the source code of this file.
Functions | |
static void | CrashRecoverySignalHandler (int Signal) |
static void | RunSafelyOnThread_Dispatch (void *UserData) |
Variables | |
static ManagedStatic< sys::Mutex > | gCrashRecoveryContextMutex |
static bool | gCrashRecoveryEnabled = false |
static ManagedStatic < sys::ThreadLocal< const CrashRecoveryContextCleanup > > | tlIsRecoveringFromCrash |
static const int | Signals [] = { SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGSEGV, SIGTRAP } |
static const unsigned | NumSignals = sizeof(Signals) / sizeof(Signals[0]) |
static struct sigaction | PrevActions [NumSignals] |
|
static |
Definition at line 238 of file CrashRecoveryContext.cpp.
References llvm::CrashRecoveryContext::Disable().
Referenced by llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 344 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::RunSafelyOnThread().
|
static |
Definition at line 66 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
Definition at line 67 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), llvm::CrashRecoveryContext::Enable(), llvm::CrashRecoveryContext::GetCurrent(), and llvm::CrashRecoveryContext::RunSafely().
Definition at line 235 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 236 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 234 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 70 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::isRecoveringFromCrash(), and llvm::CrashRecoveryContext::~CrashRecoveryContext().