LLVM API Documentation

llvm::SubprogramDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::SubprogramDesc:

Inheritance graph
[legend]
Collaboration diagram for llvm::SubprogramDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SubprogramDesc ()
virtual void ApplyToFields (DIVisitor *Visitor)
virtual const char * getDescString () const
virtual const char * getTypeString () const
virtual const char * getAnchorString () const
virtual void dump ()

Static Public Member Functions

static bool classof (const SubprogramDesc *)
static bool classof (const DebugInfoDesc *D)

Static Public Attributes

static const char * AnchorString

Detailed Description

SubprogramDesc - This class packages debug information associated with a subprogram/function.

Definition at line 674 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

SubprogramDesc::SubprogramDesc (  ) 

Definition at line 1125 of file MachineDebugInfo.cpp.


Member Function Documentation

static bool llvm::SubprogramDesc::classof ( const SubprogramDesc  )  [inline, static]

Definition at line 683 of file MachineDebugInfo.h.

bool SubprogramDesc::classof ( const DebugInfoDesc D  )  [static]

Reimplemented from llvm::DebugInfoDesc.

Definition at line 1130 of file MachineDebugInfo.cpp.

References D, and llvm::dwarf::DW_TAG_subprogram.

void SubprogramDesc::ApplyToFields ( DIVisitor Visitor  )  [virtual]

ApplyToFields - Target the visitor to the fields of the SubprogramDesc.

Reimplemented from llvm::GlobalDesc.

Definition at line 1136 of file MachineDebugInfo.cpp.

References llvm::GlobalDesc::ApplyToFields().

const char * SubprogramDesc::getDescString (  )  const [virtual]

getDescString - Return a string used to compose global names and labels.

Implements llvm::DebugInfoDesc.

Definition at line 1142 of file MachineDebugInfo.cpp.

Referenced by dump().

const char * SubprogramDesc::getTypeString (  )  const [virtual]

getTypeString - Return a string used to label this descriptor's type.

Implements llvm::DebugInfoDesc.

Definition at line 1148 of file MachineDebugInfo.cpp.

const char * SubprogramDesc::getAnchorString (  )  const [virtual]

getAnchorString - Return a string used to label descriptor's anchor.

Implements llvm::AnchoredDesc.

Definition at line 1155 of file MachineDebugInfo.cpp.

References AnchorString.

void SubprogramDesc::dump (  )  [virtual]

Implements llvm::DebugInfoDesc.

Definition at line 1160 of file MachineDebugInfo.cpp.

References llvm::AnchoredDesc::getAnchor(), getDescString(), llvm::GlobalDesc::getDisplayName(), llvm::GlobalDesc::getFile(), llvm::GlobalDesc::getLine(), llvm::GlobalDesc::getName(), llvm::DebugInfoDesc::getTag(), llvm::GlobalDesc::getType(), llvm::DebugInfoDesc::getVersion(), llvm::GlobalDesc::isDefinition(), and llvm::GlobalDesc::isStatic().


Member Data Documentation

const char * SubprogramDesc::AnchorString [static]

getAnchorString - Return a string used to label this descriptor's anchor.

Definition at line 700 of file MachineDebugInfo.h.

Referenced by getAnchorString(), and llvm::AnchorDesc::getDescString().


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