LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::MCDwarfLineTable Class Reference

#include "llvm/MC/MCDwarf.h"

Public Member Functions

void emitCU (MCStreamer *MCOS, MCDwarfLineTableParams Params, Optional< MCDwarfLineStr > &LineStr) const
 
Expected< unsigned > tryGetFile (StringRef &Directory, StringRef &FileName, Optional< MD5::MD5Result > Checksum, Optional< StringRef > Source, uint16_t DwarfVersion, unsigned FileNumber=0)
 
unsigned getFile (StringRef &Directory, StringRef &FileName, Optional< MD5::MD5Result > Checksum, Optional< StringRef > Source, uint16_t DwarfVersion, unsigned FileNumber=0)
 
void setRootFile (StringRef Directory, StringRef FileName, Optional< MD5::MD5Result > Checksum, Optional< StringRef > Source)
 
void resetFileTable ()
 
bool hasRootFile () const
 
const MCDwarfFilegetRootFile () const
 
bool isMD5UsageConsistent () const
 
MCSymbolgetLabel () const
 
void setLabel (MCSymbol *Label)
 
const SmallVectorImpl< std::string > & getMCDwarfDirs () const
 
SmallVectorImpl< std::string > & getMCDwarfDirs ()
 
const SmallVectorImpl< MCDwarfFile > & getMCDwarfFiles () const
 
SmallVectorImpl< MCDwarfFile > & getMCDwarfFiles ()
 
const MCLineSectiongetMCLineSections () const
 
MCLineSectiongetMCLineSections ()
 

Static Public Member Functions

static void emit (MCStreamer *MCOS, MCDwarfLineTableParams Params)
 

Detailed Description

Definition at line 308 of file MCDwarf.h.

Member Function Documentation

◆ emit()

void MCDwarfLineTable::emit ( MCStreamer MCOS,
MCDwarfLineTableParams  Params 
)
static

◆ emitCU()

void MCDwarfLineTable::emitCU ( MCStreamer MCOS,
MCDwarfLineTableParams  Params,
Optional< MCDwarfLineStr > &  LineStr 
) const

◆ getFile()

unsigned llvm::MCDwarfLineTable::getFile ( StringRef Directory,
StringRef FileName,
Optional< MD5::MD5Result Checksum,
Optional< StringRef Source,
uint16_t  DwarfVersion,
unsigned  FileNumber = 0 
)
inline

Definition at line 325 of file MCDwarf.h.

References llvm::cantFail(), llvm::Sched::Source, and tryGetFile().

◆ getLabel()

MCSymbol* llvm::MCDwarfLineTable::getLabel ( ) const
inline

Definition at line 352 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::Label.

Referenced by llvm::MCStreamer::getDwarfLineTableSymbol().

◆ getMCDwarfDirs() [1/2]

SmallVectorImpl<std::string>& llvm::MCDwarfLineTable::getMCDwarfDirs ( )
inline

Definition at line 364 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::MCDwarfDirs.

◆ getMCDwarfDirs() [2/2]

const SmallVectorImpl<std::string>& llvm::MCDwarfLineTable::getMCDwarfDirs ( ) const
inline

Definition at line 360 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::MCDwarfDirs.

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

◆ getMCDwarfFiles() [1/2]

SmallVectorImpl<MCDwarfFile>& llvm::MCDwarfLineTable::getMCDwarfFiles ( )
inline

Definition at line 372 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::MCDwarfFiles.

◆ getMCDwarfFiles() [2/2]

const SmallVectorImpl<MCDwarfFile>& llvm::MCDwarfLineTable::getMCDwarfFiles ( ) const
inline

◆ getMCLineSections() [1/2]

MCLineSection& llvm::MCDwarfLineTable::getMCLineSections ( )
inline

Definition at line 379 of file MCDwarf.h.

◆ getMCLineSections() [2/2]

const MCLineSection& llvm::MCDwarfLineTable::getMCLineSections ( ) const
inline

Definition at line 376 of file MCDwarf.h.

Referenced by llvm::MCDwarfLineEntry::make().

◆ getRootFile()

const MCDwarfFile& llvm::MCDwarfLineTable::getRootFile ( ) const
inline

Definition at line 347 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::RootFile.

◆ hasRootFile()

bool llvm::MCDwarfLineTable::hasRootFile ( ) const
inline

Definition at line 345 of file MCDwarf.h.

References llvm::MCDwarfFile::Name, and llvm::MCDwarfLineTableHeader::RootFile.

◆ isMD5UsageConsistent()

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

◆ resetFileTable()

void llvm::MCDwarfLineTable::resetFileTable ( )
inline

Definition at line 343 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::resetFileTable().

◆ setLabel()

void llvm::MCDwarfLineTable::setLabel ( MCSymbol Label)
inline

Definition at line 356 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::Label.

Referenced by llvm::MCStreamer::getDwarfLineTableSymbol().

◆ setRootFile()

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

◆ tryGetFile()

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

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