llvm_sys::linker

Function LLVMLinkModules2

Source
pub unsafe extern "C" fn LLVMLinkModules2(
    Dest: LLVMModuleRef,
    Src: LLVMModuleRef,
) -> LLVMBool
Expand description

Link the source module into the destination module.

Destroys the source module, returns true on error. Use the diagnostic handler to get any diagnostic message.