Header metadata for a DWARF line table (directories, files, and root file).

Synopsis

Declared in <llvm/MC/MCDwarf.h>

struct MCDwarfLineTableHeader;

Member Functions

Name

Description

MCDwarfLineTableHeader [constructor]

Construct an empty DWARF line table header.

Emit

Emit overloads

isMD5UsageConsistent

Return true if MD5 usage is consistent (all‐or‐none) across file entries.

resetFileTable

Clear the DWARF file and directory tables and reset root‐file metadata.

resetMD5Usage

Reset MD5 usage tracking to the empty‐table state.

setRootFile

Set the compilation root file used as file index 0 in the DWARF line table.

trackMD5Usage

Record whether the latest file entry provided an MD5 checksum.

tryGetFile

Look up or allocate a DWARF file number for FileName under Directory.

Data Members

Name

Description

CompilationDir

Compilation directory string for this line table.

HasAnySource

True if any file entry recorded embedded source text.

Label

Symbol marking the start of this line table.

MCDwarfDirs

Directory names referenced by file entries.

MCDwarfFiles

File entries in DWARF file‐number order.

RootFile

Primary source file used as file index 0 (DWARF 5) / root file.

SourceIdMap

Map from source path identity to allocated file number.

Created with MrDocs