LLVM 20.0.0git
|
Instances of this class represent the line information for the dwarf line table entries. More...
#include "llvm/MC/MCDwarf.h"
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. | |
Static Public Member Functions | |
static void | make (MCStreamer *MCOS, MCSection *Section) |
Public Attributes | |
MCSymbol * | LineStreamLabel |
SMLoc | StreamLabelDefLoc |
bool | IsEndEntry = false |
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.
|
inline |
|
inline |
|
static |
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(), and llvm::MCDwarfLineTable::getMCLineSections().
Referenced by llvm::DwarfDebug::beginCodeAlignment(), llvm::MCObjectStreamer::emitBytes(), llvm::MCObjectStreamer::emitDwarfLocDirective(), and llvm::MCObjectStreamer::emitValueImpl().
|
inline |
Definition at line 218 of file MCDwarf.h.
References IsEndEntry.
bool llvm::MCDwarfLineEntry::IsEndEntry = false |
Definition at line 215 of file MCDwarf.h.
Referenced by setEndLabel().