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,constMCDwarfLoc loc,MCSymbol *lineStreamLabel=nullptr,SMLoc streamLabelDefLoc={}) | |
MCSymbol * | getLabel ()const |
void | setEndLabel (MCSymbol *EndLabel) |
![]() | |
unsigned | getFileNum ()const |
Get the FileNum of thisMCDwarfLoc. | |
unsigned | getLine ()const |
Get the Line of thisMCDwarfLoc. | |
unsigned | getColumn ()const |
Get the Column of thisMCDwarfLoc. | |
unsigned | getFlags ()const |
Get the Flags of thisMCDwarfLoc. | |
unsigned | getIsa ()const |
Get the Isa of thisMCDwarfLoc. | |
unsigned | getDiscriminator ()const |
Get the Discriminator of thisMCDwarfLoc. | |
void | setFileNum (unsigned fileNum) |
Set the FileNum of thisMCDwarfLoc. | |
void | setLine (unsigned line) |
Set the Line of thisMCDwarfLoc. | |
void | setColumn (unsigned column) |
Set the Column of thisMCDwarfLoc. | |
void | setFlags (unsigned flags) |
Set the Flags of thisMCDwarfLoc. | |
void | setIsa (unsignedisa) |
Set the Isa of thisMCDwarfLoc. | |
void | setDiscriminator (unsigned discriminator) |
Set the Discriminator of thisMCDwarfLoc. | |
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 |
| static |
Definition at line91 of fileMCDwarf.cpp.
Referencesllvm::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(), andllvm::MCDwarfLineTable::getMCLineSections().
Referenced byllvm::DwarfDebug::beginCodeAlignment(),llvm::MCObjectStreamer::emitBytes(),llvm::MCObjectStreamer::emitDwarfLocDirective(), andllvm::MCObjectStreamer::emitValueImpl().
| inline |
Definition at line218 of fileMCDwarf.h.
ReferencesIsEndEntry.
bool llvm::MCDwarfLineEntry::IsEndEntry = false |
Definition at line215 of fileMCDwarf.h.
Referenced bysetEndLabel().