|
LLVM 24.0.0git
|
Mediates between Darwin and ExecutionSession state. More...
#include "llvm/ExecutionEngine/Orc/DarwinPlatform.h"
Public Member Functions | |
| Error | setupJITDylib (JITDylib &JD) override |
| This method will be called outside the session lock each time a JITDylib is created (unless it is created with EmptyJITDylib set) to allow the Platform to install any JITDylib specific standard symbols (e.g __dso_handle). | |
| Error | teardownJITDylib (JITDylib &JD) override |
| This method will be called outside the session lock each time a JITDylib is removed to allow the Platform to remove any JITDylib-specific data. | |
| Error | notifyAdding (ResourceTracker &RT, const MaterializationUnit &MU) override |
| This method will be called under the ExecutionSession lock each time a MaterializationUnit is added to a JITDylib. | |
| Error | notifyRemoving (ResourceTracker &RT) override |
| This method will be called under the ExecutionSession lock when a ResourceTracker is removed. | |
| Public Member Functions inherited from llvm::orc::Platform | |
| virtual | ~Platform () |
Static Public Member Functions | |
| static Expected< std::unique_ptr< DarwinPlatform > > | Create (ObjectLinkingLayer &ObjLinkingLayer, JITDylib &PlatformJD) |
| Static Public Member Functions inherited from llvm::orc::Platform | |
| static Expected< DenseMap< JITDylib *, SymbolMap > > | lookupInitSymbols (ExecutionSession &ES, const DenseMap< JITDylib *, SymbolLookupSet > &InitSyms) |
| A utility function for looking up initializer symbols. | |
| static void | lookupInitSymbolsAsync (unique_function< void(Error)> OnComplete, ExecutionSession &ES, const DenseMap< JITDylib *, SymbolLookupSet > &InitSyms) |
| Performs an async lookup for the given symbols in each of the given JITDylibs, calling the given handler once all lookups have completed. | |
Mediates between Darwin and ExecutionSession state.
Definition at line 25 of file DarwinPlatform.h.
|
static |
Definition at line 38 of file DarwinPlatform.cpp.
References P, and llvm::Error::success().
|
overridevirtual |
This method will be called under the ExecutionSession lock each time a MaterializationUnit is added to a JITDylib.
Implements llvm::orc::Platform.
Definition at line 61 of file DarwinPlatform.cpp.
References llvm::Error::success().
|
overridevirtual |
This method will be called under the ExecutionSession lock when a ResourceTracker is removed.
Implements llvm::orc::Platform.
Definition at line 66 of file DarwinPlatform.cpp.
References llvm::Error::success().
This method will be called outside the session lock each time a JITDylib is created (unless it is created with EmptyJITDylib set) to allow the Platform to install any JITDylib specific standard symbols (e.g __dso_handle).
Implements llvm::orc::Platform.
Definition at line 55 of file DarwinPlatform.cpp.
References llvm::Error::success().
This method will be called outside the session lock each time a JITDylib is removed to allow the Platform to remove any JITDylib-specific data.
Implements llvm::orc::Platform.
Definition at line 57 of file DarwinPlatform.cpp.
References llvm::Error::success().