llvm_sys/support.rs
1use super::prelude::*;
2
3extern "C" {
4 pub fn LLVMLoadLibraryPermanently(Filename: *const ::libc::c_char) -> LLVMBool;
5 pub fn LLVMParseCommandLineOptions(
6 argc: ::libc::c_int,
7 argv: *const *const ::libc::c_char,
8 Overview: *const ::libc::c_char,
9 );
10 /// Search all previously loaded dynamic libraries for the named symbol.
11 ///
12 /// Returns its address if found, otherwise null.
13 ///
14 /// Added in LLVM 3.7.
15 pub fn LLVMSearchForAddressOfSymbol(symbolName: *const ::libc::c_char) -> *mut ::libc::c_void;
16 /// Permanently add the named symbol with the provided value.
17 ///
18 /// Symbols added this way are searched before any libraries.
19 ///
20 /// Added in LLVM 3.7.
21 pub fn LLVMAddSymbol(symbolName: *const ::libc::c_char, symbolValue: *mut ::libc::c_void);
22}