summaryrefslogtreecommitdiff
path: root/bolt/lib/Core/ParallelUtilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bolt/lib/Core/ParallelUtilities.cpp')
-rw-r--r--bolt/lib/Core/ParallelUtilities.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/bolt/lib/Core/ParallelUtilities.cpp b/bolt/lib/Core/ParallelUtilities.cpp
index fb2b6dc7cd63..1a28bc4346ec 100644
--- a/bolt/lib/Core/ParallelUtilities.cpp
+++ b/bolt/lib/Core/ParallelUtilities.cpp
@@ -90,8 +90,9 @@ inline unsigned estimateTotalCost(const BinaryContext &BC,
// Switch to trivial scheduling if total estimated work is zero
if (TotalCost == 0) {
- outs() << "BOLT-WARNING: Running parallel work of 0 estimated cost, will "
- "switch to trivial scheduling.\n";
+ BC.outs()
+ << "BOLT-WARNING: Running parallel work of 0 estimated cost, will "
+ "switch to trivial scheduling.\n";
SchedPolicy = SP_TRIVIAL;
TotalCost = BC.getBinaryFunctions().size();