llvm::MCLineSection

Holds per-section DWARF line entries for a compile unit.

Synopsis

Declared in <llvm/MC/MCDwarf.h>

class MCLineSection;

Description

Instances of this class represent the line information for a compile unit where machine instructions have been assembled after seeing .loc directives. This is the information used to build the dwarf line table for a section.

Type Aliases

NameDescription
MCDwarfLineEntryCollection Collection type for DWARF line entries in one section.
MCLineDivisionMap Per-section collections of DWARF line entries, in section order.
const_iterator Const iterator over DWARF line entries in one section.
iterator Iterator over DWARF line entries in one section.

Member Functions

NameDescription
addEndEntry Add an end-of-sequence entry cloned from the last entry for EndLabel's section.
addLineEntry Add a line entry for Sec to this section's collections.
getMCLineEntries Return the per-section map of DWARF line entries.