llvm::DISubprogram Class Reference

DISubprogram - This is a wrapper for a subprogram (e.g. a function). More...

#include <DebugInfo.h>

Inheritance diagram for llvm::DISubprogram:

llvm::DIScope llvm::DIDescriptor

List of all members.

Public Member Functions

 DISubprogram (MDNode *N=0)
DIScope getContext () const
StringRef getName () const
StringRef getDisplayName () const
StringRef getLinkageName () const
DICompileUnit getCompileUnit () const
unsigned getLineNumber () const
DICompositeType getType () const
StringRef getReturnTypeName () const
unsigned isLocalToUnit () const
unsigned isDefinition () const
unsigned getVirtuality () const
unsigned getVirtualIndex () const
DICompositeType getContainingType () const
unsigned isArtificial () const
StringRef getFilename () const
StringRef getDirectory () const
bool Verify () const
 Verify - Verify that a subprogram descriptor is well formed.
void dump () const
 dump - print subprogram.
bool describes (const Function *F)


Detailed Description

DISubprogram - This is a wrapper for a subprogram (e.g. a function).

Member Function Documentation

bool llvm::DISubprogram::describes ( const Function *  F  ) 

describes - Return true if this subprogram provides debugging information for the function F.

StringRef llvm::DISubprogram::getReturnTypeName (  )  const [inline]

getReturnTypeName - Subprogram return types are encoded either as DIType or as DICompositeType.

unsigned llvm::DISubprogram::isLocalToUnit (  )  const [inline]

isLocalToUnit - Return true if this subprogram is local to the current compile unit, like 'static' in C.


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

Generated on Fri Mar 19 01:41:23 2010 by  doxygen 1.5.8