LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
llvm::DIEString Class Reference

#include <DIE.h>

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

Public Member Functions

 DIEString (const DIEValue *Acc, const StringRef S)
 
StringRef getString () const
 getString - Grab the string out of the object. More...
 
virtual void EmitValue (AsmPrinter *AP, dwarf::Form Form) const
 
virtual unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const
 
virtual void print (raw_ostream &O) const
 
- Public Member Functions inherited from llvm::DIEValue
 DIEValue (unsigned T)
 
virtual ~DIEValue ()
 
unsigned getType () const
 
void dump () const
 

Static Public Member Functions

static bool classof (const DIEValue *D)
 

Additional Inherited Members

- Public Types inherited from llvm::DIEValue
enum  {
  isInteger, isString, isExpr, isLabel,
  isDelta, isEntry, isBlock
}
 
- Protected Attributes inherited from llvm::DIEValue
unsigned Type
 

Detailed Description

DIEString - A container for string values.

Definition at line 352 of file DIE.h.

Constructor & Destructor Documentation

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

Definition at line 357 of file DIE.h.

Member Function Documentation

static bool llvm::DIEString::classof ( const DIEValue D)
inlinestatic

Definition at line 372 of file DIE.h.

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

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

EmitValue - Emit delta value.

EmitValue - Emit string value.

Implements llvm::DIEValue.

Definition at line 357 of file DIE.cpp.

References llvm::DIEValue::EmitValue().

StringRef llvm::DIEString::getString ( ) const
inline

getString - Grab the string out of the object.

Definition at line 361 of file DIE.h.

Referenced by getDIEStringAttr().

void DIEString::print ( raw_ostream O) const
virtual

Implements llvm::DIEValue.

Definition at line 368 of file DIE.cpp.

References llvm::DIEValue::print().

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

SizeOf - Determine size of delta value in bytes.

Implements llvm::DIEValue.

Definition at line 363 of file DIE.cpp.

References llvm::DIEValue::SizeOf().


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