diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-19 22:30:40 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-19 22:30:40 +0000 |
commit | da1435f86ebc9886dd7704294e01d192d79e069c (patch) | |
tree | 6bfc10578fca9bc86214295b290bec5b0821be8f /include/llvm-c/Analysis.h | |
parent | 696f768daf61044abff279b20326cf0138d02e1a (diff) | |
download | llvm-da1435f86ebc9886dd7704294e01d192d79e069c.tar.gz llvm-da1435f86ebc9886dd7704294e01d192d79e069c.tar.bz2 llvm-da1435f86ebc9886dd7704294e01d192d79e069c.tar.xz |
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
Diffstat (limited to 'include/llvm-c/Analysis.h')
-rw-r--r-- | include/llvm-c/Analysis.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm-c/Analysis.h b/include/llvm-c/Analysis.h index b57577b058..f93e18aeca 100644 --- a/include/llvm-c/Analysis.h +++ b/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); |