|
LLVM 24.0.0git
|
An interface for handling events and managing outputs during interpretation. More...
#include "llvm/UBAwareInterpreter/Context.h"
Public Member Functions | |
| virtual | ~EventHandler ()=default |
| virtual bool | onInstructionExecuted (Instruction &I, const AnyValue &Result) |
| virtual void | onError (StringRef Msg) |
| virtual void | onUnrecognizedInstruction (Instruction &I) |
| virtual void | onImmediateUB (StringRef Msg) |
| virtual bool | onBBJump (Instruction &I, BasicBlock &To) |
| virtual bool | onFunctionEntry (Function &F, ArrayRef< AnyValue > Args, CallBase *CallSite) |
| virtual bool | onFunctionExit (Function &F, const AnyValue &RetVal) |
| virtual void | onProgramExit (const ProgramExitInfo &ExitInfo) |
| virtual bool | onPrint (StringRef Msg) |
An interface for handling events and managing outputs during interpretation.
If the handler returns false from any of the methods, the interpreter will stop execution immediately.
|
virtualdefault |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Definition at line 185 of file Context.h.
References llvm::raw_ostream::flush(), Msg, and llvm::outs().
|
inlinevirtual |
|
inlinevirtual |