LLVM API Documentation
#include <DebugInfo.h>
Public Member Functions | |
DIDerivedType (const MDNode *N=nullptr) | |
DITypeRef | getTypeDerivedFrom () const |
MDNode * | getObjCProperty () const |
DITypeRef | getClassType () const |
Constant * | getConstant () const |
bool | Verify () const |
Verify - Verify that a derived type descriptor is well formed. | |
Friends | |
class | DIDescriptor |
DIDerivedType - A simple derived type, like a const qualified type, a typedef, a pointer or reference, et cetera. Or, a data member of a class/struct/union.
Definition at line 376 of file DebugInfo.h.
llvm::DIDerivedType::DIDerivedType | ( | const MDNode * | N = nullptr | ) | [inline, explicit] |
Definition at line 381 of file DebugInfo.h.
References N.
DITypeRef llvm::DIDerivedType::getClassType | ( | ) | const [inline] |
Definition at line 389 of file DebugInfo.h.
References llvm::dwarf::DW_TAG_ptr_to_member_type, and llvm::DIDescriptor::getTag().
Constant* llvm::DIDerivedType::getConstant | ( | ) | const [inline] |
Definition at line 394 of file DebugInfo.h.
References llvm::dwarf::DW_TAG_member, llvm::DIDescriptor::getConstantField(), llvm::DIDescriptor::getTag(), and llvm::DIType::isStaticMember().
Referenced by llvm::DwarfUnit::getOrCreateStaticMemberDIE().
MDNode * DIDerivedType::getObjCProperty | ( | ) | const |
getObjCProperty - Return property node, if this ivar is associated with one.
Definition at line 667 of file DebugInfo.cpp.
References getNodeField().
DITypeRef llvm::DIDerivedType::getTypeDerivedFrom | ( | ) | const [inline] |
Definition at line 383 of file DebugInfo.h.
Referenced by llvm::DwarfUnit::addBlockByrefAddress(), llvm::DwarfUnit::constructTypeDIE(), getBaseTypeSize(), llvm::DwarfUnit::getOrCreateStaticMemberDIE(), llvm::DIVariable::getSizeInBits(), and isUnsignedDIType().
bool DIDerivedType::Verify | ( | ) | const |
Verify - Verify that a derived type descriptor is well formed.
Reimplemented from llvm::DIType.
Reimplemented in llvm::DICompositeType.
Definition at line 511 of file DebugInfo.cpp.
References llvm::dwarf::DW_TAG_ptr_to_member_type, and fieldIsTypeRef().
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE(), llvm::DwarfUnit::getOrCreateStaticMemberDIE(), llvm::DIDescriptor::Verify(), and llvm::DIType::Verify().
friend class DIDescriptor [friend] |
Reimplemented from llvm::DIType.
Reimplemented in llvm::DICompositeType.
Definition at line 377 of file DebugInfo.h.