LLVM API Documentation
#include <InferiorProcess.h>
Collaboration diagram for llvm::InferiorProcess:
Public Member Functions | |
virtual | ~InferiorProcess () |
virtual std::string | getStatus () const |
virtual void * | getPreviousFrame (void *Frame) const =0 |
virtual const GlobalVariable * | getSubprogramDesc (void *Frame) const =0 |
virtual void | getFrameLocation (void *Frame, unsigned &LineNo, unsigned &ColNo, const GlobalVariable *&SourceDesc) const =0 |
virtual unsigned | addBreakpoint (unsigned LineNo, unsigned ColNo, const GlobalVariable *SourceDesc)=0 |
virtual void | removeBreakpoint (unsigned ID)=0 |
virtual void | stepProgram ()=0 |
virtual void | finishProgram (void *Frame)=0 |
virtual void | contProgram ()=0 |
Static Public Member Functions | |
static InferiorProcess * | create (Module *M, const std::vector< std::string > &Arguments, const char *const *envp) |
Protected Member Functions | |
InferiorProcess (Module *m) |
Definition at line 51 of file InferiorProcess.h.
|
Definition at line 54 of file InferiorProcess.h. |
|
Definition at line 65 of file InferiorProcess.h. |
|
addBreakpoint - This method adds a breakpoint at the specified line, column, and source file, and returns a unique identifier for it. It is up to the debugger to determine whether or not there is actually a stop-point that corresponds with the specified location. |
|
contProgram - Implement the 'cont' command, continuing execution until a breakpoint is encountered. |
|
create - Create an inferior process of the specified module, and stop it at the first opportunity. If there is a problem starting the program (for example, it has no main), throw an exception. Definition at line 205 of file UnixLocalInferiorProcess.cpp. Referenced by llvm::Debugger::createProgram(). |
|
finishProgram - Implement the 'finish' command, continuing execution until the current function returns. |
|
getFrameLocation - This method returns the source location where each stack frame is stopped. Referenced by llvm::StackFrame::getSourceLocation(). |
|
getPreviousFrame - Given the descriptor for the current stack frame, return the descriptor for the caller frame. This returns null when it runs out of frames. If Frame is null, the initial frame should be returned. Referenced by llvm::StackFrame::StackFrame(). |
|
getStatus - Return a status message that is specific to the current type of inferior process that is created. This can return things like the PID of the inferior or other potentially interesting things. Definition at line 75 of file InferiorProcess.h. |
|
getSubprogramDesc - Return the subprogram descriptor for the current stack frame. Referenced by llvm::StackFrame::getFunctionDesc(). |
|
removeBreakpoint - This deletes the breakpoint with the specified ID number. |
|
stepProgram - Implement the 'step' command, continuing execution until the next possible stop point. |