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:182

Templates

T

Method Overview

Methods

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

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

Parameters

llvm::CrashRecoveryContext* context
T* resource

void recoverResources()

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