LLVM API Documentation
DIELabel - A label DIE. More...
#include <DIE.h>
Public Member Functions | |
DIELabel (const MCSymbol *L) | |
void | EmitValue (AsmPrinter *AP, dwarf::Form Form) const override |
const MCSymbol * | getValue () const |
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 *L) |
llvm::DIELabel::DIELabel | ( | const MCSymbol * | L | ) | [inline, explicit] |
static bool llvm::DIELabel::classof | ( | const DIEValue * | L | ) | [inline, static] |
Definition at line 345 of file DIE.h.
References llvm::DIEValue::getType(), and llvm::DIEValue::isLabel.
void DIELabel::EmitValue | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [override, virtual] |
EmitValue - Emit label value.
Implements llvm::DIEValue.
Definition at line 299 of file DIE.cpp.
References llvm::dwarf::DW_FORM_ref_addr, llvm::dwarf::DW_FORM_sec_offset, llvm::dwarf::DW_FORM_strp, llvm::AsmPrinter::EmitLabelReference(), and SizeOf().
const MCSymbol* llvm::DIELabel::getValue | ( | ) | const [inline] |
void DIELabel::print | ( | raw_ostream & | O | ) | const [override, virtual] |
Implements llvm::DIEValue.
Definition at line 316 of file DIE.cpp.
References llvm::MCSymbol::getName().
unsigned DIELabel::SizeOf | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [override, virtual] |
SizeOf - Determine size of label value in bytes.
Implements llvm::DIEValue.
Definition at line 308 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().