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

DIELabel - A label DIE. More...

#include <DIE.h>

Public Member Functions

 DIELabel (const MCSymbol *L)
 
const MCSymbolgetValue () const
 getValue - 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

DIELabel - A label DIE.

Definition at line 175 of file DIE.h.

Constructor & Destructor Documentation

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

Definition at line 179 of file DIE.h.

Member Function Documentation

void DIELabel::EmitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const
const MCSymbol* llvm::DIELabel::getValue ( ) const
inline

getValue - Get MCSymbol.

Definition at line 183 of file DIE.h.

void DIELabel::print ( raw_ostream O) const

Definition at line 359 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 351 of file DIE.cpp.

References llvm::dwarf::DW_FORM_data4, llvm::dwarf::DW_FORM_sec_offset, llvm::dwarf::DW_FORM_strp, llvm::AsmPrinter::getDataLayout(), and llvm::DataLayout::getPointerSize().

Referenced by EmitValue().


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