mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Print the name last.
llvm-svn: 159879
This commit is contained in:
parent
a9d216beac
commit
03654fab29
@ -1081,12 +1081,7 @@ void DICompositeType::printInternal(raw_ostream &OS) const {
|
||||
}
|
||||
|
||||
void DISubprogram::printInternal(raw_ostream &OS) const {
|
||||
StringRef Res = getName();
|
||||
if (!Res.empty())
|
||||
OS << " [" << Res << ']';
|
||||
|
||||
// TODO : Print context
|
||||
|
||||
OS << " [line " << getLineNumber() << ']';
|
||||
|
||||
if (isLocalToUnit())
|
||||
@ -1097,6 +1092,10 @@ void DISubprogram::printInternal(raw_ostream &OS) const {
|
||||
|
||||
if (getScopeLineNumber() != getLineNumber())
|
||||
OS << " [scope " << getScopeLineNumber() << "]";
|
||||
|
||||
StringRef Res = getName();
|
||||
if (!Res.empty())
|
||||
OS << " [" << Res << ']';
|
||||
}
|
||||
|
||||
void DIGlobalVariable::printInternal(raw_ostream &OS) const {
|
||||
|
Loading…
Reference in New Issue
Block a user