class CrashRecoveryContextDestructorCleanup

Declaration

template <typename T>
class CrashRecoveryContextDestructorCleanup { /* full declaration omitted */ };

Description

Cleanup handler that reclaims resource by calling destructor on it.

Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:176

Templates

T

Method Overview

Methods

CrashRecoveryContextDestructorCleanup<T>(
    llvm::CrashRecoveryContext* context,
    T* resource)

Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:179

Parameters

llvm::CrashRecoveryContext* context
T* resource

virtual void recoverResources()

Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:184