projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warning when assertions disabled.
[oota-llvm.git]
/
include
/
llvm-c
/
Analysis.h
diff --git
a/include/llvm-c/Analysis.h
b/include/llvm-c/Analysis.h
index f93e18aeca7ff43b9198a240a96554823c9cf3e4..68d8e65db49e096486571d48ed0cdf7832ea88d6 100644
(file)
--- a/
include/llvm-c/Analysis.h
+++ b/
include/llvm-c/Analysis.h
@@
-2,8
+2,8
@@
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
-|* This file
was developed by Gordon Henriksen and is distributed under the
*|
-|*
University of Illinois Open Source License. See LICENSE.TXT for details.
*|
+|* This file
is distributed under the University of Illinois Open Source
*|
+|*
License. See LICENSE.TXT for details.
*|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
@@
-43,6
+43,10
@@
int LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action,
for debugging. */
int LLVMVerifyFunction(LLVMValueRef Fn, 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
}
#ifdef __cplusplus
}