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
unsigned getRunTimeLang () 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 273 of file DebugInfo.h.


Constructor & Destructor Documentation

llvm::DICompositeType::DICompositeType ( GlobalVariable *  GV  )  [inline, explicit]


Member Function Documentation

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

Definition at line 281 of file DebugInfo.h.

Referenced by dump(), and llvm::DISubprogram::getReturnTypeName().

unsigned llvm::DICompositeType::getRunTimeLang (  )  const [inline]

Definition at line 282 of file DebugInfo.h.

References llvm::DIDescriptor::getUnsignedField().

bool DICompositeType::Verify (  )  const

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

Reimplemented from llvm::DIType.

Definition at line 247 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.

dump - Print composite type.

Reimplemented from llvm::DIDerivedType.

Definition at line 411 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: