Represents one DWARF line‐table entry for an assembled instruction.

Synopsis

Declared in <llvm/MC/MCDwarf.h>

class MCDwarfLineEntry
    : public MCDwarfLoc

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.

Base Classes

Name

Description

MCDwarfLoc

Instances of this class represent the information from a dwarf .loc directive.

Member Functions

Name

Description

MCDwarfLineEntry [constructor]

Construct a line entry from a symbol and DWARF location.

getColumn

Get the Column of this MCDwarfLoc.

getDiscriminator

Get the Discriminator of this MCDwarfLoc.

getFileNum

Get the FileNum of this MCDwarfLoc.

getFlags

Get the Flags of this MCDwarfLoc.

getIsa

Get the Isa of this MCDwarfLoc.

getLabel

Return the temporary label for this line entry's address.

getLine

Get the Line of this MCDwarfLoc.

setColumn

Set the Column of this MCDwarfLoc.

setDiscriminator

Set the Discriminator of this MCDwarfLoc.

setEndLabel

Override the label with EndLabel and mark this as an end‐of‐sequence entry.

setFileNum

Set the FileNum of this MCDwarfLoc.

setFlags

Set the Flags of this MCDwarfLoc.

setIsa

Set the Isa of this MCDwarfLoc.

setLine

Set the Line of this MCDwarfLoc.

Static Member Functions

Name

Description

make

Create a line entry if pending .loc info has not yet been recorded.

Data Members

Name

Description

IsEndEntry

True when this line entry is synthesized as an end‐of‐sequence entry.

LineStreamLabel

Label to emit into the line stream, restarting the current sequence if set.

StreamLabelDefLoc

Location where LineStreamLabel was defined, for error reporting.

Created with MrDocs