LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
llvm::DIELabel Class Reference

DIELabel - A label DIE. More...

#include <DIE.h>

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

Public Member Functions

 DIELabel (const MCSymbol *L)
 
virtual void EmitValue (AsmPrinter *AP, dwarf::Form Form) const
 
const MCSymbolgetValue () const
 
virtual unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const
 
virtual void print (raw_ostream &O) const
 
- Public Member Functions inherited from llvm::DIEValue
 DIEValue (unsigned T)
 
virtual ~DIEValue ()
 
unsigned getType () const
 
void dump () const
 

Static Public Member Functions

static bool classof (const DIEValue *L)
 

Additional Inherited Members

- Public Types inherited from llvm::DIEValue
enum  {
  isInteger, isString, isExpr, isLabel,
  isDelta, isEntry, isBlock
}
 
- Protected Attributes inherited from llvm::DIEValue
unsigned Type
 

Detailed Description

DIELabel - A label DIE.

Definition at line 298 of file DIE.h.

Constructor & Destructor Documentation

llvm::DIELabel::DIELabel ( const MCSymbol L)
inlineexplicit

Definition at line 301 of file DIE.h.

Member Function Documentation

static bool llvm::DIELabel::classof ( const DIEValue L)
inlinestatic

Definition at line 316 of file DIE.h.

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

void DIELabel::EmitValue ( AsmPrinter AP,
dwarf::Form  Form 
) const
virtual

EmitValue - Emit label value.

Implements llvm::DIEValue.

Definition at line 305 of file DIE.cpp.

References llvm::AsmPrinter::EmitLabelReference(), and SizeOf().

const MCSymbol* llvm::DIELabel::getValue ( ) const
inline

getValue - Get MCSymbol.

Definition at line 309 of file DIE.h.

void DIELabel::print ( raw_ostream O) const
virtual

Implements llvm::DIEValue.

Definition at line 322 of file DIE.cpp.

References llvm::MCSymbol::getName().

unsigned DIELabel::SizeOf ( AsmPrinter AP,
dwarf::Form  Form 
) const
virtual

SizeOf - Determine size of label value in bytes.

Implements llvm::DIEValue.

Definition at line 314 of file DIE.cpp.

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

Referenced by EmitValue().


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