LLVM  3.7.0
Public Member Functions | List of all members
llvm::DIEAbbrev Class Reference

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

#include <DIE.h>

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

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)
 AddAttribute - Adds another set of attribute information to the abbreviation. More...
 
void Profile (FoldingSetNodeID &ID) const
 Profile - Used to gather unique data for the abbreviation folding set. More...
 
void Emit (const AsmPrinter *AP) const
 Emit - Print the abbreviation using the specified asm printer. More...
 
void print (raw_ostream &O)
 
void dump ()
 
- Public Member Functions inherited from llvm::FoldingSetImpl::Node
 Node ()
 
void * getNextInBucket () const
 
void SetNextInBucket (void *N)
 

Detailed Description

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

Definition at line 59 of file DIE.h.

Constructor & Destructor Documentation

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

Definition at line 79 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 91 of file DIE.h.

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

void DIEAbbrev::dump ( )

Definition at line 107 of file DIE.cpp.

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

void DIEAbbrev::Emit ( const AsmPrinter AP) const
const SmallVectorImpl<DIEAbbrevData>& llvm::DIEAbbrev::getData ( ) const
inline

Definition at line 85 of file DIE.h.

unsigned llvm::DIEAbbrev::getNumber ( ) const
inline

Definition at line 83 of file DIE.h.

dwarf::Tag llvm::DIEAbbrev::getTag ( ) const
inline

Definition at line 82 of file DIE.h.

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

Definition at line 84 of file DIE.h.

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

void DIEAbbrev::print ( raw_ostream O)
void DIEAbbrev::Profile ( FoldingSetNodeID ID) const

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

Definition at line 53 of file DIE.cpp.

References llvm::FoldingSetNodeID::AddInteger(), and N.

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

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

Definition at line 86 of file DIE.h.

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

Definition at line 87 of file DIE.h.

References N.

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


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