|
LLVM
3.7.0
|
#include "llvm/Support/CrashRecoveryContext.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 <setjmp.h>#include <signal.h>Go to the source code of this file.
Functions | |
| static void | CrashRecoverySignalHandler (int Signal) |
| static void | setThreadBackgroundPriority () |
| static bool | hasThreadBackgroundPriority () |
| 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 [] |
| 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 340 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::RunSafelyOnThread().
|
static |
Definition at line 357 of file CrashRecoveryContext.cpp.
References setThreadBackgroundPriority().
Referenced by llvm::CrashRecoveryContext::RunSafelyOnThread().
|
static |
Definition at line 334 of file CrashRecoveryContext.cpp.
Referenced by RunSafelyOnThread_Dispatch().
|
static |
Definition at line 65 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
Definition at line 66 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().
Definition at line 233 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 69 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::isRecoveringFromCrash(), and llvm::CrashRecoveryContext::~CrashRecoveryContext().
1.8.6