diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-02 18:30:45 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-02 18:30:45 +0000 |
| commit | 570918821a8492048e6ab54955c9864bd6c3e952 (patch) | |
| tree | f9d0d3f3478c298aaf51987483bbbbefe8e6631b /lib/AST/TypePrinter.cpp | |
| parent | f0c55418e2b09eaab37c820d3756cc1b4584d084 (diff) | |
Notes
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
| -rw-r--r-- | lib/AST/TypePrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index 5268a2901ad99..2be14ab621230 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -750,6 +750,8 @@ void TypePrinter::printFunctionProtoAfter(const FunctionProtoType *T, if (Info.getRegParm()) OS << " __attribute__((regparm (" << Info.getRegParm() << ")))"; + if (Info.getNoCallerSavedRegs()) + OS << "__attribute__((no_caller_saved_registers))"; if (unsigned quals = T->getTypeQuals()) { OS << ' '; |
