ΒΆLLVMErrorRef LLVMOrcLLJITAddObjectFile(
    LLVMOrcLLJITRef J,
    LLVMOrcJITDylibRef JD,
    LLVMMemoryBufferRef ObjBuffer)

Description

Add a buffer representing an object file to the given JITDylib in the given LLJIT instance. This operation transfers ownership of the buffer to the LLJIT instance. The buffer should not be disposed of or referenced once this function returns. Resources associated with the given object will be tracked by the given JITDylib's default resource tracker.

Declared at: llvm/include/llvm-c/LLJIT.h:170

Parameters

LLVMOrcLLJITRef J
LLVMOrcJITDylibRef JD
LLVMMemoryBufferRef ObjBuffer