LLVM API Documentation
#include <DIE.h>
Public Member Functions | |
DIEEntry (DIE &E) | |
DIE & | getEntry () const |
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 unsigned | getRefAddrSize (AsmPrinter *AP) |
Returns size of a ref_addr entry. | |
static bool | classof (const DIEValue *E) |
DIEEntry - A pointer to another debug information entry. An instance of this class can also be used as a proxy for a debug information entry not yet defined (ie. types.)
llvm::DIEEntry::DIEEntry | ( | DIE & | E | ) | [inline, explicit] |
static bool llvm::DIEEntry::classof | ( | const DIEValue * | E | ) | [inline, static] |
Definition at line 437 of file DIE.h.
References llvm::DIEValue::getType(), and llvm::DIEValue::isEntry.
void DIEEntry::EmitValue | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [override, virtual] |
EmitValue - Emit debug information entry offset.
Implements llvm::DIEValue.
Definition at line 375 of file DIE.cpp.
References llvm::MCAsmInfo::doesDwarfUseRelocationsAcrossSections(), llvm::dwarf::DW_FORM_ref_addr, llvm::AsmPrinter::EmitInt32(), llvm::AsmPrinter::EmitLabelOffsetDifference(), llvm::AsmPrinter::EmitLabelPlusOffset(), llvm::AsmPrinter::getDwarfDebug(), llvm::DIE::getOffset(), getRefAddrSize(), llvm::DIE::getUnit(), llvm::DwarfDebug::lookupUnit(), llvm::AsmPrinter::MAI, and llvm::DwarfDebug::useSplitDwarf().
DIE& llvm::DIEEntry::getEntry | ( | ) | const [inline] |
Definition at line 420 of file DIE.h.
Referenced by llvm::DwarfUnit::addDIEEntry().
unsigned DIEEntry::getRefAddrSize | ( | AsmPrinter * | AP | ) | [static] |
Returns size of a ref_addr entry.
Definition at line 398 of file DIE.cpp.
References llvm::AsmPrinter::getDataLayout(), llvm::AsmPrinter::getDwarfDebug(), llvm::DwarfDebug::getDwarfVersion(), and llvm::DataLayout::getPointerSize().
Referenced by EmitValue(), and SizeOf().
void DIEEntry::print | ( | raw_ostream & | O | ) | const [override, virtual] |
unsigned llvm::DIEEntry::SizeOf | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [inline, override, virtual] |
SizeOf - Determine size of debug information entry in bytes.
Implements llvm::DIEValue.
Definition at line 428 of file DIE.h.
References llvm::dwarf::DW_FORM_ref_addr, and getRefAddrSize().