Adding bindings for memory buffers and module providers. Switching
to exceptions rather than variants for error handling in Ocaml.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45226 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/llvm-c/Analysis.h b/include/llvm-c/Analysis.h
index b57577b..f93e18a 100644
--- a/include/llvm-c/Analysis.h
+++ b/include/llvm-c/Analysis.h
@@ -34,13 +34,11 @@
/* 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);