diff options
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); |