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 | d933803b5155ee8d5f50f3768ef3a9b764995c8d (patch) | |
tree | 2a7e9867e631d8f98ca349f35aa6f4bfe1c0af36 /lib/Analysis | |
parent | bd262cc4415969d56d3d1af6d27784c70ac47997 (diff) | |
download | external_llvm-d933803b5155ee8d5f50f3768ef3a9b764995c8d.zip external_llvm-d933803b5155ee8d5f50f3768ef3a9b764995c8d.tar.gz external_llvm-d933803b5155ee8d5f50f3768ef3a9b764995c8d.tar.bz2 |
Use getReturnTypeName() to print return type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/DbgInfoPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DbgInfoPrinter.cpp b/lib/Analysis/DbgInfoPrinter.cpp index d80d581..6c549e6 100644 --- a/lib/Analysis/DbgInfoPrinter.cpp +++ b/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"; } |