class DIEAbbrevSet

Declaration

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

Description

Helps unique DIEAbbrev objects and assigns abbreviation numbers. This class will unique the DIE abbreviations for a llvm::DIE object and assign a unique abbreviation number to each unique DIEAbbrev object it finds. The resulting collection of DIEAbbrev objects can then be emitted into the .debug_abbrev section.

Declared at: llvm/include/llvm/CodeGen/DIE.h:135

Method Overview

Methods

DIEAbbrevSet(llvm::BumpPtrAllocator& A)

Declared at: llvm/include/llvm/CodeGen/DIE.h:145

Parameters

llvm::BumpPtrAllocator& A

void Emit(const llvm::AsmPrinter* AP,
          llvm::MCSection* Section) const

Description

Print all abbreviations using the specified asm printer.

Declared at: llvm/include/llvm/CodeGen/DIE.h:157

Parameters

const llvm::AsmPrinter* AP
llvm::MCSection* Section

llvm::DIEAbbrev& uniqueAbbreviation(
    llvm::DIE& Die)

Description

Generate the abbreviation declaration for a DIE and return a pointer to the generated abbreviation.

Declared at: llvm/include/llvm/CodeGen/DIE.h:154

Parameters

llvm::DIE& Die
the debug info entry to generate the abbreviation for.

Returns

A reference to the uniqued abbreviation declaration that is owned by this class.

~DIEAbbrevSet()

Declared at: llvm/include/llvm/CodeGen/DIE.h:146