LLVM API Documentation

Public Member Functions
llvm::DIEAbbrev Class Reference

#include <DIE.h>

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

List of all members.

Public Member Functions

 DIEAbbrev (dwarf::Tag T, bool C)
dwarf::Tag getTag () const
unsigned getNumber () const
bool hasChildren () const
const SmallVectorImpl
< DIEAbbrevData > & 
getData () const
void setChildrenFlag (bool hasChild)
void setNumber (unsigned N)
void AddAttribute (dwarf::Attribute Attribute, dwarf::Form Form)
void Profile (FoldingSetNodeID &ID) const
void Emit (AsmPrinter *AP) const
void print (raw_ostream &O)
void dump ()

Detailed Description

DIEAbbrev - Dwarf abbreviation, describes the organization of a debug information object.

Definition at line 56 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEAbbrev::DIEAbbrev ( dwarf::Tag  T,
bool  C 
) [inline]

Definition at line 76 of file DIE.h.


Member Function Documentation

void llvm::DIEAbbrev::AddAttribute ( dwarf::Attribute  Attribute,
dwarf::Form  Form 
) [inline]

AddAttribute - Adds another set of attribute information to the abbreviation.

Definition at line 88 of file DIE.h.

References llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().

Referenced by llvm::DIE::addValue().

void DIEAbbrev::dump ( )

Definition at line 104 of file DIE.cpp.

References llvm::dbgs(), and print().

void DIEAbbrev::Emit ( AsmPrinter AP) const
dwarf::Tag llvm::DIEAbbrev::getTag ( ) const [inline]

Definition at line 79 of file DIE.h.

Referenced by llvm::DwarfDebug::emitDIE(), llvm::DIE::getTag(), and llvm::DIE::print().

bool llvm::DIEAbbrev::hasChildren ( ) const [inline]

Definition at line 81 of file DIE.h.

Referenced by llvm::DwarfDebug::emitDIE(), and llvm::DIE::print().

void DIEAbbrev::Profile ( FoldingSetNodeID ID) const

Profile - Used to gather unique data for the abbreviation folding set.

Definition at line 50 of file DIE.cpp.

References llvm::FoldingSetNodeID::AddInteger(), N, and llvm::SmallVectorTemplateCommon< T, typename >::size().

void llvm::DIEAbbrev::setChildrenFlag ( bool  hasChild) [inline]

Definition at line 83 of file DIE.h.

Referenced by llvm::DIE::addChild().

void llvm::DIEAbbrev::setNumber ( unsigned  N) [inline]

Definition at line 84 of file DIE.h.

Referenced by llvm::DwarfFile::assignAbbrevNumber().


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