ΒΆLLVMErrorRef
LLVMOrcMaterializationResponsibilityNotifyResolved(
LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcCSymbolMapPairs Symbols,
size_t NumPairs)
LLVMErrorRef
LLVMOrcMaterializationResponsibilityNotifyResolved(
LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcCSymbolMapPairs Symbols,
size_t NumPairs)
Description
Notifies the target JITDylib that the given symbols have been resolved. This will update the given symbols' addresses in the JITDylib, and notify any pending queries on the given symbols of their resolution. The given symbols must be ones covered by this MaterializationResponsibility instance. Individual calls to this method may resolve a subset of the 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 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 LLVMOrcMaterializationResponsibilityFailMaterialization. If no dependencies have been registered for the symbols covered by this MaterializationResponsibiility then this method is guaranteed to return LLVMErrorSuccess.
Declared at: llvm/include/llvm-c/Orc.h:802
Parameters
- LLVMOrcMaterializationResponsibilityRef MR
- LLVMOrcCSymbolMapPairs Symbols
- size_t NumPairs