Use getReturnTypeName() to print return type.

llvm-svn: 74017
This commit is contained in:
Devang Patel 2009-06-23 22:23:13 +00:00
parent de11f1efb0
commit 4d3a423dcd
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ void PrintDbgInfo::printFuncStart(const DbgFuncStartInst *FS) {
DISubprogram Subprogram(cast<GlobalVariable>(FS->getSubprogram()));
std::string Res1, Res2;
Out << "; fully qualified function name: " << Subprogram.getDisplayName(Res1)
<< " return type: " << Subprogram.getType().getName(Res2)
<< " return type: " << Subprogram.getReturnTypeName(Res2)
<< " at line " << Subprogram.getLineNumber()
<< "\n\n";
}