diff options
author | Devang Patel <dpatel@apple.com> | 2009-06-23 22:23:13 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-06-23 22:23:13 +0000 |
commit | 4d3a423dcd97bdb362682f58e79132c44996bf9f (patch) | |
tree | db9aa60e28b50165575d3122b2448ff643d4364d /llvm/lib/Analysis/DbgInfoPrinter.cpp | |
parent | de11f1efb00aa5aa7feaad69b1a1215934233600 (diff) | |
download | bcm5719-llvm-4d3a423dcd97bdb362682f58e79132c44996bf9f.tar.gz bcm5719-llvm-4d3a423dcd97bdb362682f58e79132c44996bf9f.zip |
Use getReturnTypeName() to print return type.
llvm-svn: 74017
Diffstat (limited to 'llvm/lib/Analysis/DbgInfoPrinter.cpp')
-rw-r--r-- | llvm/lib/Analysis/DbgInfoPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DbgInfoPrinter.cpp b/llvm/lib/Analysis/DbgInfoPrinter.cpp index d80d5811e09..6c549e6345e 100644 --- a/llvm/lib/Analysis/DbgInfoPrinter.cpp +++ b/llvm/lib/Analysis/DbgInfoPrinter.cpp @@ -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"; } |