LLVM API Documentation

llvm::StackFrame Class Reference

#include <RuntimeInfo.h>

Collaboration diagram for llvm::StackFrame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StackFrame (RuntimeInfo &RI, void *ParentFrameID)
StackFrameoperator= (const StackFrame &RHS)
void * getFrameID () const
const GlobalVariablegetFunctionDesc ()
void getSourceLocation (unsigned &LineNo, unsigned &ColNo, const SourceFileInfo *&SourceInfo)

Detailed Description

StackFrame - One instance of this structure is created for each stack frame that is active in the program.

Definition at line 34 of file RuntimeInfo.h.


Constructor & Destructor Documentation

StackFrame::StackFrame ( RuntimeInfo RI,
void *  ParentFrameID 
)

Definition at line 23 of file RuntimeInfo.cpp.

References llvm::RuntimeInfo::getInferiorProcess(), and llvm::InferiorProcess::getPreviousFrame().


Member Function Documentation

void* llvm::StackFrame::getFrameID (  )  const [inline]

getFrameID - return the low-level opaque frame ID of this stack frame.

Definition at line 54 of file RuntimeInfo.h.

const GlobalVariable * StackFrame::getFunctionDesc (  ) 

getFunctionDesc - Return the descriptor for the function that contains this stack frame, or null if it is unknown.

Definition at line 32 of file RuntimeInfo.cpp.

References llvm::RuntimeInfo::getInferiorProcess(), and llvm::InferiorProcess::getSubprogramDesc().

void StackFrame::getSourceLocation ( unsigned &  LineNo,
unsigned &  ColNo,
const SourceFileInfo *&  SourceInfo 
)

getSourceLocation - Return the source location that this stack frame is sitting at.

Definition at line 40 of file RuntimeInfo.cpp.

References llvm::InferiorProcess::getFrameLocation(), llvm::RuntimeInfo::getInferiorProcess(), llvm::RuntimeInfo::getProgramInfo(), and llvm::ProgramInfo::getSourceFile().

StackFrame& llvm::StackFrame::operator= ( const StackFrame RHS  )  [inline]

Definition at line 46 of file RuntimeInfo.h.

References FrameID, and FunctionDesc.


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