LLVM
15.0.0git
|
Instances of this class represent the name of the dwarf .file directive and its associated dwarf file number in the MC file. More...
#include "llvm/MC/MCDwarf.h"
Public Attributes | |
std::string | Name |
unsigned | DirIndex = 0 |
Optional< MD5::MD5Result > | Checksum |
The MD5 checksum, if there is one. More... | |
Optional< StringRef > | Source |
The source code of the file. More... | |
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.
Optional<MD5::MD5Result> llvm::MCDwarfFile::Checksum |
The MD5 checksum, if there is one.
Non-owning pointer to data allocated in MCContext.
Definition at line 87 of file MCDwarf.h.
Referenced by isRootFile(), llvm::MCDwarfLineTableHeader::setRootFile(), and llvm::MCDwarfLineTable::setRootFile().
unsigned llvm::MCDwarfFile::DirIndex = 0 |
Definition at line 83 of file MCDwarf.h.
Referenced by llvm::MCDwarfLineTableHeader::setRootFile(), and llvm::MCDwarfLineTable::setRootFile().
std::string llvm::MCDwarfFile::Name |
Definition at line 80 of file MCDwarf.h.
Referenced by llvm::MCDwarfLineTable::hasRootFile(), isRootFile(), llvm::MCDwarfDwoLineTable::maybeSetRootFile(), llvm::MCDwarfLineTableHeader::resetFileTable(), llvm::MCDwarfLineTableHeader::setRootFile(), and llvm::MCDwarfLineTable::setRootFile().
The source code of the file.
Non-owning reference to data allocated in MCContext.
Definition at line 91 of file MCDwarf.h.
Referenced by llvm::MCDwarfLineTableHeader::setRootFile(), and llvm::MCDwarfLineTable::setRootFile().