LLVM API Documentation

Public Member Functions | Friends
llvm::DICompositeType Class Reference

#include <DebugInfo.h>

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

List of all members.

Public Member Functions

 DICompositeType (const MDNode *N=nullptr)
DIArray getElements () const
template<typename T >
void setArrays (DITypedArray< T > Elements, DIArray TParams=DIArray())
unsigned getRunTimeLang () const
DITypeRef getContainingType () const
void setContainingType (DICompositeType ContainingType)
 Set the containing type.
DIArray getTemplateParams () const
MDStringgetIdentifier () const
bool Verify () const
 Verify - Verify that a composite type descriptor is well formed.

Friends

class DIDescriptor

Detailed Description

DICompositeType - This descriptor holds a type that can refer to multiple other types, like a function or struct. DICompositeType is derived from DIDerivedType because some composite types (such as enums) can be derived from basic types

Definition at line 409 of file DebugInfo.h.


Constructor & Destructor Documentation

llvm::DICompositeType::DICompositeType ( const MDNode N = nullptr) [inline, explicit]

Definition at line 415 of file DebugInfo.h.

References N.


Member Function Documentation

Definition at line 429 of file DebugInfo.h.

Referenced by llvm::DwarfUnit::constructTypeDIE().

Definition at line 671 of file DebugInfo.cpp.

References getField().

Referenced by llvm::DwarfUnit::getOrCreateTypeDIE(), and llvm::DIScope::getRef().

Definition at line 428 of file DebugInfo.h.

References llvm::DIDescriptor::getUnsignedField().

Referenced by llvm::DwarfUnit::constructTypeDIE().

Definition at line 431 of file DebugInfo.h.

Referenced by llvm::DwarfUnit::constructTypeDIE().

template<typename T >
void llvm::DICompositeType::setArrays ( DITypedArray< T Elements,
DIArray  TParams = DIArray() 
) [inline]

Definition at line 422 of file DebugInfo.h.

References llvm::DIDescriptor::DbgNode, and llvm::MDNode::getNumOperands().

Set the containing type.

Definition at line 718 of file DebugInfo.cpp.

References llvm::DIScope::getRef(), N, and llvm::MDNode::replaceOperandWith().

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

Reimplemented from llvm::DIDerivedType.

Definition at line 525 of file DebugInfo.cpp.

References fieldIsMDString(), and fieldIsTypeRef().

Referenced by llvm::DIDescriptor::Verify(), and llvm::DIType::Verify().


Friends And Related Function Documentation

friend class DIDescriptor [friend]

Reimplemented from llvm::DIDerivedType.

Definition at line 410 of file DebugInfo.h.


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