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

DIEDelta - A simple label difference DIE. More...

#include <DIE.h>

Public Member Functions

 DIEDelta (const MCSymbol *Hi, const MCSymbol *Lo)
 
void EmitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit delta value. More...
 
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 SizeOf - Determine size of delta value in bytes. More...
 
void print (raw_ostream &O) const
 

Detailed Description

DIEDelta - A simple label difference DIE.

Definition at line 196 of file DIE.h.

Constructor & Destructor Documentation

llvm::DIEDelta::DIEDelta ( const MCSymbol Hi,
const MCSymbol Lo 
)
inline

Definition at line 201 of file DIE.h.

Member Function Documentation

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

EmitValue - Emit delta value.

Definition at line 368 of file DIE.cpp.

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

void DIEDelta::print ( raw_ostream O) const

Definition at line 382 of file DIE.cpp.

References llvm::MCSymbol::getName().

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

SizeOf - Determine size of delta value in bytes.

Definition at line 374 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: