LLVM  10.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::MCDwarfLineTableHeader Struct Reference

#include "llvm/MC/MCDwarf.h"

Collaboration diagram for llvm::MCDwarfLineTableHeader:
Collaboration graph
[legend]

Public Member Functions

 MCDwarfLineTableHeader ()=default
 
Expected< unsignedtryGetFile (StringRef &Directory, StringRef &FileName, Optional< MD5::MD5Result > Checksum, Optional< StringRef > Source, uint16_t DwarfVersion, unsigned FileNumber=0)
 
std::pair< MCSymbol *, MCSymbol * > Emit (MCStreamer *MCOS, MCDwarfLineTableParams Params, Optional< MCDwarfLineStr > &LineStr) const
 
std::pair< MCSymbol *, MCSymbol * > Emit (MCStreamer *MCOS, MCDwarfLineTableParams Params, ArrayRef< char > SpecialOpcodeLengths, Optional< MCDwarfLineStr > &LineStr) const
 
void resetMD5Usage ()
 
void trackMD5Usage (bool MD5Used)
 
bool isMD5UsageConsistent () const
 
void setRootFile (StringRef Directory, StringRef FileName, Optional< MD5::MD5Result > Checksum, Optional< StringRef > Source)
 
void resetFileTable ()
 

Public Attributes

MCSymbolLabel = nullptr
 
SmallVector< std::string, 3 > MCDwarfDirs
 
SmallVector< MCDwarfFile, 3 > MCDwarfFiles
 
StringMap< unsignedSourceIdMap
 
std::string CompilationDir
 
MCDwarfFile RootFile
 
bool HasSource = false
 

Detailed Description

Definition at line 213 of file MCDwarf.h.

Constructor & Destructor Documentation

◆ MCDwarfLineTableHeader()

llvm::MCDwarfLineTableHeader::MCDwarfLineTableHeader ( )
default

Member Function Documentation

◆ Emit() [1/2]

std::pair< MCSymbol *, MCSymbol * > MCDwarfLineTableHeader::Emit ( MCStreamer MCOS,
MCDwarfLineTableParams  Params,
Optional< MCDwarfLineStr > &  LineStr 
) const

◆ Emit() [2/2]

std::pair< MCSymbol *, MCSymbol * > MCDwarfLineTableHeader::Emit ( MCStreamer MCOS,
MCDwarfLineTableParams  Params,
ArrayRef< char SpecialOpcodeLengths,
Optional< MCDwarfLineStr > &  LineStr 
) const

◆ isMD5UsageConsistent()

bool llvm::MCDwarfLineTableHeader::isMD5UsageConsistent ( ) const
inline

Definition at line 248 of file MCDwarf.h.

References llvm::SmallVectorBase::empty().

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

◆ resetFileTable()

void llvm::MCDwarfLineTableHeader::resetFileTable ( )
inline

◆ resetMD5Usage()

void llvm::MCDwarfLineTableHeader::resetMD5Usage ( )
inline

Definition at line 240 of file MCDwarf.h.

◆ setRootFile()

void llvm::MCDwarfLineTableHeader::setRootFile ( StringRef  Directory,
StringRef  FileName,
Optional< MD5::MD5Result Checksum,
Optional< StringRef Source 
)
inline

◆ trackMD5Usage()

void llvm::MCDwarfLineTableHeader::trackMD5Usage ( bool  MD5Used)
inline

Definition at line 244 of file MCDwarf.h.

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

◆ tryGetFile()

Expected< unsigned > MCDwarfLineTableHeader::tryGetFile ( StringRef Directory,
StringRef FileName,
Optional< MD5::MD5Result Checksum,
Optional< StringRef Source,
uint16_t  DwarfVersion,
unsigned  FileNumber = 0 
)

Member Data Documentation

◆ CompilationDir

std::string llvm::MCDwarfLineTableHeader::CompilationDir

Definition at line 218 of file MCDwarf.h.

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

◆ HasSource

bool llvm::MCDwarfLineTableHeader::HasSource = false

Definition at line 220 of file MCDwarf.h.

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

◆ Label

MCSymbol* llvm::MCDwarfLineTableHeader::Label = nullptr

◆ MCDwarfDirs

SmallVector<std::string, 3> llvm::MCDwarfLineTableHeader::MCDwarfDirs

Definition at line 215 of file MCDwarf.h.

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

◆ MCDwarfFiles

SmallVector<MCDwarfFile, 3> llvm::MCDwarfLineTableHeader::MCDwarfFiles

Definition at line 216 of file MCDwarf.h.

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

◆ RootFile

MCDwarfFile llvm::MCDwarfLineTableHeader::RootFile

◆ SourceIdMap

StringMap<unsigned> llvm::MCDwarfLineTableHeader::SourceIdMap

Definition at line 217 of file MCDwarf.h.


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