LLVM 22.0.0git
llvm::MCLineSection Class Reference

Instances of this class represent the line information for a compile unit where machine instructions have been assembled after seeing .loc directives. More...

#include "llvm/MC/MCDwarf.h"

Public Types

using MCDwarfLineEntryCollection = std::vector<MCDwarfLineEntry>
using iterator = MCDwarfLineEntryCollection::iterator
using const_iterator = MCDwarfLineEntryCollection::const_iterator
using MCLineDivisionMap = MapVector<MCSection *, MCDwarfLineEntryCollection>

Public Member Functions

void addLineEntry (const MCDwarfLineEntry &LineEntry, MCSection *Sec)
LLVM_ABI void addEndEntry (MCSymbol *EndLabel)
const MCLineDivisionMapgetMCLineEntries () const

Detailed 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.

Definition at line 237 of file MCDwarf.h.

Member Typedef Documentation

◆ const_iterator

using llvm::MCLineSection::const_iterator = MCDwarfLineEntryCollection::const_iterator

Definition at line 250 of file MCDwarf.h.

◆ iterator

using llvm::MCLineSection::iterator = MCDwarfLineEntryCollection::iterator

Definition at line 249 of file MCDwarf.h.

◆ MCDwarfLineEntryCollection

Definition at line 248 of file MCDwarf.h.

◆ MCLineDivisionMap

Member Function Documentation

◆ addEndEntry()

void MCLineSection::addEndEntry ( MCSymbol * EndLabel)

◆ addLineEntry()

void llvm::MCLineSection::addLineEntry ( const MCDwarfLineEntry & LineEntry,
MCSection * Sec )
inline

◆ getMCLineEntries()

const MCLineDivisionMap & llvm::MCLineSection::getMCLineEntries ( ) const
inline

Definition at line 259 of file MCDwarf.h.


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