|
LLVM
4.0.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 CrashRecoveryContext > > | tlIsRecoveringFromCrash |
| static const int | Signals [] |
| static const unsigned | NumSignals = array_lengthof(Signals) |
| static struct sigaction | PrevActions [NumSignals] |
|
static |
Definition at line 249 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 361 of file CrashRecoveryContext.cpp.
References setThreadBackgroundPriority().
Referenced by llvm::CrashRecoveryContext::RunSafelyOnThread().
|
static |
Definition at line 338 of file CrashRecoveryContext.cpp.
Referenced by RunSafelyOnThread_Dispatch().
|
static |
Definition at line 75 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
Definition at line 76 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), llvm::CrashRecoveryContext::Enable(), llvm::CrashRecoveryContext::GetCurrent(), and llvm::CrashRecoveryContext::RunSafely().
Definition at line 246 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 247 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 244 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::Disable(), and llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 79 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::isRecoveringFromCrash(), and llvm::CrashRecoveryContext::~CrashRecoveryContext().
1.8.6