LLVM API Documentation
#include <DebugInfo.h>
Public Member Functions | |
| DISubprogram (GlobalVariable *GV=0) | |
| DICompositeType | getType () const |
| const std::string & | getReturnTypeName (std::string &F) const |
| bool | Verify () const |
| Verify - Verify that a subprogram descriptor is well formed. | |
| void | dump () const |
| dump - print subprogram. | |
| bool | describes (const Function *F) |
Definition at line 336 of file DebugInfo.h.
| llvm::DISubprogram::DISubprogram | ( | GlobalVariable * | GV = 0 |
) | [inline, explicit] |
Definition at line 338 of file DebugInfo.h.
| DICompositeType llvm::DISubprogram::getType | ( | ) | const [inline] |
Reimplemented from llvm::DIGlobal.
Definition at line 341 of file DebugInfo.h.
Referenced by Verify().
| const std::string& llvm::DISubprogram::getReturnTypeName | ( | std::string & | F | ) | const [inline] |
getReturnTypeName - Subprogram return types are encoded either as DIType or as DICompositeType.
Definition at line 345 of file DebugInfo.h.
References A, llvm::DIArray::getElement(), llvm::DIDescriptor::getGV(), llvm::DIType::getName(), llvm::DICompositeType::getTypeArray(), llvm::DIDescriptor::isNull(), and T.
| bool DISubprogram::Verify | ( | ) | const |
Verify - Verify that a subprogram descriptor is well formed.
Definition at line 260 of file DebugInfo.cpp.
References llvm::DIGlobal::getCompileUnit(), llvm::DIGlobal::getContext(), getType(), llvm::DIDescriptor::isNull(), Ty, llvm::DICompositeType::Verify(), and llvm::DICompileUnit::Verify().
| void DISubprogram::dump | ( | ) | const |
dump - print subprogram.
dump - Print subprogram.
Reimplemented from llvm::DIGlobal.
Definition at line 444 of file DebugInfo.cpp.
References llvm::dump().
describes - Return true if this subprogram provides debugging information for the function F.
describes - Return true if this subprogram provides debugging information for the function F.
Definition at line 327 of file DebugInfo.cpp.
References llvm::DIGlobal::getLinkageName(), llvm::DIGlobal::getName(), llvm::Value::getName(), and Name.
Referenced by findFnRegionEndMarker(), llvm::isInlinedFnEnd(), and llvm::isInlinedFnStart().