LLVM API Documentation
#include <MCDwarf.h>
Public Member Functions | |
MCLineEntry (MCSymbol *label, const MCDwarfLoc loc) | |
MCSymbol * | getLabel () const |
![]() | |
unsigned | getFileNum () const |
getFileNum - Get the FileNum of this MCDwarfLoc. More... | |
unsigned | getLine () const |
getLine - Get the Line of this MCDwarfLoc. More... | |
unsigned | getColumn () const |
getColumn - Get the Column of this MCDwarfLoc. More... | |
unsigned | getFlags () const |
getFlags - Get the Flags of this MCDwarfLoc. More... | |
unsigned | getIsa () const |
getIsa - Get the Isa of this MCDwarfLoc. More... | |
unsigned | getDiscriminator () const |
getDiscriminator - Get the Discriminator of this MCDwarfLoc. More... | |
void | setFileNum (unsigned fileNum) |
setFileNum - Set the FileNum of this MCDwarfLoc. More... | |
void | setLine (unsigned line) |
setLine - Set the Line of this MCDwarfLoc. More... | |
void | setColumn (unsigned column) |
setColumn - Set the Column of this MCDwarfLoc. More... | |
void | setFlags (unsigned flags) |
setFlags - Set the Flags of this MCDwarfLoc. More... | |
void | setIsa (unsigned isa) |
setIsa - Set the Isa of this MCDwarfLoc. More... | |
void | setDiscriminator (unsigned discriminator) |
setDiscriminator - Set the Discriminator of this MCDwarfLoc. More... | |
Static Public Member Functions | |
static void | Make (MCStreamer *MCOS, const MCSection *Section) |
MCLineEntry - Instances of this class represent the line information for the dwarf line table entries. Which is created after a machine instruction is assembled and uses an address from a temporary label created at the current address in the current section and the info from the last .loc directive seen as stored in the context.
|
inline |
|
static |
Definition at line 65 of file MCDwarf.cpp.
References llvm::MCLineSection::addLineEntry(), llvm::MCContext::addMCLineSection(), llvm::MCContext::ClearDwarfLocSeen(), llvm::MCContext::CreateTempSymbol(), llvm::MCStreamer::EmitLabel(), llvm::MCStreamer::getContext(), llvm::MCContext::getCurrentDwarfLoc(), llvm::MCContext::getDwarfCompileUnitID(), llvm::MCContext::getDwarfLocSeen(), llvm::MCContext::getMCLineSections(), and llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT >, KeyT, ValueT, KeyInfoT >::lookup().
Referenced by llvm::MCObjectStreamer::EmitBytes(), llvm::MCObjectStreamer::EmitDwarfLocDirective(), llvm::AsmPrinter::EmitFunctionBody(), llvm::MCObjectStreamer::EmitInstruction(), and llvm::MCObjectStreamer::EmitValueImpl().