LLVM API Documentation
#include <DIE.h>
Public Member Functions | |
DIELocList (size_t I) | |
size_t | getValue () const |
getValue - Grab the current index out. | |
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 *E) |
DIELocList - Represents a pointer to a location list in the debug_loc section.
llvm::DIELocList::DIELocList | ( | size_t | I | ) | [inline] |
static bool llvm::DIELocList::classof | ( | const DIEValue * | E | ) | [inline, static] |
Definition at line 578 of file DIE.h.
References llvm::DIEValue::getType(), and llvm::DIEValue::isLocList.
void DIELocList::EmitValue | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [override, virtual] |
EmitValue - Emit location data.
EmitValue - Emit label value.
Implements llvm::DIEValue.
Definition at line 552 of file DIE.cpp.
References llvm::MCAsmInfo::doesDwarfUseRelocationsAcrossSections(), llvm::AsmPrinter::EmitLabelDifference(), llvm::AsmPrinter::EmitSectionOffset(), llvm::DwarfDebug::getDebugLocEntries(), llvm::DwarfDebug::getDebugLocSym(), llvm::AsmPrinter::getDwarfDebug(), llvm::AsmPrinter::MAI, and llvm::DwarfDebug::useSplitDwarf().
size_t llvm::DIELocList::getValue | ( | ) | const [inline] |
void DIELocList::print | ( | raw_ostream & | O | ) | const [override, virtual] |
Implements llvm::DIEValue.
unsigned DIELocList::SizeOf | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [override, virtual] |
SizeOf - Determine size of location data in bytes.
Implements llvm::DIEValue.
Definition at line 542 of file DIE.cpp.
References llvm::dwarf::DW_FORM_data4, llvm::dwarf::DW_FORM_sec_offset, llvm::AsmPrinter::getDataLayout(), and llvm::DataLayout::getPointerSize().