LLVM API Documentation

llvm::CompileUnitDesc Class Reference

#include <MachineDebugInfo.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 * AnchorString

Detailed Description

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

Definition at line 226 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

CompileUnitDesc::CompileUnitDesc (  ) 

Definition at line 610 of file MachineDebugInfo.cpp.


Member Function Documentation

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

Definition at line 238 of file MachineDebugInfo.h.

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

Definition at line 239 of file MachineDebugInfo.h.

Referenced by llvm::MachineDebugInfo::RecordSource(), and llvm::SelectionDAGLowering::visitIntrinsicCall().

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

Definition at line 240 of file MachineDebugInfo.h.

Referenced by llvm::MachineDebugInfo::RecordSource(), and llvm::SelectionDAGLowering::visitIntrinsicCall().

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

Definition at line 241 of file MachineDebugInfo.h.

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

Definition at line 242 of file MachineDebugInfo.h.

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

Definition at line 243 of file MachineDebugInfo.h.

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

Definition at line 244 of file MachineDebugInfo.h.

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

Definition at line 245 of file MachineDebugInfo.h.

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

Definition at line 250 of file MachineDebugInfo.h.

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

Reimplemented from llvm::DebugInfoDesc.

Definition at line 619 of file MachineDebugInfo.cpp.

References D, and llvm::dwarf::DW_TAG_compile_unit.

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

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

Reimplemented from llvm::AnchoredDesc.

Definition at line 625 of file MachineDebugInfo.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 642 of file MachineDebugInfo.cpp.

Referenced by dump().

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

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

Implements llvm::DebugInfoDesc.

Definition at line 648 of file MachineDebugInfo.cpp.

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

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

Implements llvm::AnchoredDesc.

Definition at line 655 of file MachineDebugInfo.cpp.

References AnchorString.

void CompileUnitDesc::dump (  )  [virtual]

Implements llvm::DebugInfoDesc.

Definition at line 660 of file MachineDebugInfo.cpp.

References llvm::AnchoredDesc::getAnchor(), getDescString(), llvm::DebugInfoDesc::getTag(), and llvm::DebugInfoDesc::getVersion().


Member Data Documentation

const char * CompileUnitDesc::AnchorString [static]

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

Definition at line 267 of file MachineDebugInfo.h.

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


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