LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::MCDwarfLineEntry Class Reference

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

#include "llvm/MC/MCDwarf.h"

Inheritance diagram for llvm::MCDwarfLineEntry:
Inheritance graph
[legend]

Public Member Functions

 MCDwarfLineEntry (MCSymbol *label, const MCDwarfLoc loc, MCSymbol *lineStreamLabel=nullptr, SMLoc streamLabelDefLoc={})
 
MCSymbolgetLabel () 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

MCSymbolLineStreamLabel
 
SMLoc StreamLabelDefLoc
 
bool IsEndEntry = false
 

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 188 of file MCDwarf.h.

Constructor & Destructor Documentation

◆ MCDwarfLineEntry()

llvm::MCDwarfLineEntry::MCDwarfLineEntry ( MCSymbol label,
const MCDwarfLoc  loc,
MCSymbol lineStreamLabel = nullptr,
SMLoc  streamLabelDefLoc = {} 
)
inline

Definition at line 197 of file MCDwarf.h.

Member Function Documentation

◆ getLabel()

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

Definition at line 203 of file MCDwarf.h.

◆ make()

void MCDwarfLineEntry::make ( MCStreamer MCOS,
MCSection Section 
)
static

◆ setEndLabel()

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

Definition at line 218 of file MCDwarf.h.

References IsEndEntry.

Member Data Documentation

◆ IsEndEntry

bool llvm::MCDwarfLineEntry::IsEndEntry = false

Definition at line 215 of file MCDwarf.h.

Referenced by setEndLabel().

◆ LineStreamLabel

MCSymbol* llvm::MCDwarfLineEntry::LineStreamLabel

Definition at line 208 of file MCDwarf.h.

◆ StreamLabelDefLoc

SMLoc llvm::MCDwarfLineEntry::StreamLabelDefLoc

Definition at line 212 of file MCDwarf.h.


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