class DIEString

Declaration

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

Description

A container for string pool string values. This class is used with the DW_FORM_strp and DW_FORM_GNU_str_index forms.

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

Member Variables

private llvm::DwarfStringPoolEntryRef S

Method Overview

  • public DIEString(llvm::DwarfStringPoolEntryRef S)
  • public void emitValue(const llvm::AsmPrinter * AP, dwarf::Form Form) const
  • public llvm::StringRef getString() const
  • public void print(llvm::raw_ostream & O) const
  • public unsigned int sizeOf(const dwarf::FormParams & FormParams, dwarf::Form Form) const

Methods

DIEString(llvm::DwarfStringPoolEntryRef S)

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

Parameters

llvm::DwarfStringPoolEntryRef S

void emitValue(const llvm::AsmPrinter* AP,
               dwarf::Form Form) const

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

Parameters

const llvm::AsmPrinter* AP
dwarf::Form Form

llvm::StringRef getString() const

Description

Grab the string out of the object.

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

void print(llvm::raw_ostream& O) const

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

Parameters

llvm::raw_ostream& O

unsigned int sizeOf(
    const dwarf::FormParams& FormParams,
    dwarf::Form Form) const

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

Parameters

const dwarf::FormParams& FormParams
dwarf::Form Form