LLVM API Documentation
Public Member Functions | |
| CompileUnit (unsigned I, DIE *D) | |
| ~CompileUnit () | |
| unsigned | getID () const |
| DIE * | getDie () const |
| StringMap< DIE * > & | getGlobals () |
| bool | hasContent () const |
| void | AddGlobal (const std::string &Name, DIE *Die) |
| DIE *& | getDieMapSlotFor (GlobalVariable *GV) |
| DIEEntry *& | getDIEEntrySlotFor (GlobalVariable *GV) |
| DIE * | AddDie (DIE &Buffer) |
Definition at line 47 of file DwarfDebug.cpp.
Definition at line 72 of file DwarfDebug.cpp.
| llvm::CompileUnit::~CompileUnit | ( | ) | [inline] |
Definition at line 74 of file DwarfDebug.cpp.
| unsigned llvm::CompileUnit::getID | ( | ) | const [inline] |
Definition at line 77 of file DwarfDebug.cpp.
References ID.
Referenced by llvm::DwarfDebug::RecordInlinedFnStart(), and llvm::DwarfDebug::RecordSourceLine().
| DIE* llvm::CompileUnit::getDie | ( | ) | const [inline] |
Definition at line 78 of file DwarfDebug.cpp.
Definition at line 79 of file DwarfDebug.cpp.
| bool llvm::CompileUnit::hasContent | ( | ) | const [inline] |
hasContent - Return true if this compile unit has something to write out.
Definition at line 83 of file DwarfDebug.cpp.
| void llvm::CompileUnit::AddGlobal | ( | const std::string & | Name, | |
| DIE * | Die | |||
| ) | [inline] |
AddGlobal - Add a new global entity to the compile unit.
Definition at line 87 of file DwarfDebug.cpp.
| DIE*& llvm::CompileUnit::getDieMapSlotFor | ( | GlobalVariable * | GV | ) | [inline] |
getDieMapSlotFor - Returns the debug information entry map slot for the specified debug variable.
Definition at line 91 of file DwarfDebug.cpp.
Referenced by llvm::DwarfDebug::RecordInlinedFnStart().
| DIEEntry*& llvm::CompileUnit::getDIEEntrySlotFor | ( | GlobalVariable * | GV | ) | [inline] |
getDIEEntrySlotFor - Returns the debug information entry proxy slot for the specified debug variable.
Definition at line 95 of file DwarfDebug.cpp.
AddDie - Adds or interns the DIE to the compile unit.
Definition at line 101 of file DwarfDebug.cpp.
References llvm::DIE::AddChild(), llvm::DIE::Detach(), ID, and llvm::DIE::Profile().