class DbgEntity

Declaration

class DbgEntity { /* full declaration omitted */ };

Description

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.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:65

Member Variables

private const llvm::DINode* Entity
private const llvm::DILocation* InlinedAt
private llvm::DIE* TheDIE = nullptr
private const llvm::DbgEntity::DbgEntityKind SubclassID

Method Overview

  • public DbgEntity(const llvm::DINode * N, const llvm::DILocation * IA, llvm::DbgEntity::DbgEntityKind ID)
  • public static bool classof(const llvm::DbgEntity * N)
  • public llvm::DIE * getDIE() const
  • public llvm::DbgEntity::DbgEntityKind getDbgEntityID() const
  • public const llvm::DINode * getEntity() const
  • public const llvm::DILocation * getInlinedAt() const
  • public void setDIE(llvm::DIE & D)
  • public virtual ~DbgEntity()

Methods

DbgEntity(const llvm::DINode* N,
          const llvm::DILocation* IA,
          llvm::DbgEntity::DbgEntityKind ID)

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:79

Parameters

const llvm::DINode* N
const llvm::DILocation* IA
llvm::DbgEntity::DbgEntityKind ID

static bool classof(const llvm::DbgEntity* N)

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:93

Parameters

const llvm::DbgEntity* N

llvm::DIE* getDIE() const

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:87

llvm::DbgEntity::DbgEntityKind getDbgEntityID()
    const

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:88

const llvm::DINode* getEntity() const

Description

Accessors. @ {

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:85

const llvm::DILocation* getInlinedAt() const

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:86

void setDIE(llvm::DIE& D)

Description

@ }

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:91

Parameters

llvm::DIE& D

virtual ~DbgEntity()

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:81