mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00:00
Use getReturnTypeName() to print return type.
llvm-svn: 74017
This commit is contained in:
parent
13317bfc64
commit
72bc2b09af
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user