LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
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)
 
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 233 of file MCDwarf.h.

Member Typedef Documentation

◆ const_iterator

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

Definition at line 246 of file MCDwarf.h.

◆ iterator

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

Definition at line 245 of file MCDwarf.h.

◆ MCDwarfLineEntryCollection

Definition at line 244 of file MCDwarf.h.

◆ MCLineDivisionMap

Definition at line 247 of file MCDwarf.h.

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

Referenced by llvm::MCDwarfLineTable::emitCU().


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