ΒΆLLVMErrorRef LLVMOrcJITDylibDefine(
    LLVMOrcJITDylibRef JD,
    LLVMOrcMaterializationUnitRef MU)

Description

Add the given MaterializationUnit to the given JITDylib. If this operation succeeds then JITDylib JD will take ownership of MU. If the operation fails then ownership remains with the caller who should call LLVMOrcDisposeMaterializationUnit to destroy it.

Declared at: llvm/include/llvm-c/Orc.h:966

Parameters

LLVMOrcJITDylibRef JD
LLVMOrcMaterializationUnitRef MU