LLVM  8.0.1
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, MD5::MD5Result *Checksum, Optional< StringRef > &Source, 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
 

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 211 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 245 of file MCDwarf.h.

References llvm::SmallVectorBase::empty().

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

◆ resetMD5Usage()

void llvm::MCDwarfLineTableHeader::resetMD5Usage ( )
inline

Definition at line 237 of file MCDwarf.h.

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

◆ trackMD5Usage()

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

◆ tryGetFile()

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

Member Data Documentation

◆ CompilationDir

std::string llvm::MCDwarfLineTableHeader::CompilationDir

◆ HasSource

bool llvm::MCDwarfLineTableHeader::HasSource = false

◆ Label

MCSymbol* llvm::MCDwarfLineTableHeader::Label = nullptr

◆ MCDwarfDirs

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

Definition at line 213 of file MCDwarf.h.

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

◆ MCDwarfFiles

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

◆ RootFile

MCDwarfFile llvm::MCDwarfLineTableHeader::RootFile

◆ SourceIdMap

StringMap<unsigned> llvm::MCDwarfLineTableHeader::SourceIdMap

Definition at line 215 of file MCDwarf.h.


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