LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DIEString Class Reference

#include <DIE.h>

Inheritance diagram for llvm::DIEString:
Inheritance graph
[legend]
Collaboration diagram for llvm::DIEString:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DIEString (const DIEValue *Acc, StringRef S)
StringRef getString () const
 getString - Grab the string out of the object.
void EmitValue (AsmPrinter *AP, dwarf::Form Form) const override
unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const override
void print (raw_ostream &O) const override

Static Public Member Functions

static bool classof (const DIEValue *D)

Detailed Description

DIEString - A container for string values.

Definition at line 382 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEString::DIEString ( const DIEValue Acc,
StringRef  S 
) [inline]

Definition at line 387 of file DIE.h.


Member Function Documentation

static bool llvm::DIEString::classof ( const DIEValue D) [inline, static]

Definition at line 402 of file DIE.h.

References llvm::DIEValue::getType(), and llvm::DIEValue::isString.

void DIEString::EmitValue ( AsmPrinter AP,
dwarf::Form  Form 
) const [override, virtual]

EmitValue - Emit delta value.

EmitValue - Emit string value.

Implements llvm::DIEValue.

Definition at line 352 of file DIE.cpp.

References llvm::DIEValue::EmitValue().

getString - Grab the string out of the object.

Definition at line 391 of file DIE.h.

Referenced by getDIEStringAttr().

void DIEString::print ( raw_ostream O) const [override, virtual]

Implements llvm::DIEValue.

Definition at line 363 of file DIE.cpp.

References llvm::DIEValue::print().

unsigned DIEString::SizeOf ( AsmPrinter AP,
dwarf::Form  Form 
) const [override, virtual]

SizeOf - Determine size of delta value in bytes.

Implements llvm::DIEValue.

Definition at line 358 of file DIE.cpp.

References llvm::DIEValue::SizeOf().


The documentation for this class was generated from the following files: