LLVM API Documentation
DIGlobalVariable - This is a wrapper for a global variable. More...
#include <DebugInfo.h>


Public Member Functions | |
| DIGlobalVariable (const MDNode *N=nullptr) | |
| DIScope | getContext () const |
| StringRef | getName () const |
| StringRef | getDisplayName () const |
| StringRef | getLinkageName () const |
| StringRef | getFilename () const |
| StringRef | getDirectory () const |
| unsigned | getLineNumber () const |
| DITypeRef | getType () const |
| unsigned | isLocalToUnit () const |
| unsigned | isDefinition () const |
| GlobalVariable * | getGlobal () const |
| Constant * | getConstant () const |
| DIDerivedType | getStaticDataMemberDeclaration () const |
| bool | Verify () const |
| Verify - Verify that a global variable descriptor is well formed. | |
Friends | |
| class | DIDescriptor |
DIGlobalVariable - This is a wrapper for a global variable.
Definition at line 653 of file DebugInfo.h.
| llvm::DIGlobalVariable::DIGlobalVariable | ( | const MDNode * | N = nullptr | ) | [inline, explicit] |
Definition at line 658 of file DebugInfo.h.
References N.
| Constant* llvm::DIGlobalVariable::getConstant | ( | ) | const [inline] |
Definition at line 675 of file DebugInfo.h.
References llvm::DIDescriptor::getConstantField().
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| DIScope llvm::DIGlobalVariable::getContext | ( | ) | const [inline] |
Definition at line 660 of file DebugInfo.h.
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| StringRef llvm::DIGlobalVariable::getDirectory | ( | ) | const [inline] |
Definition at line 665 of file DebugInfo.h.
Referenced by llvm::DwarfUnit::addSourceLine().
| StringRef llvm::DIGlobalVariable::getDisplayName | ( | ) | const [inline] |
Definition at line 662 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| StringRef llvm::DIGlobalVariable::getFilename | ( | ) | const [inline] |
Definition at line 664 of file DebugInfo.h.
References getFilename().
Referenced by llvm::DwarfUnit::addSourceLine(), and getFilename().
| GlobalVariable* llvm::DIGlobalVariable::getGlobal | ( | ) | const [inline] |
Definition at line 674 of file DebugInfo.h.
References llvm::DIDescriptor::getGlobalVariableField().
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| unsigned llvm::DIGlobalVariable::getLineNumber | ( | ) | const [inline] |
Definition at line 669 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by llvm::DwarfUnit::addSourceLine().
| StringRef llvm::DIGlobalVariable::getLinkageName | ( | ) | const [inline] |
Definition at line 663 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| StringRef llvm::DIGlobalVariable::getName | ( | ) | const [inline] |
Definition at line 661 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| DIDerivedType llvm::DIGlobalVariable::getStaticDataMemberDeclaration | ( | ) | const [inline] |
Definition at line 676 of file DebugInfo.h.
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| DITypeRef llvm::DIGlobalVariable::getType | ( | ) | const [inline] |
Definition at line 670 of file DebugInfo.h.
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| unsigned llvm::DIGlobalVariable::isDefinition | ( | ) | const [inline] |
Definition at line 672 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| unsigned llvm::DIGlobalVariable::isLocalToUnit | ( | ) | const [inline] |
Definition at line 671 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().
| bool DIGlobalVariable::Verify | ( | ) | const |
Verify - Verify that a global variable descriptor is well formed.
Reimplemented from llvm::DIDescriptor.
Definition at line 568 of file DebugInfo.cpp.
References fieldIsMDNode(), and fieldIsTypeRef().
Referenced by llvm::DIDescriptor::Verify().
friend class DIDescriptor [friend] |
Definition at line 654 of file DebugInfo.h.