1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
use super::prelude::*;

extern "C" {
    pub fn LLVMLoadLibraryPermanently(Filename: *const ::libc::c_char) -> LLVMBool;
    pub fn LLVMParseCommandLineOptions(
        argc: ::libc::c_int,
        argv: *const *const ::libc::c_char,
        Overview: *const ::libc::c_char,
    );
    /// Search all previously loaded dynamic libraries for the named symbol.
    ///
    /// Returns its address if found, otherwise null.
    ///
    /// Added in LLVM 3.7.
    pub fn LLVMSearchForAddressOfSymbol(symbolName: *const ::libc::c_char) -> *mut ::libc::c_void;
    /// Permanently add the named symbol with the provided value.
    ///
    /// Symbols added this way are searched before any libraries.
    ///
    /// Added in LLVM 3.7.
    pub fn LLVMAddSymbol(symbolName: *const ::libc::c_char, symbolValue: *mut ::libc::c_void);
}