LLVM API Documentation
#include <MachineDebugInfo.h>
Inheritance diagram for llvm::GlobalDesc:
Public Member Functions | |
DebugInfoDesc * | getContext () const |
const std::string & | getName () const |
const std::string & | getDisplayName () const |
CompileUnitDesc * | getFile () const |
unsigned | getLine () const |
TypeDesc * | getType () const |
bool | isStatic () const |
bool | isDefinition () const |
void | setContext (DebugInfoDesc *C) |
void | setName (const std::string &N) |
void | setDisplayName (const std::string &N) |
void | setFile (CompileUnitDesc *U) |
void | setLine (unsigned L) |
void | setType (TypeDesc *T) |
void | setIsStatic (bool IS) |
void | setIsDefinition (bool ID) |
virtual void | ApplyToFields (DIVisitor *Visitor) |
Protected Member Functions | |
GlobalDesc (unsigned T) |
Definition at line 585 of file MachineDebugInfo.h.
GlobalDesc::GlobalDesc | ( | unsigned | T | ) | [protected] |
Definition at line 1040 of file MachineDebugInfo.cpp.
DebugInfoDesc* llvm::GlobalDesc::getContext | ( | ) | const [inline] |
Definition at line 601 of file MachineDebugInfo.h.
const std::string& llvm::GlobalDesc::getName | ( | ) | const [inline] |
Definition at line 602 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
const std::string& llvm::GlobalDesc::getDisplayName | ( | ) | const [inline] |
Definition at line 603 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
CompileUnitDesc* llvm::GlobalDesc::getFile | ( | ) | const [inline] |
Definition at line 604 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
unsigned llvm::GlobalDesc::getLine | ( | ) | const [inline] |
Definition at line 607 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
TypeDesc* llvm::GlobalDesc::getType | ( | ) | const [inline] |
Definition at line 608 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
bool llvm::GlobalDesc::isStatic | ( | ) | const [inline] |
Definition at line 611 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
bool llvm::GlobalDesc::isDefinition | ( | ) | const [inline] |
Definition at line 612 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
void llvm::GlobalDesc::setContext | ( | DebugInfoDesc * | C | ) | [inline] |
void llvm::GlobalDesc::setName | ( | const std::string & | N | ) | [inline] |
Definition at line 614 of file MachineDebugInfo.h.
void llvm::GlobalDesc::setDisplayName | ( | const std::string & | N | ) | [inline] |
Definition at line 615 of file MachineDebugInfo.h.
void llvm::GlobalDesc::setFile | ( | CompileUnitDesc * | U | ) | [inline] |
void llvm::GlobalDesc::setLine | ( | unsigned | L | ) | [inline] |
Definition at line 619 of file MachineDebugInfo.h.
void llvm::GlobalDesc::setType | ( | TypeDesc * | T | ) | [inline] |
void llvm::GlobalDesc::setIsStatic | ( | bool | IS | ) | [inline] |
Definition at line 623 of file MachineDebugInfo.h.
void llvm::GlobalDesc::setIsDefinition | ( | bool | ID | ) | [inline] |
Definition at line 624 of file MachineDebugInfo.h.
void GlobalDesc::ApplyToFields | ( | DIVisitor * | Visitor | ) | [virtual] |
ApplyToFields - Target the visitor to the fields of the GlobalDesc.
Reimplemented from llvm::AnchoredDesc.
Reimplemented in llvm::GlobalVariableDesc, and llvm::SubprogramDesc.
Definition at line 1054 of file MachineDebugInfo.cpp.
References llvm::DIVisitor::Apply(), llvm::AnchoredDesc::ApplyToFields(), llvm::DebugInfoDesc::getVersion(), and llvm::LLVMDebugVersion4.
Referenced by llvm::SubprogramDesc::ApplyToFields(), and llvm::GlobalVariableDesc::ApplyToFields().