LLVM  8.0.1
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 (MCObjectStreamer *MCOS, MCDwarfLineTableParams Params, Optional< MCDwarfLineStr > &LineStr) const
 
Expected< unsignedtryGetFile (StringRef &Directory, StringRef &FileName, MD5::MD5Result *Checksum, Optional< StringRef > Source, unsigned FileNumber=0)
 
unsigned getFile (StringRef &Directory, StringRef &FileName, MD5::MD5Result *Checksum, Optional< StringRef > &Source, unsigned FileNumber=0)
 
void setRootFile (StringRef Directory, StringRef FileName, MD5::MD5Result *Checksum, Optional< StringRef > Source)
 
void resetRootFile ()
 
bool hasRootFile () 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 (MCObjectStreamer *MCOS, MCDwarfLineTableParams Params)
 

Detailed Description

Definition at line 281 of file MCDwarf.h.

Member Function Documentation

◆ Emit()

void MCDwarfLineTable::Emit ( MCObjectStreamer MCOS,
MCDwarfLineTableParams  Params 
)
static

◆ EmitCU()

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

Definition at line 520 of file MCDwarf.cpp.

References EmitDwarfLineTable(), and llvm::MCObjectStreamer::EmitLabel().

◆ getFile()

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

Definition at line 297 of file MCDwarf.h.

References llvm::cantFail().

◆ getLabel()

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

Definition at line 327 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::Label.

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

◆ getMCDwarfDirs() [1/2]

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

Definition at line 335 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::MCDwarfDirs.

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

◆ getMCDwarfDirs() [2/2]

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

Definition at line 339 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::MCDwarfDirs.

◆ getMCDwarfFiles() [1/2]

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

◆ getMCDwarfFiles() [2/2]

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

Definition at line 347 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::MCDwarfFiles.

◆ getMCLineSections() [1/2]

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

Definition at line 351 of file MCDwarf.h.

◆ getMCLineSections() [2/2]

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

Definition at line 354 of file MCDwarf.h.

◆ hasRootFile()

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

◆ isMD5UsageConsistent()

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

◆ resetRootFile()

void llvm::MCDwarfLineTable::resetRootFile ( )
inline

◆ setLabel()

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

Definition at line 331 of file MCDwarf.h.

References llvm::MCDwarfLineTableHeader::Label.

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

◆ setRootFile()

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

◆ tryGetFile()

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

Definition at line 534 of file MCDwarf.cpp.

Referenced by llvm::MCContext::getDwarfFile(), and printDwarfFileDirective().


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