git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100774
91177308-0d34-0410-b5e6-
96231b3b80d8
}
-// verifyFunction - Create
+/// verifyFunction - Check a function for errors, printing messages on stderr.
+/// Return true if the function is corrupt.
+///
bool llvm::verifyFunction(const Function &f, VerifierFailureAction action) {
Function &F = const_cast<Function&>(f);
assert(!F.isDeclaration() && "Cannot verify external functions");