LLVM API Documentation
Public Member Functions | |
CompileUnit (CompileUnitDesc *CUD, unsigned I, DIE *D) | |
~CompileUnit () | |
CompileUnitDesc * | getDesc () const |
unsigned | getID () const |
DIE * | getDie () const |
std::map< std::string, DIE * > & | getGlobals () |
bool | hasContent () const |
void | AddGlobal (const std::string &Name, DIE *Die) |
DIE *& | getDieMapSlotFor (DebugInfoDesc *DD) |
Definition at line 50 of file DwarfWriter.cpp.
llvm::CompileUnit::CompileUnit | ( | CompileUnitDesc * | CUD, | |
unsigned | I, | |||
DIE * | D | |||
) | [inline] |
Definition at line 63 of file DwarfWriter.cpp.
CompileUnit::~CompileUnit | ( | ) |
Definition at line 500 of file DwarfWriter.cpp.
CompileUnitDesc* llvm::CompileUnit::getDesc | ( | ) | const [inline] |
Definition at line 74 of file DwarfWriter.cpp.
unsigned llvm::CompileUnit::getID | ( | ) | const [inline] |
Definition at line 75 of file DwarfWriter.cpp.
DIE* llvm::CompileUnit::getDie | ( | ) | const [inline] |
Definition at line 76 of file DwarfWriter.cpp.
std::map<std::string, DIE *>& llvm::CompileUnit::getGlobals | ( | ) | [inline] |
Definition at line 77 of file DwarfWriter.cpp.
bool CompileUnit::hasContent | ( | ) | const |
hasContent - Return true if this compile unit has something to write out.
Definition at line 506 of file DwarfWriter.cpp.
References llvm::DIE::getChildren().
void CompileUnit::AddGlobal | ( | const std::string & | Name, | |
DIE * | Die | |||
) |
AddGlobal - Add a new global entity to the compile unit.
Definition at line 512 of file DwarfWriter.cpp.
DIE*& llvm::CompileUnit::getDieMapSlotFor | ( | DebugInfoDesc * | DD | ) | [inline] |
getDieMapSlotFor - Returns the debug information entry map slot for the specified debug descriptor.
Definition at line 89 of file DwarfWriter.cpp.
References llvm::X86II::DD.