LLVM
8.0.1
|
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. More... | |
dwarf::Tag | getTag () const |
Translate tag to proper Dwarf tag. More... | |
const DILabel * | getLabel () const |
Accessors. More... | |
const MCSymbol * | getSymbol () const |
StringRef | getName () const |
Public Member Functions inherited from llvm::DbgEntity | |
DbgEntity (const DINode *N, const DILocation *IA, unsigned ID) | |
virtual | ~DbgEntity () |
void | setDIE (DIE &D) |
const DINode * | getEntity () const |
Accessors. More... | |
const DILocation * | getInlinedAt () const |
DIE * | getDIE () const |
unsigned | 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 233 of file DwarfDebug.h.
|
inline |
Symbol before DBG_LABEL instruction.
We need MCSymbol information to generate DW_AT_low_pc.
Definition at line 238 of file DwarfDebug.h.
Definition at line 254 of file DwarfDebug.h.
References llvm::DbgEntity::DbgLabelKind, llvm::DbgEntity::getDbgEntityID(), llvm::Ref, and llvm::TypedDINodeRef< T >::resolve().
Accessors.
Definition at line 243 of file DwarfDebug.h.
References llvm::DbgEntity::getEntity().
Referenced by llvm::DwarfCompileUnit::applyLabelAttributes(), and llvm::DwarfCompileUnit::constructLabelDIE().
|
inline |
Definition at line 246 of file DwarfDebug.h.
Referenced by llvm::DwarfCompileUnit::applyLabelAttributes().
Definition at line 244 of file DwarfDebug.h.
Referenced by llvm::DwarfCompileUnit::finishEntityDefinition().
|
inline |
Translate tag to proper Dwarf tag.
Definition at line 250 of file DwarfDebug.h.
Referenced by llvm::DwarfCompileUnit::constructLabelDIE().