LLVM API Documentation

llvm::RuntimeInfo Class Reference

#include <RuntimeInfo.h>

Collaboration diagram for llvm::RuntimeInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RuntimeInfo (ProgramInfo *PI, const InferiorProcess &ip)
ProgramInfogetProgramInfo ()
const InferiorProcessgetInferiorProcess () const
StackFramegetStackFrame (unsigned ID)
StackFramegetCurrentFrame ()
unsigned getCurrentFrameIdx () const
void setCurrentFrameIdx (unsigned Idx)

Detailed Description

RuntimeInfo - This class collects information about the currently running process. It is created whenever the program stops execution for the debugger, and destroyed whenver execution continues.

Definition at line 71 of file RuntimeInfo.h.


Constructor & Destructor Documentation

llvm::RuntimeInfo::RuntimeInfo ( ProgramInfo PI,
const InferiorProcess ip 
) [inline]

Definition at line 90 of file RuntimeInfo.h.

References getStackFrame().


Member Function Documentation

StackFrame& llvm::RuntimeInfo::getCurrentFrame (  )  [inline]

getCurrentFrame - Return the current stack frame object that the user is inspecting.

Definition at line 116 of file RuntimeInfo.h.

unsigned llvm::RuntimeInfo::getCurrentFrameIdx (  )  const [inline]

getCurrentFrameIdx - Return the current frame the user is inspecting.

Definition at line 124 of file RuntimeInfo.h.

const InferiorProcess& llvm::RuntimeInfo::getInferiorProcess (  )  const [inline]

Definition at line 99 of file RuntimeInfo.h.

Referenced by llvm::StackFrame::getFunctionDesc(), llvm::StackFrame::getSourceLocation(), and llvm::StackFrame::StackFrame().

ProgramInfo& llvm::RuntimeInfo::getProgramInfo (  )  [inline]

Definition at line 98 of file RuntimeInfo.h.

Referenced by llvm::StackFrame::getSourceLocation().

StackFrame& llvm::RuntimeInfo::getStackFrame ( unsigned  ID  )  [inline]

getStackFrame - Materialize the specified stack frame and return it. If the specified ID is off of the bottom of the stack, throw an exception indicating the problem.

Definition at line 108 of file RuntimeInfo.h.

Referenced by RuntimeInfo().

void llvm::RuntimeInfo::setCurrentFrameIdx ( unsigned  Idx  )  [inline]

setCurrentFrameIdx - Set the current frame index to the specified value. Note that the specified frame must have been materialized with getStackFrame before it can be made current.

Definition at line 129 of file RuntimeInfo.h.


The documentation for this class was generated from the following files: