LLVM API Documentation

llvm::CompositeTypeDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::CompositeTypeDesc:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CompositeTypeDesc (unsigned T)
std::vector< DebugInfoDesc * > & getElements ()
virtual void ApplyToFields (DIVisitor *Visitor)
virtual const char * getDescString () const
virtual const char * getTypeString () const
virtual void dump ()

Static Public Member Functions

static bool classof (const CompositeTypeDesc *)
static bool classof (const DebugInfoDesc *D)

Detailed Description

CompositeTypeDesc - This class packages debug information associated with a array/struct types (eg., arrays, struct, union, enums.)

Definition at line 419 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

CompositeTypeDesc::CompositeTypeDesc ( unsigned  T  ) 

Definition at line 833 of file MachineDebugInfo.cpp.


Member Function Documentation

std::vector<DebugInfoDesc *>& llvm::CompositeTypeDesc::getElements (  )  [inline]

Definition at line 427 of file MachineDebugInfo.h.

static bool llvm::CompositeTypeDesc::classof ( const CompositeTypeDesc  )  [inline, static]

Definition at line 430 of file MachineDebugInfo.h.

bool CompositeTypeDesc::classof ( const DebugInfoDesc D  )  [static]

Reimplemented from llvm::DerivedTypeDesc.

Definition at line 839 of file MachineDebugInfo.cpp.

References D, llvm::dwarf::DW_TAG_array_type, llvm::dwarf::DW_TAG_enumeration_type, llvm::dwarf::DW_TAG_structure_type, llvm::dwarf::DW_TAG_subroutine_type, llvm::dwarf::DW_TAG_union_type, llvm::dwarf::DW_TAG_vector_type, and T.

void CompositeTypeDesc::ApplyToFields ( DIVisitor Visitor  )  [virtual]

ApplyToFields - Target the visitor to the fields of the CompositeTypeDesc.

Reimplemented from llvm::DerivedTypeDesc.

Definition at line 856 of file MachineDebugInfo.cpp.

References llvm::DIVisitor::Apply(), and llvm::DerivedTypeDesc::ApplyToFields().

const char * CompositeTypeDesc::getDescString (  )  const [virtual]

getDescString - Return a string used to compose global names and labels.

Reimplemented from llvm::DerivedTypeDesc.

Definition at line 864 of file MachineDebugInfo.cpp.

Referenced by dump().

const char * CompositeTypeDesc::getTypeString (  )  const [virtual]

getTypeString - Return a string used to label this descriptor's type.

Reimplemented from llvm::DerivedTypeDesc.

Definition at line 870 of file MachineDebugInfo.cpp.

void CompositeTypeDesc::dump (  )  [virtual]

Reimplemented from llvm::DerivedTypeDesc.

Definition at line 875 of file MachineDebugInfo.cpp.

References llvm::TypeDesc::getContext(), getDescString(), llvm::TypeDesc::getFile(), llvm::DerivedTypeDesc::getFromType(), llvm::TypeDesc::getLine(), llvm::TypeDesc::getName(), llvm::TypeDesc::getSize(), llvm::DebugInfoDesc::getTag(), and llvm::DebugInfoDesc::getVersion().


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