|
LLVM 22.0.0git
|
#include "llvm/Support/CrashRecoveryContext.h"#include "llvm/Config/llvm-config.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/ExitCodes.h"#include "llvm/Support/Signals.h"#include "llvm/Support/thread.h"#include <cassert>#include <mutex>#include <setjmp.h>#include <signal.h>Go to the source code of this file.
Functions | |
| static void | installExceptionOrSignalHandlers () |
| static void | uninstallExceptionOrSignalHandlers () |
| static void | CrashRecoverySignalHandler (int Signal) |
| static void | setThreadBackgroundPriority () |
| static bool | hasThreadBackgroundPriority () |
| static void | RunSafelyOnThread_Dispatch (void *UserData) |
Variables | |
| static const int | Signals [] |
| static const unsigned | NumSignals = std::size(Signals) |
| static struct sigaction | PrevActions [NumSignals] |
|
static |
Definition at line 352 of file CrashRecoveryContext.cpp.
References llvm::CrashRecoveryContext::Disable().
Referenced by installExceptionOrSignalHandlers().
|
static |
Definition at line 486 of file CrashRecoveryContext.cpp.
Referenced by llvm::CrashRecoveryContext::RunSafelyOnThread().
|
static |
Definition at line 393 of file CrashRecoveryContext.cpp.
References CrashRecoverySignalHandler(), NumSignals, PrevActions, and Signals.
Referenced by llvm::CrashRecoveryContext::Enable().
|
static |
Definition at line 503 of file CrashRecoveryContext.cpp.
References Info, and setThreadBackgroundPriority().
Referenced by llvm::CrashRecoveryContext::RunSafelyOnThread().
|
static |
Definition at line 480 of file CrashRecoveryContext.cpp.
Referenced by RunSafelyOnThread_Dispatch().
|
static |
Definition at line 405 of file CrashRecoveryContext.cpp.
References NumSignals, PrevActions, and Signals.
Referenced by llvm::CrashRecoveryContext::Disable().
Definition at line 349 of file CrashRecoveryContext.cpp.
Referenced by installExceptionOrSignalHandlers(), and uninstallExceptionOrSignalHandlers().
|
static |
Definition at line 350 of file CrashRecoveryContext.cpp.
Referenced by installExceptionOrSignalHandlers(), and uninstallExceptionOrSignalHandlers().
|
static |
Definition at line 347 of file CrashRecoveryContext.cpp.
Referenced by installExceptionOrSignalHandlers(), and uninstallExceptionOrSignalHandlers().