LLVM API Documentation
#include <ProgramInfo.h>
Collaboration diagram for llvm::SourceFunctionInfo:
Public Member Functions | |
SourceFunctionInfo (ProgramInfo &PI, const GlobalVariable *Desc) | |
virtual | ~SourceFunctionInfo () |
virtual std::string | getSymbolicName () const |
const GlobalVariable * | getDescriptor () const |
const SourceFileInfo & | getSourceFile () const |
void | getSourceLocation (unsigned &LineNo, unsigned &ColNo) const |
Definition at line 86 of file ProgramInfo.h.
|
Definition at line 185 of file ProgramInfo.cpp. References llvm::GlobalVariable::getInitializer(), llvm::ProgramInfo::getSourceFile(), getStringValue(), and llvm::GlobalVariable::hasInitializer(). |
|
Definition at line 106 of file ProgramInfo.h. |
|
getDescriptor - This returns the descriptor for the function. Definition at line 114 of file ProgramInfo.h. Referenced by getSourceLocation(). |
|
getSourceFile - This returns the source file that defines the function. Definition at line 118 of file ProgramInfo.h. Referenced by getSourceLocation(). |
|
getSourceLocation - This method returns the location of the first stopping point in the function. If the body of the function cannot be found, this returns zeros for both values. Definition at line 204 of file ProgramInfo.cpp. References llvm::Intrinsic::dbg_func_start, E, F, getDescriptor(), getNextStopPoint(), getSourceFile(), llvm::Value::use_begin(), and llvm::Value::use_end(). |
|
getSymbolicName - Return a human-readable symbolic name to identify the function (for example, in stack traces). Definition at line 110 of file ProgramInfo.h. |