struct MCDwarfFile

Declaration

struct MCDwarfFile { /* full declaration omitted */ };

Description

Instances of this class represent the name of the dwarf .file directive and its associated dwarf file number in the MC file. MCDwarfFile's are created and uniqued by the MCContext class. In Dwarf 4 file numbers start from 1; i.e. the entry with file number 1 is the first element in the vector of DwarfFiles and there is no MCDwarfFile with file number 0. In Dwarf 5 file numbers start from 0, with the MCDwarfFile with file number 0 being the primary source file, and file numbers correspond to their index in the vector.

Declared at: llvm/include/llvm/MC/MCDwarf.h:83

Member Variables

public std::string Name
public unsigned int DirIndex = 0
public Optional<MD5::MD5Result> Checksum
The MD5 checksum, if there is one. Non-owning pointer to data allocated in MCContext.
public Optional<llvm::StringRef> Source
The source code of the file. Non-owning reference to data allocated in MCContext.