LLVM API Documentation

Public Member Functions | Friends
llvm::DIGlobalVariable Class Reference

DIGlobalVariable - This is a wrapper for a global variable. More...

#include <DebugInfo.h>

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

List of all members.

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
GlobalVariablegetGlobal () const
ConstantgetConstant () const
DIDerivedType getStaticDataMemberDeclaration () const
bool Verify () const
 Verify - Verify that a global variable descriptor is well formed.

Friends

class DIDescriptor

Detailed Description

DIGlobalVariable - This is a wrapper for a global variable.

Definition at line 653 of file DebugInfo.h.


Constructor & Destructor Documentation

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

Definition at line 658 of file DebugInfo.h.

References N.


Member Function Documentation

Definition at line 660 of file DebugInfo.h.

Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().

Definition at line 665 of file DebugInfo.h.

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

Definition at line 664 of file DebugInfo.h.

References getFilename().

Referenced by llvm::DwarfUnit::addSourceLine(), and getFilename().

Definition at line 669 of file DebugInfo.h.

References llvm::DIDescriptor::getUnsignedField().

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

Definition at line 676 of file DebugInfo.h.

Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().

Definition at line 670 of file DebugInfo.h.

Referenced by llvm::DwarfCompileUnit::createGlobalVariableDIE().

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().


Friends And Related Function Documentation

friend class DIDescriptor [friend]

Definition at line 654 of file DebugInfo.h.


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