mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Print function notes.
llvm-svn: 55647
This commit is contained in:
parent
f06ad159e9
commit
4b52a398c3
@ -1395,7 +1395,15 @@ void AssemblyWriter::printFunction(const Function *F) {
|
||||
Out << " align " << F->getAlignment();
|
||||
if (F->hasGC())
|
||||
Out << " gc \"" << F->getGC() << '"';
|
||||
|
||||
FunctionNotes FNotes = F->getNotes();
|
||||
if (FNotes != FP_None) {
|
||||
Out << " notes(";
|
||||
if (FNotes && FP_AlwaysInline)
|
||||
Out << "inline=always";
|
||||
else if (FNotes && FP_NoInline)
|
||||
Out << "inline=never";
|
||||
Out << ")";
|
||||
}
|
||||
if (F->isDeclaration()) {
|
||||
Out << "\n";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user