LLVM: llvm::MCDwarfLineEntry Class Reference (original) (raw)

Instances of this class represent the line information for the dwarf line table entries. More...

#include "[llvm/MC/MCDwarf.h](MCDwarf%5F8h%5Fsource.html)"

Inheritance diagram for llvm::MCDwarfLineEntry:

Public Member Functions
MCDwarfLineEntry (MCSymbol *label, const MCDwarfLoc loc, MCSymbol *lineStreamLabel=nullptr, SMLoc streamLabelDefLoc={})
MCSymbol * getLabel () const
void setEndLabel (MCSymbol *EndLabel)
Public Member Functions inherited from llvm::MCDwarfLoc
unsigned getFileNum () const
Get the FileNum of this MCDwarfLoc.
unsigned getLine () const
Get the Line of this MCDwarfLoc.
unsigned getColumn () const
Get the Column of this MCDwarfLoc.
unsigned getFlags () const
Get the Flags of this MCDwarfLoc.
unsigned getIsa () const
Get the Isa of this MCDwarfLoc.
unsigned getDiscriminator () const
Get the Discriminator of this MCDwarfLoc.
void setFileNum (unsigned fileNum)
Set the FileNum of this MCDwarfLoc.
void setLine (unsigned line)
Set the Line of this MCDwarfLoc.
void setColumn (unsigned column)
Set the Column of this MCDwarfLoc.
void setFlags (unsigned flags)
Set the Flags of this MCDwarfLoc.
void setIsa (unsigned isa)
Set the Isa of this MCDwarfLoc.
void setDiscriminator (unsigned discriminator)
Set the Discriminator of this MCDwarfLoc.

Detailed Description

Instances of this class represent the line information for the dwarf line table entries.

Which is created after a machine instruction is assembled and uses an address from a temporary label created at the current address in the current section and the info from the last .loc directive seen as stored in the context.

Definition at line 189 of file MCDwarf.h.

Constructor & Destructor Documentation

Member Function Documentation

getLabel()

MCSymbol * llvm::MCDwarfLineEntry::getLabel ( ) const inline

make()

Definition at line 91 of file MCDwarf.cpp.

References llvm::MCLineSection::addLineEntry(), llvm::MCContext::clearDwarfLocSeen(), llvm::MCContext::createTempSymbol(), llvm::MCStreamer::emitLabel(), llvm::MCStreamer::getContext(), llvm::MCContext::getCurrentDwarfLoc(), llvm::MCContext::getDwarfCompileUnitID(), llvm::MCContext::getDwarfLocSeen(), llvm::MCContext::getMCDwarfLineTable(), llvm::MCDwarfLineTable::getMCLineSections(), and MCDwarfLineEntry().

Referenced by llvm::DwarfDebug::beginCodeAlignment(), llvm::MCObjectStreamer::emitBytes(), llvm::MCObjectStreamer::emitDwarfLocDirective(), llvm::MCObjectStreamer::emitInstruction(), and llvm::MCObjectStreamer::emitValueImpl().

setEndLabel()

void llvm::MCDwarfLineEntry::setEndLabel ( MCSymbol * EndLabel) inline

Member Data Documentation

IsEndEntry

bool llvm::MCDwarfLineEntry::IsEndEntry = false

LineStreamLabel

MCSymbol* llvm::MCDwarfLineEntry::LineStreamLabel

StreamLabelDefLoc

SMLoc llvm::MCDwarfLineEntry::StreamLabelDefLoc


The documentation for this class was generated from the following files: