Construct a destructor-based cleanup for resource.
Declared in <llvm/Support/CrashRecoveryContext.h>
CrashRecoveryContextDestructorCleanup(
CrashRecoveryContext* context,
T* resource);
| Name | Description |
|---|---|
| context | Recovery context that owns this handler. |
| resource | Object whose destructor is called on recovery. |