LLVM API Documentation
#include <DebugInfo.h>


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 |
| MDString * | getIdentifier () const |
| bool | Verify () const |
| Verify - Verify that a composite type descriptor is well formed. | |
Friends | |
| class | DIDescriptor |
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.
| llvm::DICompositeType::DICompositeType | ( | const MDNode * | N = nullptr | ) | [inline, explicit] |
Definition at line 415 of file DebugInfo.h.
References N.
| DITypeRef llvm::DICompositeType::getContainingType | ( | ) | const [inline] |
Definition at line 429 of file DebugInfo.h.
Referenced by llvm::DwarfUnit::constructTypeDIE().
| DIArray llvm::DICompositeType::getElements | ( | ) | const [inline] |
Definition at line 417 of file DebugInfo.h.
References llvm::DIDescriptor::isSubroutineType().
Referenced by llvm::DwarfUnit::addBlockByrefAddress(), llvm::DwarfUnit::constructTypeDIE(), and llvm::DbgVariable::getType().
| MDString * DICompositeType::getIdentifier | ( | ) | const |
Definition at line 671 of file DebugInfo.cpp.
References getField().
Referenced by llvm::DwarfUnit::getOrCreateTypeDIE(), and llvm::DIScope::getRef().
| unsigned llvm::DICompositeType::getRunTimeLang | ( | ) | const [inline] |
Definition at line 428 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by llvm::DwarfUnit::constructTypeDIE().
| DIArray llvm::DICompositeType::getTemplateParams | ( | ) | const [inline] |
Definition at line 431 of file DebugInfo.h.
Referenced by llvm::DwarfUnit::constructTypeDIE().
| 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().
| void DICompositeType::setContainingType | ( | DICompositeType | ContainingType | ) |
Set the containing type.
Definition at line 718 of file DebugInfo.cpp.
References llvm::DIScope::getRef(), N, and llvm::MDNode::replaceOperandWith().
| bool DICompositeType::Verify | ( | ) | const |
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().
friend class DIDescriptor [friend] |
Reimplemented from llvm::DIDerivedType.
Definition at line 410 of file DebugInfo.h.