mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Print function notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55647 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d49808184f
commit
94bdae14ba
@ -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…
x
Reference in New Issue
Block a user