[llvm-commits] Patch For Verifiier - Supports AbortProcessAction, ThrowExceptionAction, PrintMessageAction
Chris Lattner
sabre at nondot.org
Fri Apr 2 10:26:21 PST 2004
On Fri, 2 Apr 2004, Reid Spencer wrote:
> The attached patch allows the caller of llvm::verifyModule,
> llvm::verifyFunction, and createVerifierPass to specify what they would
> like the verifier to do when it finds a problem. The current behavior of
> printing the error message and aborting the process is retained as the
> default. However, it is possible to pass an "action" parameter into each
> of these functions to control what the verifier will do. See Verifier.h
> for details.
Applied, thanks!
-Chris
> I've compiled this patch against the latest CVS with no problems.
> Everything compiles and links fine. I've tested it fairly well with the
> XPL compiler for both AbortProcessAction and ThrowExceptionAction and
> all is well. I can now catch the exception and handle it in the XPL
> Compiler.
>
> Reid.
>
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-commits
mailing list