Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DCrashRecoveryContext.cpp97 CrashRecoveryContextCleanup::~CrashRecoveryContextCleanup() = default;
108 CrashRecoveryContextCleanup *i = head; in ~CrashRecoveryContext()
112 CrashRecoveryContextCleanup *tmp = i; in ~CrashRecoveryContext()
156 void CrashRecoveryContext::registerCleanup(CrashRecoveryContextCleanup *cleanup) in registerCleanup()
167 CrashRecoveryContext::unregisterCleanup(CrashRecoveryContextCleanup *cleanup) { in unregisterCleanup()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCrashRecoveryTest.cpp51 struct IncrementGlobalCleanup : CrashRecoveryContextCleanup {
53 : CrashRecoveryContextCleanup(CRC) {} in IncrementGlobalCleanup()