LLVM  10.0.0svn
llvm::MCDwarfFile Struct Reference

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"

Collaboration diagram for llvm::MCDwarfFile:
[legend]

## Public Attributes

std::string Name

unsigned DirIndex

Optional< MD5::MD5ResultChecksum
The MD5 checksum, if there is one. More...

Optional< StringRefSource
The source code of the file. More...

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

Definition at line 52 of file MCDwarf.h.

## ◆ Checksum

 Optional llvm::MCDwarfFile::Checksum

The MD5 checksum, if there is one.

Non-owning pointer to data allocated in MCContext.

Definition at line 61 of file MCDwarf.h.

## ◆ DirIndex

 unsigned llvm::MCDwarfFile::DirIndex

Definition at line 57 of file MCDwarf.h.

## ◆ Name

 std::string llvm::MCDwarfFile::Name

## ◆ Source

 Optional llvm::MCDwarfFile::Source

The source code of the file.

Non-owning reference to data allocated in MCContext.

Definition at line 65 of file MCDwarf.h.

The documentation for this struct was generated from the following file: