struct IncrementGlobalCleanup
Declaration
struct IncrementGlobalCleanup : public 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/unittests/Support/CrashRecoveryTest.cpp:39
Inherits from: CrashRecoveryContextCleanup
Member Variables
Inherited from CrashRecoveryContextCleanup:
- protected context = nullptr
- public cleanupFired = false
Method Overview
- public IncrementGlobalCleanup(llvm::CrashRecoveryContext * CRC)
- public virtual void recoverResources()
Inherited from CrashRecoveryContextCleanup:
Methods
¶IncrementGlobalCleanup(
llvm::CrashRecoveryContext* CRC)
IncrementGlobalCleanup(
llvm::CrashRecoveryContext* CRC)
Declared at: llvm/unittests/Support/CrashRecoveryTest.cpp:40
Parameters
¶virtual void recoverResources()
virtual void recoverResources()
Declared at: llvm/unittests/Support/CrashRecoveryTest.cpp:42