diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2008-03-31 16:22:09 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2008-03-31 16:22:09 +0000 |
commit | d6d018589cf3de22bc5d0b2b229e37cdb6afca61 (patch) | |
tree | 3a39355c6721ff81bf64ee54d5dc679e3159c82d /include/llvm-c/Analysis.h | |
parent | 86550b0a143c839956c0f3c1bca589c24ebcc3fb (diff) |
Expose Function::viewCFG and Function::viewCFGOnly to bindings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Analysis.h')
-rw-r--r-- | include/llvm-c/Analysis.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm-c/Analysis.h b/include/llvm-c/Analysis.h index e8f27871cc..68d8e65db4 100644 --- a/include/llvm-c/Analysis.h +++ b/include/llvm-c/Analysis.h @@ -43,6 +43,10 @@ int LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, for debugging. */ int LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action); +/* Open up a ghostview window that displays the CFG of the current function. + Useful for debugging. */ +void LLVMViewFunctionCFG(LLVMValueRef Fn); +void LLVMViewFunctionCFGOnly(LLVMValueRef Fn); #ifdef __cplusplus } |