Abstract base class of cleanup handlers.
Declared in <llvm/Support/CrashRecoveryContext.h>
class CrashRecoveryContextCleanup;
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.
| Name | Description |
|---|---|
~CrashRecoveryContextCleanup [destructor] [virtual] | Destroy the cleanup handler. |
getContext | Return the crash recovery context that owns this handler. |
recoverResources [virtual] | Reclaim the resource associated with this cleanup handler. |
| Name | Description |
|---|---|
cleanupFired | Whether this cleanup has already been run. |
| Name | Description |
|---|---|
CrashRecoveryContextCleanup [constructor] | Construct a cleanup handler bound to context. |
| Name | Description |
|---|---|
context | The crash recovery context that owns this cleanup handler. |
| Name | Description |
|---|---|
llvm::CrashRecoveryContext | Crash recovery helper object. |
| Name | Description |
|---|---|
CrashRecoveryContextCleanupBase | Base class of cleanup handler that controls recovery of resources of the given type. |