LLVM API Documentation

llvm::CompileUnit Class Reference

Collaboration diagram for llvm::CompileUnit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CompileUnit (CompileUnitDesc *CUD, unsigned I, DIE *D)
 ~CompileUnit ()
CompileUnitDescgetDesc () const
unsigned getID () const
DIEgetDie () const
std::map< std::string, DIE * > & getGlobals ()
bool hasContent () const
void AddGlobal (const std::string &Name, DIE *Die)
DIE *& getDieMapSlotFor (DebugInfoDesc *DD)

Detailed Description

Definition at line 49 of file DwarfWriter.cpp.


Constructor & Destructor Documentation

llvm::CompileUnit::CompileUnit ( CompileUnitDesc CUD,
unsigned  I,
DIE D 
) [inline]

Definition at line 62 of file DwarfWriter.cpp.

CompileUnit::~CompileUnit (  ) 

Definition at line 499 of file DwarfWriter.cpp.


Member Function Documentation

void CompileUnit::AddGlobal ( const std::string &  Name,
DIE Die 
)

AddGlobal - Add a new global entity to the compile unit.

Definition at line 511 of file DwarfWriter.cpp.

CompileUnitDesc* llvm::CompileUnit::getDesc (  )  const [inline]

Definition at line 73 of file DwarfWriter.cpp.

DIE* llvm::CompileUnit::getDie (  )  const [inline]

Definition at line 75 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 88 of file DwarfWriter.cpp.

References llvm::X86II::DD.

std::map<std::string, DIE *>& llvm::CompileUnit::getGlobals (  )  [inline]

Definition at line 76 of file DwarfWriter.cpp.

unsigned llvm::CompileUnit::getID (  )  const [inline]

Definition at line 74 of file DwarfWriter.cpp.

bool CompileUnit::hasContent (  )  const

hasContent - Return true if this compile unit has something to write out.

Definition at line 505 of file DwarfWriter.cpp.

References llvm::DIE::getChildren().


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