diff options
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
| -rw-r--r-- | lld/ELF/OutputSections.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 7998d89367e..9eff851c7e3 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -568,8 +568,8 @@ static bool canMergeToProgbits(unsigned Type) { template <class ELFT> static void reportDiscarded(InputSectionBase<ELFT> *IS) { if (!Config->PrintGcSections) return; - errs() << "removing unused section from '" << IS->Name << "' in file '" - << IS->getFile()->getName() << "'\n"; + message("removing unused section from '" + IS->Name + "' in file '" + + IS->getFile()->getName()); } template <class ELFT> |

