LLVM  4.0.0
Public Member Functions | List of all members
llvm::DIELabel Class Reference

A label DIE. More...

#include <DIE.h>

Public Member Functions

 DIELabel (const MCSymbol *L)
 
const MCSymbolgetValue () const
 Get MCSymbol. More...
 
void EmitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit label value. More...
 
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 SizeOf - Determine size of label value in bytes. More...
 
void print (raw_ostream &O) const
 

Detailed Description

A label DIE.

Definition at line 216 of file DIE.h.

Constructor & Destructor Documentation

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

Definition at line 220 of file DIE.h.

Member Function Documentation

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

EmitValue - Emit label value.

Definition at line 508 of file DIE.cpp.

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

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

Get MCSymbol.

Definition at line 223 of file DIE.h.

LLVM_DUMP_METHOD void DIELabel::print ( raw_ostream O) const

Definition at line 526 of file DIE.cpp.

References llvm::MCSymbol::getName().

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

SizeOf - Determine size of label value in bytes.

Definition at line 518 of file DIE.cpp.

References llvm::AsmPrinter::getPointerSize().

Referenced by EmitValue().


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