LLVM 20.0.0git
|
This class is defined as the common parent of DbgVariable and DbgLabel such that it could levarage polymorphism to extract common code for DbgVariable and DbgLabel. More...
#include "CodeGen/AsmPrinter/DwarfDebug.h"
Public Types | |
enum | DbgEntityKind { DbgVariableKind , DbgLabelKind } |
Public Member Functions | |
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) |
This class is defined as the common parent of DbgVariable and DbgLabel such that it could levarage polymorphism to extract common code for DbgVariable and DbgLabel.
Definition at line 65 of file DwarfDebug.h.
Enumerator | |
---|---|
DbgVariableKind | |
DbgLabelKind |
Definition at line 67 of file DwarfDebug.h.
|
inline |
Definition at line 79 of file DwarfDebug.h.
|
virtualdefault |
Definition at line 93 of file DwarfDebug.h.
References DbgLabelKind, DbgVariableKind, llvm_unreachable, and N.
|
inline |
Definition at line 88 of file DwarfDebug.h.
|
inline |
Definition at line 87 of file DwarfDebug.h.
Referenced by llvm::DwarfCompileUnit::finishEntityDefinition().
Accessors.
Definition at line 85 of file DwarfDebug.h.
Referenced by llvm::DwarfCompileUnit::finishEntityDefinition(), llvm::DbgLabel::getLabel(), and llvm::DbgVariable::getVariable().
|
inline |
Definition at line 86 of file DwarfDebug.h.
|
inline |
Definition at line 91 of file DwarfDebug.h.
References D.
Referenced by llvm::DwarfCompileUnit::constructVariableDIE().