LLVM API Documentation

llvm::DICompositeType Class Reference

#include <DebugInfo.h>

Inheritance diagram for llvm::DICompositeType:
[legend]
Collaboration diagram for llvm::DICompositeType:
[legend]

List of all members.

Public Member Functions

 DICompositeType (GlobalVariable *GV)
DIArray getTypeArray () const
bool Verify () const
 Verify - Verify that a composite type descriptor is well formed.
void dump () const
 dump - print composite type.


Detailed Description

DICompositeType - This descriptor holds a type that can refer to multiple other types, like a function or struct. FIXME: Why is this a DIDerivedType??

Definition at line 227 of file DebugInfo.h.


Constructor & Destructor Documentation

DICompositeType::DICompositeType ( GlobalVariable *  GV  )  [explicit]

Definition at line 154 of file DebugInfo.cpp.

References llvm::DIDescriptor::getTag(), and llvm::DIType::isCompositeType().


Member Function Documentation

DIArray llvm::DICompositeType::getTypeArray (  )  const [inline]

Definition at line 230 of file DebugInfo.h.

Referenced by dump().

bool DICompositeType::Verify (  )  const

Verify - Verify that a composite type descriptor is well formed.

Reimplemented from llvm::DIType.

Definition at line 208 of file DebugInfo.cpp.

References llvm::DIType::getCompileUnit(), llvm::DIType::getContext(), llvm::DIDescriptor::isNull(), and llvm::DICompileUnit::Verify().

Referenced by llvm::DISubprogram::Verify().

void DICompositeType::dump (  )  const

dump - print composite type.

Reimplemented from llvm::DIDerivedType.

Definition at line 903 of file DebugInfo.cpp.

References A, llvm::cerr(), llvm::DIArray::getNumElements(), getTypeArray(), and llvm::DIDescriptor::isNull().


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