LLVM API Documentation

llvm::DebugInfoDesc Class Reference

#include <MachineModuleInfo.h>

Inheritance diagram for llvm::DebugInfoDesc:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~DebugInfoDesc ()
unsigned getTag () const
unsigned getVersion () const
void setTag (unsigned T)
virtual GlobalValue::LinkageTypes getLinkage () const
virtual void ApplyToFields (DIVisitor *Visitor)
virtual const char * getDescString () const =0
virtual const char * getTypeString () const =0
virtual void dump ()=0

Static Public Member Functions

static unsigned TagFromGlobal (GlobalVariable *GV)
static unsigned VersionFromGlobal (GlobalVariable *GV)
static DebugInfoDescDescFactory (unsigned Tag)
static bool classof (const DebugInfoDesc *)

Protected Member Functions

 DebugInfoDesc (unsigned T)


Detailed Description

DebugInfoDesc - This class is the base class for debug info descriptors.

Definition at line 97 of file MachineModuleInfo.h.


Constructor & Destructor Documentation

llvm::DebugInfoDesc::DebugInfoDesc ( unsigned  T  )  [inline, explicit, protected]

Definition at line 104 of file MachineModuleInfo.h.

virtual llvm::DebugInfoDesc::~DebugInfoDesc (  )  [inline, virtual]

Definition at line 107 of file MachineModuleInfo.h.


Member Function Documentation

unsigned llvm::DebugInfoDesc::getTag (  )  const [inline]

unsigned llvm::DebugInfoDesc::getVersion (  )  const [inline]

void llvm::DebugInfoDesc::setTag ( unsigned  T  )  [inline]

Definition at line 112 of file MachineModuleInfo.h.

References llvm::LLVMDebugVersion.

unsigned DebugInfoDesc::TagFromGlobal ( GlobalVariable GV  )  [static]

TagFromGlobal - Returns the tag number from a debug info descriptor GlobalVariable. Return DIIValid if operand is not an unsigned int.

TagFromGlobal - Returns the tag number from a debug info descriptor GlobalVariable. Return DIIValid if operand is not an unsigned int.

Definition at line 608 of file MachineModuleInfo.cpp.

References llvm::dwarf::DW_TAG_invalid, getUIntOperand(), llvm::ConstantInt::getZExtValue(), and llvm::LLVMDebugVersionMask.

Referenced by llvm::DIDeserializer::Deserialize(), llvm::MachineModuleInfo::getAnchoredDescriptors(), and llvm::DIVerifier::Verify().

unsigned DebugInfoDesc::VersionFromGlobal ( GlobalVariable GV  )  [static]

VersionFromGlobal - Returns the version number from a debug info descriptor GlobalVariable. Return DIIValid if operand is not an unsigned int.

VersionFromGlobal - Returns the version number from a debug info descriptor GlobalVariable. Return DIIValid if operand is not an unsigned int.

Definition at line 617 of file MachineModuleInfo.cpp.

References llvm::dwarf::DW_TAG_invalid, getUIntOperand(), llvm::ConstantInt::getZExtValue(), and llvm::LLVMDebugVersionMask.

Referenced by llvm::MachineModuleInfo::getAnchoredDescriptors(), and llvm::DIVerifier::Verify().

DebugInfoDesc * DebugInfoDesc::DescFactory ( unsigned  Tag  )  [static]

GlobalValue::LinkageTypes DebugInfoDesc::getLinkage (  )  const [virtual]

getLinkage - get linkage appropriate for this type of descriptor.

Reimplemented in llvm::AnchorDesc.

Definition at line 659 of file MachineModuleInfo.cpp.

References llvm::GlobalValue::InternalLinkage.

Referenced by llvm::DISerializer::Serialize().

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

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

virtual const char* llvm::DebugInfoDesc::getDescString (  )  const [pure virtual]

virtual const char* llvm::DebugInfoDesc::getTypeString (  )  const [pure virtual]

virtual void llvm::DebugInfoDesc::dump (  )  [pure virtual]


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.