[llvm] 1613f8b - NFC (build fix): Add header for llvm::errs().

Mitch Phillips via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 21 16:24:44 PST 2022


Author: Mitch Phillips
Date: 2022-01-21T16:22:29-08:00
New Revision: 1613f8b8d7d5fc155e1a0ce2f88c4be6b115936e

URL: https://github.com/llvm/llvm-project/commit/1613f8b8d7d5fc155e1a0ce2f88c4be6b115936e
DIFF: https://github.com/llvm/llvm-project/commit/1613f8b8d7d5fc155e1a0ce2f88c4be6b115936e.diff

LOG: NFC (build fix): Add header for llvm::errs().

Looks like e9211e039377 unfortunately broke the sanitizer build bots,
because those bots compile the symbolizer with DLLVM_ENABLE_THREADS=Off.
Likely, before the patch, this header was transitively included.

Added: 
    

Modified: 
    llvm/lib/Support/ThreadPool.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/ThreadPool.cpp b/llvm/lib/Support/ThreadPool.cpp
index bf2584950c4ac..6eec368e626ff 100644
--- a/llvm/lib/Support/ThreadPool.cpp
+++ b/llvm/lib/Support/ThreadPool.cpp
@@ -14,6 +14,7 @@
 
 #include "llvm/Config/llvm-config.h"
 #include "llvm/Support/Threading.h"
+#include "llvm/Support/raw_ostream.h"
 
 using namespace llvm;
 


        


More information about the llvm-commits mailing list