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

Methods

CrashRecoveryContextCleanup(
    llvm::CrashRecoveryContext* context)

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

Parameters

llvm::CrashRecoveryContext* context

llvm::CrashRecoveryContext* getContext() const

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

virtual void recoverResources()

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

virtual ~CrashRecoveryContextCleanup()

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