LLVM API Documentation
#include <MCDwarf.h>
Public Member Functions | |
void | EmitCU (MCObjectStreamer *MCOS) const |
unsigned | getFile (StringRef &Directory, StringRef &FileName, unsigned FileNumber=0) |
MCSymbol * | getLabel () const |
void | setLabel (MCSymbol *Label) |
void | setCompilationDir (StringRef CompilationDir) |
const SmallVectorImpl < std::string > & | getMCDwarfDirs () const |
SmallVectorImpl< std::string > & | getMCDwarfDirs () |
const SmallVectorImpl < MCDwarfFile > & | getMCDwarfFiles () const |
SmallVectorImpl< MCDwarfFile > & | getMCDwarfFiles () |
const MCLineSection & | getMCLineSections () const |
MCLineSection & | getMCLineSections () |
Static Public Member Functions | |
static void | Emit (MCObjectStreamer *MCOS) |
void MCDwarfLineTable::Emit | ( | MCObjectStreamer * | MCOS | ) | [static] |
Definition at line 209 of file MCDwarf.cpp.
References llvm::MCStreamer::getContext(), llvm::MCObjectFileInfo::getDwarfLineSection(), llvm::MCContext::getMCDwarfLineTables(), llvm::MCContext::getObjectFileInfo(), and llvm::MCStreamer::SwitchSection().
Referenced by EmitCU(), and llvm::MCObjectStreamer::FinishImpl().
void MCDwarfLineTable::EmitCU | ( | MCObjectStreamer * | MCOS | ) | const |
Definition at line 340 of file MCDwarf.cpp.
References llvm::MCDwarfLineTableHeader::Emit(), Emit(), EmitDwarfLineTable(), llvm::MCObjectStreamer::EmitLabel(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::empty(), llvm::MCContext::getAsmInfo(), llvm::MCStreamer::getContext(), llvm::MCAsmInfo::getLinkerRequiresNonEmptyDwarfLines(), llvm::MCLineSection::getMCLineEntries(), and INT64_MAX.
unsigned MCDwarfLineTable::getFile | ( | StringRef & | Directory, |
StringRef & | FileName, | ||
unsigned | FileNumber = 0 |
||
) |
Definition at line 364 of file MCDwarf.cpp.
References llvm::MCDwarfLineTableHeader::getFile().
Referenced by llvm::MCContext::GetDwarfFile().
MCSymbol* llvm::MCDwarfLineTable::getLabel | ( | ) | const [inline] |
Definition at line 222 of file MCDwarf.h.
References llvm::MCDwarfLineTableHeader::Label.
Referenced by llvm::MCStreamer::getDwarfLineTableSymbol().
const SmallVectorImpl<std::string>& llvm::MCDwarfLineTable::getMCDwarfDirs | ( | ) | const [inline] |
Definition at line 234 of file MCDwarf.h.
References llvm::MCDwarfLineTableHeader::MCDwarfDirs.
Referenced by llvm::MCContext::getMCDwarfDirs().
SmallVectorImpl<std::string>& llvm::MCDwarfLineTable::getMCDwarfDirs | ( | ) | [inline] |
Definition at line 238 of file MCDwarf.h.
References llvm::MCDwarfLineTableHeader::MCDwarfDirs.
const SmallVectorImpl<MCDwarfFile>& llvm::MCDwarfLineTable::getMCDwarfFiles | ( | ) | const [inline] |
Definition at line 242 of file MCDwarf.h.
References llvm::MCDwarfLineTableHeader::MCDwarfFiles.
Referenced by llvm::MCContext::getMCDwarfFiles().
SmallVectorImpl<MCDwarfFile>& llvm::MCDwarfLineTable::getMCDwarfFiles | ( | ) | [inline] |
Definition at line 246 of file MCDwarf.h.
References llvm::MCDwarfLineTableHeader::MCDwarfFiles.
const MCLineSection& llvm::MCDwarfLineTable::getMCLineSections | ( | ) | const [inline] |
MCLineSection& llvm::MCDwarfLineTable::getMCLineSections | ( | ) | [inline] |
void llvm::MCDwarfLineTable::setCompilationDir | ( | StringRef | CompilationDir | ) | [inline] |
Definition at line 230 of file MCDwarf.h.
References llvm::MCDwarfLineTableHeader::CompilationDir.
Referenced by llvm::MCContext::setMCLineTableCompilationDir().
void llvm::MCDwarfLineTable::setLabel | ( | MCSymbol * | Label | ) | [inline] |
Definition at line 226 of file MCDwarf.h.
References llvm::MCDwarfLineTableHeader::Label.
Referenced by llvm::MCStreamer::getDwarfLineTableSymbol().