LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DIEEntry Class Reference

#include <DIE.h>

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

List of all members.

Public Member Functions

 DIEEntry (DIE &E)
DIEgetEntry () const
void EmitValue (AsmPrinter *AP, dwarf::Form Form) const override
unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const override
void print (raw_ostream &O) const override

Static Public Member Functions

static unsigned getRefAddrSize (AsmPrinter *AP)
 Returns size of a ref_addr entry.
static bool classof (const DIEValue *E)

Detailed Description

DIEEntry - 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 413 of file DIE.h.


Constructor & Destructor Documentation

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

Definition at line 417 of file DIE.h.


Member Function Documentation

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

Definition at line 437 of file DIE.h.

References llvm::DIEValue::getType(), and llvm::DIEValue::isEntry.

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

Definition at line 420 of file DIE.h.

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

Returns size of a ref_addr entry.

Definition at line 398 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 [override, virtual]

Implements llvm::DIEValue.

Definition at line 411 of file DIE.cpp.

References llvm::format().

unsigned llvm::DIEEntry::SizeOf ( AsmPrinter AP,
dwarf::Form  Form 
) const [inline, override, virtual]

SizeOf - Determine size of debug information entry in bytes.

Implements llvm::DIEValue.

Definition at line 428 of file DIE.h.

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


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