class DILexicalBlock

Declaration

class DILexicalBlock : public DILexicalBlockBase { /* full declaration omitted */ };

Description

A scope for locals. A legal scope for lexical blocks, local variables, and debug info locations. Subclasses are \a DISubprogram, \a DILexicalBlock, and \a DILexicalBlockFile.

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

Inherits from: DILexicalBlockBase

Member Variables

private unsigned int Line
private uint16_t Column

Inherited from Metadata:

protected Storage
protected SubclassData1
protected SubclassData16 = 0
protected SubclassData32 = 0

Method Overview

  • private DILexicalBlock(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, unsigned int Line, unsigned int Column, ArrayRef<llvm::Metadata *> Ops)
  • public static bool classof(const llvm::Metadata * MD)
  • public llvm::TempDILexicalBlock clone() const
  • private llvm::TempDILexicalBlock cloneImpl() const
  • public unsigned int getColumn() const
  • private static llvm::DILexicalBlock * getImpl(llvm::LLVMContext & Context, llvm::DILocalScope * Scope, llvm::DIFile * File, unsigned int Line, unsigned int Column, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • private static llvm::DILexicalBlock * getImpl(llvm::LLVMContext & Context, llvm::Metadata * Scope, llvm::Metadata * File, unsigned int Line, unsigned int Column, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • public unsigned int getLine() const
  • private ~DILexicalBlock()

Inherited from DILexicalBlockBase:

Inherited from DILocalScope:

Inherited from DIScope:

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

DILexicalBlock(
    llvm::LLVMContext& C,
    llvm::Metadata::StorageType Storage,
    unsigned int Line,
    unsigned int Column,
    ArrayRef<llvm::Metadata*> Ops)

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

Parameters

llvm::LLVMContext& C
llvm::Metadata::StorageType Storage
unsigned int Line
unsigned int Column
ArrayRef<llvm::Metadata*> Ops

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

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

Parameters

const llvm::Metadata* MD

llvm::TempDILexicalBlock clone() const

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

llvm::TempDILexicalBlock cloneImpl() const

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

unsigned int getColumn() const

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

static llvm::DILexicalBlock* getImpl(
    llvm::LLVMContext& Context,
    llvm::DILocalScope* Scope,
    llvm::DIFile* File,
    unsigned int Line,
    unsigned int Column,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

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

Parameters

llvm::LLVMContext& Context
llvm::DILocalScope* Scope
llvm::DIFile* File
unsigned int Line
unsigned int Column
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

static llvm::DILexicalBlock* getImpl(
    llvm::LLVMContext& Context,
    llvm::Metadata* Scope,
    llvm::Metadata* File,
    unsigned int Line,
    unsigned int Column,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

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

Parameters

llvm::LLVMContext& Context
llvm::Metadata* Scope
llvm::Metadata* File
unsigned int Line
unsigned int Column
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

unsigned int getLine() const

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

~DILexicalBlock()

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