LLVM 20.0.0git
|
Listens for ResourceTracker operations. More...
#include "llvm/ExecutionEngine/Orc/Core.h"
Public Member Functions | |
virtual | ~ResourceManager () |
virtual Error | handleRemoveResources (JITDylib &JD, ResourceKey K)=0 |
This function will be called outside the session lock. | |
virtual void | handleTransferResources (JITDylib &JD, ResourceKey DstK, ResourceKey SrcK)=0 |
This function will be called inside the session lock. | |
Listens for ResourceTracker operations.
|
virtualdefault |
|
pure virtual |
This function will be called outside the session lock.
ResourceManagers should perform book-keeping under the session lock, and any expensive cleanup outside the session lock.
Implemented in llvm::orc::LazyReexportsManager, and llvm::orc::ReOptimizeLayer.
|
pure virtual |
This function will be called inside the session lock.
ResourceManagers DO NOT need to re-lock the session.
Implemented in llvm::orc::LazyReexportsManager, and llvm::orc::ReOptimizeLayer.