llvm::CrashRecoveryContextDestructorCleanup::CrashRecoveryContextDestructorCleanup

Construct a destructor-based cleanup for resource.

Synopsis

Declared in <llvm/Support/CrashRecoveryContext.h>

CrashRecoveryContextDestructorCleanup(
    CrashRecoveryContext* context,
    T* resource);

Parameters

NameDescription
contextRecovery context that owns this handler.
resourceObject whose destructor is called on recovery.