LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
llvm::DIEValue Class Referenceabstract

#include <DIE.h>

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

Public Types

enum  {
  isInteger, isString, isExpr, isLabel,
  isDelta, isEntry, isBlock
}
 

Public Member Functions

 DIEValue (unsigned T)
 
virtual ~DIEValue ()
 
unsigned getType () const
 
virtual void EmitValue (AsmPrinter *AP, dwarf::Form Form) const =0
 
virtual unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const =0
 
virtual void print (raw_ostream &O) const =0
 
void dump () const
 

Protected Attributes

unsigned Type
 

Detailed Description

DIEValue - A debug information entry value.

Definition at line 188 of file DIE.h.

Member Enumeration Documentation

anonymous enum
Enumerator
isInteger 
isString 
isExpr 
isLabel 
isDelta 
isEntry 
isBlock 

Definition at line 191 of file DIE.h.

Constructor & Destructor Documentation

llvm::DIEValue::DIEValue ( unsigned  T)
inlineexplicit

Definition at line 205 of file DIE.h.

virtual llvm::DIEValue::~DIEValue ( )
inlinevirtual

Definition at line 206 of file DIE.h.

Member Function Documentation

void DIEValue::dump ( ) const

Definition at line 201 of file DIE.cpp.

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

virtual void llvm::DIEValue::EmitValue ( AsmPrinter AP,
dwarf::Form  Form 
) const
pure virtual

EmitValue - Emit value via the Dwarf writer.

Implemented in llvm::DIEBlock, llvm::DIEEntry, llvm::DIEString, llvm::DIEDelta, llvm::DIELabel, llvm::DIEExpr, and llvm::DIEInteger.

Referenced by llvm::DIEString::EmitValue().

unsigned llvm::DIEValue::getType ( ) const
inline
virtual void llvm::DIEValue::print ( raw_ostream O) const
pure virtual
virtual unsigned llvm::DIEValue::SizeOf ( AsmPrinter AP,
dwarf::Form  Form 
) const
pure virtual

SizeOf - Return the size of a value in bytes.

Implemented in llvm::DIEBlock, llvm::DIEEntry, llvm::DIEString, llvm::DIEDelta, llvm::DIELabel, llvm::DIEExpr, and llvm::DIEInteger.

Referenced by llvm::DIEString::SizeOf().

Member Data Documentation

unsigned llvm::DIEValue::Type
protected

Type - Type of data stored in the value.

Definition at line 203 of file DIE.h.

Referenced by getType().


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