Register cleanup handler, which is used when the recovery context is finished. The recovery context owns the handler.

Synopsis

Declared in <llvm/Support/CrashRecoveryContext.h>

void
registerCleanup(CrashRecoveryContextCleanup* cleanup);

Parameters

Name

Description

cleanup

Cleanup handler to register; ownership is transferred.

Created with MrDocs