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

#include <DIE.h>

Public Member Functions

 DIEEntry (DIE &E)
 
DIEgetEntry () const
 
void EmitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit debug information entry offset. More...
 
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 
void print (raw_ostream &O) const
 

Static Public Member Functions

static unsigned getRefAddrSize (const AsmPrinter *AP)
 Returns size of a ref_addr entry. More...
 

Detailed Description

Definition at line 236 of file DIE.h.

Constructor & Destructor Documentation

llvm::DIEEntry::DIEEntry ( DIE E)
inlineexplicit

Definition at line 242 of file DIE.h.

Member Function Documentation

void DIEEntry::EmitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const
DIE& llvm::DIEEntry::getEntry ( ) const
inline

Definition at line 244 of file DIE.h.

Referenced by llvm::DwarfUnit::addDIEEntry().

unsigned DIEEntry::getRefAddrSize ( const AsmPrinter AP)
static

Returns size of a ref_addr entry.

Definition at line 467 of file DIE.cpp.

References llvm::AsmPrinter::getDataLayout(), llvm::AsmPrinter::getDwarfDebug(), llvm::DwarfDebug::getDwarfVersion(), and llvm::DataLayout::getPointerSize().

Referenced by EmitValue(), and SizeOf().

void DIEEntry::print ( raw_ostream O) const

Definition at line 480 of file DIE.cpp.

References llvm::format().

unsigned llvm::DIEEntry::SizeOf ( const AsmPrinter AP,
dwarf::Form  Form 
) const
inline

Definition at line 250 of file DIE.h.

References llvm::dwarf::DW_FORM_ref_addr, and getRefAddrSize().


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