ΒΆLLVMErrorRef
LLVMOrcCreateStaticLibrarySearchGeneratorForPath(
    LLVMOrcDefinitionGeneratorRef* Result,
    LLVMOrcObjectLayerRef ObjLayer,
    const char* FileName,
    const char* TargetTriple)

Description

Get a LLVMOrcCreateStaticLibrarySearchGeneratorForPath that will reflect static library symbols into the JITDylib. On success the resulting generator is owned by the client. Ownership is typically transferred by adding the instance to a JITDylib using LLVMOrcJITDylibAddGenerator, Call with the optional TargetTriple argument will succeed if the file at the given path is a static library or a MachO universal binary containing a static library that is compatible with the given triple. Otherwise it will return an error. THIS API IS EXPERIMENTAL AND LIKELY TO CHANGE IN THE NEAR FUTURE!

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

Parameters

LLVMOrcDefinitionGeneratorRef* Result
LLVMOrcObjectLayerRef ObjLayer
const char* FileName
const char* TargetTriple