class CrashRecoveryContextCleanup
Declaration
class CrashRecoveryContextCleanup { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:121
Member Variables
- protected llvm::CrashRecoveryContext* context = nullptr
- public bool cleanupFired = false
Method Overview
- protected CrashRecoveryContextCleanup(llvm::CrashRecoveryContext * context)
- public llvm::CrashRecoveryContext * getContext() const
- public virtual void recoverResources()
- public virtual ~CrashRecoveryContextCleanup()
Methods
¶CrashRecoveryContextCleanup(
llvm::CrashRecoveryContext* context)
CrashRecoveryContextCleanup(
llvm::CrashRecoveryContext* context)
Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:124
Parameters
- llvm::CrashRecoveryContext* context
¶llvm::CrashRecoveryContext* getContext() const
llvm::CrashRecoveryContext* getContext() const
Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:133
¶virtual void recoverResources()
virtual void recoverResources()
Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:131
¶virtual ~CrashRecoveryContextCleanup()
virtual ~CrashRecoveryContextCleanup()
Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:130