LLVM API Documentation
#include <DIE.h>
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) |
llvm::DIEDelta::DIEDelta | ( | const MCSymbol * | Hi, |
const MCSymbol * | Lo | ||
) | [inline] |
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().