llvm::CrashRecoveryContextDestructorCleanup

Cleanup handler that reclaims resource by calling destructor on it.

Synopsis

Declared in <llvm/Support/CrashRecoveryContext.h>

template<typename T>
class CrashRecoveryContextDestructorCleanup
    : public CrashRecoveryContextCleanupBase<CrashRecoveryContextDestructorCleanup<T>, T>

Base Classes

NameDescription
CrashRecoveryContextCleanupBase<CrashRecoveryContextDestructorCleanup<T>, T>Base class of cleanup handler that controls recovery of resources of the given type.

Member Functions

Name
CrashRecoveryContextDestructorCleanup [constructor]
getContext
recoverResources

Static Member Functions

NameDescription
create Creates cleanup handler.

Data Members

Name
cleanupFired

Protected Data Members

Name
context
resource