llvm_sys::support

Function LLVMAddSymbol

Source
pub unsafe extern "C" fn LLVMAddSymbol(
    symbolName: *const c_char,
    symbolValue: *mut c_void,
)
Expand description

Permanently add the named symbol with the provided value.

Symbols added this way are searched before any libraries.

Added in LLVM 3.7.