LLVM API Documentation

llvm::DIEEntry Class Reference

#include <DIE.h>

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

List of all members.

Public Member Functions

 DIEEntry (DIE *E)
DIE * getEntry () const
void setEntry (DIE *E)
virtual void EmitValue (Dwarf *D, unsigned Form) const
virtual unsigned SizeOf (const TargetData *TD, unsigned Form) const
virtual void Profile (FoldingSetNodeID &ID)
virtual void print (std::ostream &O)

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, DIE *Entry)
static bool classof (const DIEEntry *)
static bool classof (const DIEValue *E)


Detailed Description

DIEntry - A pointer to another debug information entry. An instance of this class can also be used as a proxy for a debug information entry not yet defined (ie. types.)

Definition at line 475 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEEntry::DIEEntry ( DIE *  E  )  [inline, explicit]

Definition at line 478 of file DIE.h.


Member Function Documentation

DIE* llvm::DIEEntry::getEntry (  )  const [inline]

Definition at line 480 of file DIE.h.

References Entry.

void llvm::DIEEntry::setEntry ( DIE *  E  )  [inline]

Definition at line 481 of file DIE.h.

References Entry.

void DIEEntry::EmitValue ( Dwarf *  D,
unsigned  Form 
) const [virtual]

EmitValue - Emit debug information entry offset.

Implements llvm::DIEValue.

Definition at line 435 of file DIE.cpp.

References llvm::AsmPrinter::EmitInt32(), llvm::Dwarf::getAsm(), and llvm::DIE::getOffset().

virtual unsigned llvm::DIEEntry::SizeOf ( const TargetData *  TD,
unsigned  Form 
) const [inline, virtual]

SizeOf - Determine size of debug information entry in bytes.

Implements llvm::DIEValue.

Definition at line 489 of file DIE.h.

void DIEEntry::Profile ( FoldingSetNodeID &  ID,
DIE *  Entry 
) [static]

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

Definition at line 441 of file DIE.cpp.

References llvm::FoldingSetNodeID::AddInteger(), llvm::FoldingSetNodeID::AddPointer(), and llvm::DIEValue::isEntry.

void DIEEntry::Profile ( FoldingSetNodeID &  ID  )  [virtual]

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

Implements llvm::DIEValue.

Definition at line 445 of file DIE.cpp.

References llvm::FoldingSetNodeID::AddInteger(), llvm::FoldingSetNodeID::AddPointer(), and llvm::DIEValue::isEntry.

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

Definition at line 499 of file DIE.h.

static bool llvm::DIEEntry::classof ( const DIEValue *  E  )  [inline, static]

Reimplemented from llvm::DIEValue.

Definition at line 500 of file DIE.h.

References llvm::DIEValue::getType().

void DIEEntry::print ( std::ostream &  O  )  [virtual]

Implements llvm::DIEValue.

Definition at line 455 of file DIE.cpp.


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