LLVM API Documentation

llvm::DIESectionOffset Class Reference

#include <DIE.h>

Inheritance diagram for llvm::DIESectionOffset:
[legend]
Collaboration diagram for llvm::DIESectionOffset:
[legend]

List of all members.

Public Member Functions

 DIESectionOffset (const DWLabel &Lab, const DWLabel &Sec, bool isEH=false, bool useSet=true)
virtual void EmitValue (Dwarf *D, unsigned Form) const
virtual unsigned SizeOf (const TargetData *TD, unsigned Form) const
virtual void Profile (FoldingSetNodeID &ID)
virtual void print (std::ostream &O)

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, const DWLabel &Label, const DWLabel &Section)
static bool classof (const DIESectionOffset *)
static bool classof (const DIEValue *D)


Detailed Description

DIESectionOffset - A section offset DIE.

Definition at line 402 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIESectionOffset::DIESectionOffset ( const DWLabel &  Lab,
const DWLabel &  Sec,
bool  isEH = false,
bool  useSet = true 
) [inline]

Definition at line 408 of file DIE.h.


Member Function Documentation

void DIESectionOffset::EmitValue ( Dwarf *  D,
unsigned  Form 
) const [virtual]

EmitValue - Emit section offset.

EmitValue - Emit delta value.

Implements llvm::DIEValue.

Definition at line 352 of file DIE.cpp.

References llvm::dwarf::DW_FORM_data4, and llvm::Dwarf::EmitSectionOffset().

unsigned DIESectionOffset::SizeOf ( const TargetData *  TD,
unsigned  Form 
) const [virtual]

SizeOf - Determine size of section offset value in bytes.

SizeOf - Determine size of delta value in bytes.

Implements llvm::DIEValue.

Definition at line 361 of file DIE.cpp.

References llvm::dwarf::DW_FORM_data4, and llvm::TargetData::getPointerSize().

void DIESectionOffset::Profile ( FoldingSetNodeID &  ID,
const DWLabel &  Label,
const DWLabel &  Section 
) [static]

Profile - Used to gather unique data for the value folding set.

Definition at line 368 of file DIE.cpp.

References llvm::FoldingSetNodeID::AddInteger(), and llvm::DIEValue::isSectionOffset.

Referenced by Profile().

void DIESectionOffset::Profile ( FoldingSetNodeID &  ID  )  [virtual]

Profile - Used to gather unique data for the value folding set.

Implements llvm::DIEValue.

Definition at line 376 of file DIE.cpp.

References Profile().

static bool llvm::DIESectionOffset::classof ( const DIESectionOffset *   )  [inline, static]

Definition at line 428 of file DIE.h.

static bool llvm::DIESectionOffset::classof ( const DIEValue *  D  )  [inline, static]

Reimplemented from llvm::DIEValue.

Definition at line 429 of file DIE.h.

References llvm::DIEValue::getType().

void DIESectionOffset::print ( std::ostream &  O  )  [virtual]

Implements llvm::DIEValue.

Definition at line 381 of file DIE.cpp.


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