LLVM 20.0.0git
|
This class is used to track label information. More...
#include "CodeGen/AsmPrinter/DwarfDebug.h"
Public Member Functions | |
DbgLabel (const DILabel *L, const DILocation *IA, const MCSymbol *Sym=nullptr) | |
Symbol before DBG_LABEL instruction. | |
dwarf::Tag | getTag () const |
Translate tag to proper Dwarf tag. | |
const DILabel * | getLabel () const |
Accessors. | |
const MCSymbol * | getSymbol () const |
StringRef | getName () const |
Public Member Functions inherited from llvm::DbgEntity | |
DbgEntity (const DINode *N, const DILocation *IA, DbgEntityKind ID) | |
virtual | ~DbgEntity ()=default |
void | setDIE (DIE &D) |
const DINode * | getEntity () const |
Accessors. | |
const DILocation * | getInlinedAt () const |
DIE * | getDIE () const |
DbgEntityKind | getDbgEntityID () const |
Static Public Member Functions | |
static bool | classof (const DbgEntity *N) |
Static Public Member Functions inherited from llvm::DbgEntity | |
static bool | classof (const DbgEntity *N) |
Additional Inherited Members | |
Public Types inherited from llvm::DbgEntity | |
enum | DbgEntityKind { DbgVariableKind , DbgLabelKind } |
This class is used to track label information.
Labels are collected from DBG_LABEL
instructions.
Definition at line 289 of file DwarfDebug.h.
|
inline |
Symbol before DBG_LABEL instruction.
We need MCSymbol information to generate DW_AT_low_pc.
Definition at line 294 of file DwarfDebug.h.
References Sym.
Definition at line 310 of file DwarfDebug.h.
References llvm::DbgEntity::DbgLabelKind, and N.
Accessors.
Definition at line 299 of file DwarfDebug.h.
References llvm::DbgEntity::getEntity().
Referenced by getName().
|
inline |
Definition at line 302 of file DwarfDebug.h.
References getLabel(), and llvm::DILabel::getName().
Definition at line 300 of file DwarfDebug.h.
References Sym.
|
inline |
Translate tag to proper Dwarf tag.
Definition at line 306 of file DwarfDebug.h.