class DILocalVariable

Declaration

class DILocalVariable : public DIVariable { /* full declaration omitted */ };

Description

Local variable. TODO: Split up flags.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2765

Inherits from: DIVariable

Member Variables

Inherited from Metadata:

protected Storage
protected ImplicitCode
protected SubclassData16 = 0
protected SubclassData32 = 0

Method Overview

Inherited from DIVariable:

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

static bool classof(const llvm::Metadata* MD)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2838

Parameters

const llvm::Metadata* MD

llvm::TempDILocalVariable clone() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2813

unsigned int getArg() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2823

llvm::DINode::DIFlags getFlags() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2824

llvm::DILocalScope* getScope() const

Description

Get the local scope for this variable. Variables must be defined in a local scope.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2818

bool isArtificial() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2826

bool isObjectPointer() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2827

bool isParameter() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2822

bool isValidLocationForIntrinsic(
    const llvm::DILocation* DL) const

Description

Check that a location is valid for this variable. Check that \c DL exists, is in the same subprogram, and has the same inlined-at location as \c this. (Otherwise, it's not a valid attachment to a \a DbgInfoIntrinsic.)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2834

Parameters

const llvm::DILocation* DL