Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/ExecutionEngine/Orc/Core.h
Show First 20 Lines • Show All 205 Lines • ▼ Show 20 Lines | public: | ||||
/// instance. Individual calls to this method may resolve a subset of the | /// instance. Individual calls to this method may resolve a subset of the | ||||
/// symbols, but all symbols must have been resolved prior to calling emit. | /// symbols, but all symbols must have been resolved prior to calling emit. | ||||
/// | /// | ||||
/// This method will return an error if any symbols being resolved have been | /// This method will return an error if any symbols being resolved have been | ||||
/// moved to the error state due to the failure of a dependency. If this | /// moved to the error state due to the failure of a dependency. If this | ||||
/// method returns an error then clients should log it and call | /// method returns an error then clients should log it and call | ||||
/// failMaterialize. If no dependencies have been registered for the | /// failMaterialize. If no dependencies have been registered for the | ||||
/// symbols covered by this MaterializationResponsibiility then this method | /// symbols covered by this MaterializationResponsibiility then this method | ||||
/// is guaranteed to return Error::success() and can be wrapped with cantFail. | /// is guaranteed to return Error::success() and can be wrapped with llvm_cantFail. | ||||
Error notifyResolved(const SymbolMap &Symbols); | Error notifyResolved(const SymbolMap &Symbols); | ||||
/// Notifies the target JITDylib (and any pending queries on that JITDylib) | /// Notifies the target JITDylib (and any pending queries on that JITDylib) | ||||
/// that all symbols covered by this MaterializationResponsibility instance | /// that all symbols covered by this MaterializationResponsibility instance | ||||
/// have been emitted. | /// have been emitted. | ||||
/// | /// | ||||
/// This method will return an error if any symbols being resolved have been | /// This method will return an error if any symbols being resolved have been | ||||
/// moved to the error state due to the failure of a dependency. If this | /// moved to the error state due to the failure of a dependency. If this | ||||
/// method returns an error then clients should log it and call | /// method returns an error then clients should log it and call | ||||
/// failMaterialize. If no dependencies have been registered for the | /// failMaterialize. If no dependencies have been registered for the | ||||
/// symbols covered by this MaterializationResponsibiility then this method | /// symbols covered by this MaterializationResponsibiility then this method | ||||
/// is guaranteed to return Error::success() and can be wrapped with cantFail. | /// is guaranteed to return Error::success() and can be wrapped with llvm_cantFail. | ||||
Error notifyEmitted(); | Error notifyEmitted(); | ||||
/// Adds new symbols to the JITDylib and this responsibility instance. | /// Adds new symbols to the JITDylib and this responsibility instance. | ||||
/// JITDylib entries start out in the materializing state. | /// JITDylib entries start out in the materializing state. | ||||
/// | /// | ||||
/// This method can be used by materialization units that want to add | /// This method can be used by materialization units that want to add | ||||
/// additional symbols at materialization time (e.g. stubs, compile | /// additional symbols at materialization time (e.g. stubs, compile | ||||
/// callbacks, metadata). | /// callbacks, metadata). | ||||
▲ Show 20 Lines • Show All 795 Lines • Show Last 20 Lines |