LLVM
8.0.1
|
Abstract base class of cleanup handlers. More...
#include "llvm/Support/CrashRecoveryContext.h"
Public Member Functions | |
virtual | ~CrashRecoveryContextCleanup () |
virtual void | recoverResources ()=0 |
CrashRecoveryContext * | getContext () const |
Public Attributes | |
bool | cleanupFired |
Protected Member Functions | |
CrashRecoveryContextCleanup (CrashRecoveryContext *context) | |
Protected Attributes | |
CrashRecoveryContext * | context |
Friends | |
class | CrashRecoveryContext |
Abstract base class of cleanup handlers.
Derived classes override method recoverResources, which makes actual work on resource recovery.
Cleanup handlers are stored in a double list, which is owned and managed by a crash recovery context.
Definition at line 113 of file CrashRecoveryContext.h.
|
inlineprotected |
Definition at line 116 of file CrashRecoveryContext.h.
|
virtual |
Definition at line 84 of file CrashRecoveryContext.cpp.
|
inline |
Definition at line 125 of file CrashRecoveryContext.h.
Referenced by llvm::CrashRecoveryContextCleanupRegistrar< T, Cleanup >::CrashRecoveryContextCleanupRegistrar(), and llvm::CrashRecoveryContextCleanupRegistrar< T, Cleanup >::unregister().
|
pure virtual |
|
friend |
Definition at line 130 of file CrashRecoveryContext.h.
bool llvm::CrashRecoveryContextCleanup::cleanupFired |
Definition at line 120 of file CrashRecoveryContext.h.
Referenced by llvm::CrashRecoveryContextCleanupRegistrar< T, Cleanup >::unregister(), and llvm::CrashRecoveryContext::~CrashRecoveryContext().
|
protected |
Definition at line 115 of file CrashRecoveryContext.h.