LLVM API Documentation

llvm::GlobalDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::GlobalDesc:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

DebugInfoDescgetContext () const
const std::string & getName () const
const std::string & getDisplayName () const
CompileUnitDescgetFile () const
unsigned getLine () const
TypeDescgetType () const
bool isStatic () const
bool isDefinition () const
void setContext (DebugInfoDesc *C)
void setName (const std::string &N)
void setDisplayName (const std::string &N)
void setFile (CompileUnitDesc *U)
void setLine (unsigned L)
void setType (TypeDesc *T)
void setIsStatic (bool IS)
void setIsDefinition (bool ID)
virtual void ApplyToFields (DIVisitor *Visitor)

Protected Member Functions

 GlobalDesc (unsigned T)

Detailed Description

GlobalDesc - This class is the base descriptor for global functions and variables.

Definition at line 585 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

GlobalDesc::GlobalDesc ( unsigned  T  )  [protected]

Definition at line 1040 of file MachineDebugInfo.cpp.


Member Function Documentation

DebugInfoDesc* llvm::GlobalDesc::getContext (  )  const [inline]

Definition at line 601 of file MachineDebugInfo.h.

const std::string& llvm::GlobalDesc::getName (  )  const [inline]

Definition at line 602 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

const std::string& llvm::GlobalDesc::getDisplayName (  )  const [inline]

Definition at line 603 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

CompileUnitDesc* llvm::GlobalDesc::getFile (  )  const [inline]

Definition at line 604 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

unsigned llvm::GlobalDesc::getLine (  )  const [inline]

Definition at line 607 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

TypeDesc* llvm::GlobalDesc::getType (  )  const [inline]

Definition at line 608 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

bool llvm::GlobalDesc::isStatic (  )  const [inline]

Definition at line 611 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

bool llvm::GlobalDesc::isDefinition (  )  const [inline]

Definition at line 612 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

void llvm::GlobalDesc::setContext ( DebugInfoDesc C  )  [inline]

Definition at line 613 of file MachineDebugInfo.h.

References C.

void llvm::GlobalDesc::setName ( const std::string &  N  )  [inline]

Definition at line 614 of file MachineDebugInfo.h.

void llvm::GlobalDesc::setDisplayName ( const std::string &  N  )  [inline]

Definition at line 615 of file MachineDebugInfo.h.

void llvm::GlobalDesc::setFile ( CompileUnitDesc U  )  [inline]

Definition at line 616 of file MachineDebugInfo.h.

References U.

void llvm::GlobalDesc::setLine ( unsigned  L  )  [inline]

Definition at line 619 of file MachineDebugInfo.h.

void llvm::GlobalDesc::setType ( TypeDesc T  )  [inline]

Definition at line 620 of file MachineDebugInfo.h.

References T.

void llvm::GlobalDesc::setIsStatic ( bool  IS  )  [inline]

Definition at line 623 of file MachineDebugInfo.h.

void llvm::GlobalDesc::setIsDefinition ( bool  ID  )  [inline]

Definition at line 624 of file MachineDebugInfo.h.

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

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

Reimplemented from llvm::AnchoredDesc.

Reimplemented in llvm::GlobalVariableDesc, and llvm::SubprogramDesc.

Definition at line 1054 of file MachineDebugInfo.cpp.

References llvm::DIVisitor::Apply(), llvm::AnchoredDesc::ApplyToFields(), llvm::DebugInfoDesc::getVersion(), and llvm::LLVMDebugVersion4.

Referenced by llvm::SubprogramDesc::ApplyToFields(), and llvm::GlobalVariableDesc::ApplyToFields().


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