class DbgLabel
Declaration
class DbgLabel : public DbgEntity { /* full declaration omitted */ };
Description
This class is used to track label information. Labels are collected from \c DBG_LABEL instructions.
Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:235
Inherits from: DbgEntity
Method Overview
- public DbgLabel(const llvm::DILabel * L, const llvm::DILocation * IA, const llvm::MCSymbol * Sym = nullptr)
- public static bool classof(const llvm::DbgEntity * N)
- public const llvm::DILabel * getLabel() const
- public llvm::StringRef getName() const
- public const llvm::MCSymbol * getSymbol() const
- public dwarf::Tag getTag() const
Inherited from DbgEntity:
Methods
¶DbgLabel(const llvm::DILabel* L,
const llvm::DILocation* IA,
const llvm::MCSymbol* Sym = nullptr)
DbgLabel(const llvm::DILabel* L,
const llvm::DILocation* IA,
const llvm::MCSymbol* Sym = nullptr)
Description
We need MCSymbol information to generate DW_AT_low_pc.
Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:240
Parameters
- const llvm::DILabel* L
- const llvm::DILocation* IA
- const llvm::MCSymbol* Sym = nullptr
¶static bool classof(const llvm::DbgEntity* N)
static bool classof(const llvm::DbgEntity* N)
Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:256
Parameters
- const llvm::DbgEntity* N
¶const llvm::DILabel* getLabel() const
const llvm::DILabel* getLabel() const
Description
Accessors. @ {
Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:245
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:248
¶const llvm::MCSymbol* getSymbol() const
const llvm::MCSymbol* getSymbol() const
Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:246
¶dwarf::Tag getTag() const
dwarf::Tag getTag() const
Description
Translate tag to proper Dwarf tag.
Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:252