LLVM API Documentation

llvm::CompileUnitDesc Class Reference

#include <MachineModuleInfo.h>

Inheritance diagram for llvm::CompileUnitDesc:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CompileUnitDesc ()
unsigned getLanguage () const
const std::string & getFileName () const
const std::string & getDirectory () const
const std::string & getProducer () const
void setLanguage (unsigned L)
void setFileName (const std::string &FN)
void setDirectory (const std::string &D)
void setProducer (const std::string &P)
virtual void ApplyToFields (DIVisitor *Visitor)
virtual const char * getDescString () const
virtual const char * getTypeString () const
virtual const char * getAnchorString () const
virtual void dump ()

Static Public Member Functions

static bool classof (const CompileUnitDesc *)
static bool classof (const DebugInfoDesc *D)

Static Public Attributes

static const char *const AnchorString = "llvm.dbg.compile_units"


Detailed Description

CompileUnitDesc - This class packages debug information associated with a source/header file.

Definition at line 230 of file MachineModuleInfo.h.


Constructor & Destructor Documentation

CompileUnitDesc::CompileUnitDesc (  ) 

Definition at line 750 of file MachineModuleInfo.cpp.


Member Function Documentation

unsigned llvm::CompileUnitDesc::getLanguage (  )  const [inline]

Definition at line 242 of file MachineModuleInfo.h.

const std::string& llvm::CompileUnitDesc::getFileName (  )  const [inline]

Definition at line 243 of file MachineModuleInfo.h.

Referenced by llvm::MachineModuleInfo::RecordSource().

const std::string& llvm::CompileUnitDesc::getDirectory (  )  const [inline]

Definition at line 244 of file MachineModuleInfo.h.

Referenced by llvm::MachineModuleInfo::RecordSource().

const std::string& llvm::CompileUnitDesc::getProducer (  )  const [inline]

Definition at line 245 of file MachineModuleInfo.h.

void llvm::CompileUnitDesc::setLanguage ( unsigned  L  )  [inline]

Definition at line 246 of file MachineModuleInfo.h.

void llvm::CompileUnitDesc::setFileName ( const std::string &  FN  )  [inline]

Definition at line 247 of file MachineModuleInfo.h.

void llvm::CompileUnitDesc::setDirectory ( const std::string &  D  )  [inline]

Definition at line 248 of file MachineModuleInfo.h.

void llvm::CompileUnitDesc::setProducer ( const std::string &  P  )  [inline]

Definition at line 249 of file MachineModuleInfo.h.

static bool llvm::CompileUnitDesc::classof ( const CompileUnitDesc  )  [inline, static]

Definition at line 254 of file MachineModuleInfo.h.

bool CompileUnitDesc::classof ( const DebugInfoDesc D  )  [static]

Reimplemented from llvm::DebugInfoDesc.

Definition at line 759 of file MachineModuleInfo.cpp.

References llvm::dwarf::DW_TAG_compile_unit, and llvm::DebugInfoDesc::getTag().

void CompileUnitDesc::ApplyToFields ( DIVisitor Visitor  )  [virtual]

ApplyToFields - Target the visitor to the fields of the CompileUnitDesc.

Reimplemented from llvm::AnchoredDesc.

Definition at line 765 of file MachineModuleInfo.cpp.

References llvm::DIVisitor::Apply(), llvm::AnchoredDesc::ApplyToFields(), and llvm::DebugInfoDesc::getVersion().

const char * CompileUnitDesc::getDescString (  )  const [virtual]

getDescString - Return a string used to compose global names and labels.

Implements llvm::DebugInfoDesc.

Definition at line 782 of file MachineModuleInfo.cpp.

Referenced by dump().

const char * CompileUnitDesc::getTypeString (  )  const [virtual]

getTypeString - Return a string used to label this descriptor's type.

getTypeString - Return a string used to label this descriptors type.

Implements llvm::DebugInfoDesc.

Definition at line 788 of file MachineModuleInfo.cpp.

const char * CompileUnitDesc::getAnchorString (  )  const [virtual]

getAnchorString - Return a string used to label descriptor's anchor.

Implements llvm::AnchoredDesc.

Definition at line 795 of file MachineModuleInfo.cpp.

References AnchorString.

void CompileUnitDesc::dump (  )  [virtual]


Member Data Documentation

const char *const CompileUnitDesc::AnchorString = "llvm.dbg.compile_units" [static]

getAnchorString - Return a string used to label this descriptor's anchor.

Definition at line 271 of file MachineModuleInfo.h.

Referenced by getAnchorString(), and llvm::AnchorDesc::getDescString().


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.