LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DIEDelta Class Reference

#include <DIE.h>

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

List of all members.

Public Member Functions

 DIEDelta (const MCSymbol *Hi, const MCSymbol *Lo)
void EmitValue (AsmPrinter *AP, dwarf::Form Form) const override
unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const override
void print (raw_ostream &O) const override

Static Public Member Functions

static bool classof (const DIEValue *D)

Detailed Description

DIEDelta - A simple label difference DIE.

Definition at line 355 of file DIE.h.


Constructor & Destructor Documentation

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

Definition at line 360 of file DIE.h.


Member Function Documentation

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

Definition at line 372 of file DIE.h.

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

void DIEDelta::EmitValue ( AsmPrinter AP,
dwarf::Form  Form 
) const [override, virtual]

EmitValue - Emit delta value.

Implements llvm::DIEValue.

Definition at line 327 of file DIE.cpp.

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

void DIEDelta::print ( raw_ostream O) const [override, virtual]

Implements llvm::DIEValue.

Definition at line 341 of file DIE.cpp.

References llvm::MCSymbol::getName().

unsigned DIEDelta::SizeOf ( AsmPrinter AP,
dwarf::Form  Form 
) const [override, virtual]

SizeOf - Determine size of delta value in bytes.

Implements llvm::DIEValue.

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