1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
use super::prelude::*;
#[repr(C)]
pub enum LLVMVerifierFailureAction {
LLVMAbortProcessAction = 0,
LLVMPrintMessageAction = 1,
LLVMReturnStatusAction = 2,
}
extern "C" {
pub fn LLVMVerifyModule(M: LLVMModuleRef,
Action: LLVMVerifierFailureAction,
OutMessage: *mut *mut ::libc::c_char)
-> LLVMBool;
pub fn LLVMVerifyFunction(Fn: LLVMValueRef, Action: LLVMVerifierFailureAction) -> LLVMBool;
pub fn LLVMViewFunctionCFG(Fn: LLVMValueRef);
pub fn LLVMViewFunctionCFGOnly(Fn: LLVMValueRef);
}