summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Analysis.h
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-12-19 22:30:40 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-12-19 22:30:40 +0000
commit34eb6d877eb8e563bc3b546dbcd9f9c1644e7a98 (patch)
treea0f5bd941ea91cf6f36a4149e33ac79163ad5d84 /llvm/include/llvm-c/Analysis.h
parent9a53275918ef130dedc7b09234f42c5db6de8068 (diff)
downloadbcm5719-llvm-34eb6d877eb8e563bc3b546dbcd9f9c1644e7a98.tar.gz
bcm5719-llvm-34eb6d877eb8e563bc3b546dbcd9f9c1644e7a98.zip
Adding bindings for memory buffers and module providers. Switching
to exceptions rather than variants for error handling in Ocaml. llvm-svn: 45226
Diffstat (limited to 'llvm/include/llvm-c/Analysis.h')
-rw-r--r--llvm/include/llvm-c/Analysis.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/include/llvm-c/Analysis.h b/llvm/include/llvm-c/Analysis.h
index b57577b0588..f93e18aeca7 100644
--- a/llvm/include/llvm-c/Analysis.h
+++ b/llvm/include/llvm-c/Analysis.h
@@ -34,13 +34,11 @@ typedef enum {
/* Verifies that a module is valid, taking the specified action if not.
- Optionally returns a human-readable description of any invalid constructs. */
+ Optionally returns a human-readable description of any invalid constructs.
+ OutMessage must be disposed with LLVMDisposeMessage. */
int LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action,
char **OutMessage);
-/* Disposes of the message allocated by the verifier, if any. */
-void LLVMDisposeVerifierMessage(char *Message);
-
/* Verifies that a single function is valid, taking the specified action. Useful
for debugging. */
int LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
OpenPOWER on IntegriCloud