Home
last modified time | relevance | path

Searched refs:CrashRecoveryContextCleanup (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DCrashRecoveryContext.h15 class CrashRecoveryContextCleanup; variable
48 CrashRecoveryContextCleanup *head = nullptr;
57 void registerCleanup(CrashRecoveryContextCleanup *cleanup);
59 void unregisterCleanup(CrashRecoveryContextCleanup *cleanup);
127 class CrashRecoveryContextCleanup {
130 CrashRecoveryContextCleanup(CrashRecoveryContext *context) in CrashRecoveryContextCleanup() function
136 virtual ~CrashRecoveryContextCleanup();
145 CrashRecoveryContextCleanup *prev = nullptr, *next = nullptr;
160 class CrashRecoveryContextCleanupBase : public CrashRecoveryContextCleanup {
164 : CrashRecoveryContextCleanup(context), resource(resource) {} in CrashRecoveryContextCleanupBase()
[all …]
/src/contrib/llvm-project/llvm/lib/Support/
H A DCrashRecoveryContext.cpp98 CrashRecoveryContextCleanup::~CrashRecoveryContextCleanup() = default;
109 CrashRecoveryContextCleanup *i = head; in ~CrashRecoveryContext()
113 CrashRecoveryContextCleanup *tmp = i; in ~CrashRecoveryContext()
157 void CrashRecoveryContext::registerCleanup(CrashRecoveryContextCleanup *cleanup) in registerCleanup()
168 CrashRecoveryContext::unregisterCleanup(CrashRecoveryContextCleanup *cleanup) { in unregisterCleanup()