diff --git a/lib/Linker/Linker.cpp b/lib/Linker/Linker.cpp index 3d24804fbd0..32aa0f90112 100644 --- a/lib/Linker/Linker.cpp +++ b/lib/Linker/Linker.cpp @@ -15,7 +15,6 @@ #include "llvm/Module.h" #include "llvm/Bitcode/ReaderWriter.h" #include "llvm/System/Path.h" -#include "llvm/Support/Debug.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Config/config.h" @@ -61,7 +60,7 @@ Linker::warning(StringRef message) { void Linker::verbose(StringRef message) { if (Flags&Verbose) - dbgs() << " " << message << "\n"; + errs() << " " << message << "\n"; } void