Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Public Member Functions |Static Public Member Functions |Public Attributes |List of all members
llvm::MCDwarfLineEntry Class Reference

Instances of this class represent the line information for the dwarf line table entries.More...

#include "llvm/MC/MCDwarf.h"

Inheritance diagram for llvm::MCDwarfLineEntry:
Inheritance graph
[legend]

Public Member Functions

 MCDwarfLineEntry (MCSymbol *label,constMCDwarfLoc loc,MCSymbol *lineStreamLabel=nullptr,SMLoc streamLabelDefLoc={})
 
MCSymbolgetLabel ()const
 
void setEndLabel (MCSymbol *EndLabel)
 
- Public Member Functions inherited fromllvm::MCDwarfLoc
unsigned getFileNum ()const
 Get the FileNum of thisMCDwarfLoc.
 
unsigned getLine ()const
 Get the Line of thisMCDwarfLoc.
 
unsigned getColumn ()const
 Get the Column of thisMCDwarfLoc.
 
unsigned getFlags ()const
 Get the Flags of thisMCDwarfLoc.
 
unsigned getIsa ()const
 Get the Isa of thisMCDwarfLoc.
 
unsigned getDiscriminator ()const
 Get the Discriminator of thisMCDwarfLoc.
 
void setFileNum (unsigned fileNum)
 Set the FileNum of thisMCDwarfLoc.
 
void setLine (unsigned line)
 Set the Line of thisMCDwarfLoc.
 
void setColumn (unsigned column)
 Set the Column of thisMCDwarfLoc.
 
void setFlags (unsigned flags)
 Set the Flags of thisMCDwarfLoc.
 
void setIsa (unsignedisa)
 Set the Isa of thisMCDwarfLoc.
 
void setDiscriminator (unsigned discriminator)
 Set the Discriminator of thisMCDwarfLoc.
 

Static Public Member Functions

static void make (MCStreamer *MCOS,MCSection *Section)
 

Public Attributes

MCSymbolLineStreamLabel
 
SMLoc StreamLabelDefLoc
 
bool IsEndEntry = false
 

Detailed Description

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.

Definition at line188 of fileMCDwarf.h.

Constructor & Destructor Documentation

◆ MCDwarfLineEntry()

llvm::MCDwarfLineEntry::MCDwarfLineEntry(MCSymbollabel,
constMCDwarfLoc loc,
MCSymbollineStreamLabel =nullptr,
SMLoc streamLabelDefLoc ={} 
)
inline

Definition at line197 of fileMCDwarf.h.

Member Function Documentation

◆ getLabel()

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

Definition at line203 of fileMCDwarf.h.

◆ make()

void MCDwarfLineEntry::make(MCStreamerMCOS,
MCSectionSection 
)
static

Definition at line91 of fileMCDwarf.cpp.

Referencesllvm::MCLineSection::addLineEntry(),llvm::MCContext::clearDwarfLocSeen(),llvm::MCContext::createTempSymbol(),llvm::MCStreamer::emitLabel(),llvm::MCStreamer::getContext(),llvm::MCContext::getCurrentDwarfLoc(),llvm::MCContext::getDwarfCompileUnitID(),llvm::MCContext::getDwarfLocSeen(),llvm::MCContext::getMCDwarfLineTable(), andllvm::MCDwarfLineTable::getMCLineSections().

Referenced byllvm::DwarfDebug::beginCodeAlignment(),llvm::MCObjectStreamer::emitBytes(),llvm::MCObjectStreamer::emitDwarfLocDirective(), andllvm::MCObjectStreamer::emitValueImpl().

◆ setEndLabel()

void llvm::MCDwarfLineEntry::setEndLabel(MCSymbolEndLabel)
inline

Definition at line218 of fileMCDwarf.h.

ReferencesIsEndEntry.

Member Data Documentation

◆ IsEndEntry

bool llvm::MCDwarfLineEntry::IsEndEntry = false

Definition at line215 of fileMCDwarf.h.

Referenced bysetEndLabel().

◆ LineStreamLabel

MCSymbol* llvm::MCDwarfLineEntry::LineStreamLabel

Definition at line208 of fileMCDwarf.h.

◆ StreamLabelDefLoc

SMLoc llvm::MCDwarfLineEntry::StreamLabelDefLoc

Definition at line212 of fileMCDwarf.h.


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

Generated on Sun Jul 20 2025 19:10:58 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp